---
url: /api/platforms/canvas-theme-editor/src.md
---
[pantoken-root](../../../index.md) / canvas-theme-editor

# canvas-theme-editor

## Compatibility

Target: Canvas Theme Editor. Host compatibility has not yet been verified.

[Full compatibility matrix](../../../../compatibility)

Alpha

`@pantoken/canvas-theme-editor` — upload-ready `theme.css`/`theme.js` for Canvas LMS's Theme
Editor, pre-wired to pantoken's CDN-hosted CSS. Consumed by `@pantoken/scaffold`'s
`canvas-theme-editor` platform; also usable standalone.

`THEME_CSS`/`THEME_JS` are the jsDelivr-default, unpinned output — use [buildTheme](functions/buildTheme.md) to
target a different CDN provider, pin a version, or swap in other pantoken/third-party assets.

## Interfaces

* [ThemeStrings](interfaces/ThemeStrings.md)
* [BuildThemeOptions](interfaces/BuildThemeOptions.md)
* [CdnFile](interfaces/CdnFile.md)
* [CdnProvider](interfaces/CdnProvider.md)

## Type Aliases

* [ThemeVariant](type-aliases/ThemeVariant.md)
* [ThemeMode](type-aliases/ThemeMode.md)

## Variables

* [THEME_CSS](variables/THEME_CSS.md)
* [THEME_JS](variables/THEME_JS.md)
* [ENGLISH_THEME_STRINGS](variables/ENGLISH_THEME_STRINGS.md)
* [DEFAULT_THEME_CSS_ASSETS](variables/DEFAULT_THEME_CSS_ASSETS.md)
* [DEFAULT_THEME_FONT_ASSETS](variables/DEFAULT_THEME_FONT_ASSETS.md)
* [DEFAULT_THEME_JS_ASSETS](variables/DEFAULT_THEME_JS_ASSETS.md)
* [CDN_PROVIDERS](variables/CDN_PROVIDERS.md)
* [DEFAULT_CDN_PROVIDER_ID](variables/DEFAULT_CDN_PROVIDER_ID.md)

## Functions

* [defaultThemeCssAssets](functions/defaultThemeCssAssets.md)
* [buildThemeCss](functions/buildThemeCss.md)
* [buildThemeJs](functions/buildThemeJs.md)
* [buildTheme](functions/buildTheme.md)
