diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-03-10 18:35:51 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-10 09:35:51 +0000 |
| commit | f797765b1dd8af364c7effca3ed6a7a3e3cb040a (patch) | |
| tree | 7be1e1cd0e40d8801e5768346196631a9d78d6ca /packages/frontend/src/theme.ts | |
| parent | enhance(frontend): add navbar transition animation (diff) | |
| download | misskey-f797765b1dd8af364c7effca3ed6a7a3e3cb040a.tar.gz misskey-f797765b1dd8af364c7effca3ed6a7a3e3cb040a.tar.bz2 misskey-f797765b1dd8af364c7effca3ed6a7a3e3cb040a.zip | |
enhance(frontend): テーマ設定で簡易プレビューを表示するように (#15643)
* enhance(frontend): テーマ設定で簡易プレビューを表示するように
* Update Changelog
* fix lint
* 🎨
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/theme.ts')
| -rw-r--r-- | packages/frontend/src/theme.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/theme.ts b/packages/frontend/src/theme.ts index ed2f1d3164..970d143b97 100644 --- a/packages/frontend/src/theme.ts +++ b/packages/frontend/src/theme.ts @@ -114,7 +114,7 @@ export function applyTheme(theme: Theme, persist = true) { globalEvents.emit('themeChanging'); } -function compile(theme: Theme): Record<string, string> { +export function compile(theme: Theme): Record<string, string> { function getColor(val: string): tinycolor.Instance { if (val[0] === '@') { // ref (prop) return getColor(theme.props[val.substring(1)]); |