summaryrefslogtreecommitdiff
path: root/src/client/scripts/theme.ts
diff options
context:
space:
mode:
authorXeltica <7106976+Xeltica@users.noreply.github.com>2020-07-11 12:12:35 +0900
committerGitHub <noreply@github.com>2020-07-11 12:12:35 +0900
commit80bebea9e624d469690498f1204e704f4ad862ae (patch)
tree2d3af2f8473817b236353f4ec5251174c4795501 /src/client/scripts/theme.ts
parentDeck (#6504) (diff)
downloadsharkey-80bebea9e624d469690498f1204e704f4ad862ae.tar.gz
sharkey-80bebea9e624d469690498f1204e704f4ad862ae.tar.bz2
sharkey-80bebea9e624d469690498f1204e704f4ad862ae.zip
テーマエディターの実装 (#6482)
* テーマ機能の実装 * resolve #6478 * 定数を削除できるように * 変更を破棄するか確認ダイアログを表示するように * fix code * Update theme.ts * :v: * fix path * wip * wip * wip Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Diffstat (limited to 'src/client/scripts/theme.ts')
-rw-r--r--src/client/scripts/theme.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/scripts/theme.ts b/src/client/scripts/theme.ts
index d458df45f0..30eaf77e01 100644
--- a/src/client/scripts/theme.ts
+++ b/src/client/scripts/theme.ts
@@ -12,6 +12,8 @@ export type Theme = {
export const lightTheme: Theme = require('../themes/_light.json5');
export const darkTheme: Theme = require('../themes/_dark.json5');
+export const themeProps = Object.keys(lightTheme.props).filter(key => !key.startsWith('X'));
+
export const builtinThemes = [
require('../themes/white.json5'),
require('../themes/black.json5'),