summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/theme-editor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/scripts/theme-editor.ts')
-rw-r--r--packages/frontend/src/scripts/theme-editor.ts9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/frontend/src/scripts/theme-editor.ts b/packages/frontend/src/scripts/theme-editor.ts
index 001d87381c..275f4bcdaa 100644
--- a/packages/frontend/src/scripts/theme-editor.ts
+++ b/packages/frontend/src/scripts/theme-editor.ts
@@ -1,6 +1,11 @@
+/*
+ * SPDX-FileCopyrightText: syuilo and other misskey contributors
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+
import { v4 as uuid } from 'uuid';
-import { themeProps, Theme } from './theme';
+import { themeProps, Theme } from './theme.js';
export type Default = null;
export type Color = string;
@@ -76,6 +81,6 @@ export const convertToViewModel = (theme: Theme): ThemeViewModel => {
.filter(k => k.startsWith('$'))
.map(k => [k, fromThemeString(theme.props[k])] as [ string, ThemeValue ]);
- vm.push(...consts);
+ vm.push(...consts);
return vm;
};