diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 99c865e2b..f9cc57d37 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -288,6 +288,8 @@ common/views/components/media-banner.vue:
common/views/components/theme.vue:
light-theme: "非ダークモード時に使用するテーマ"
dark-theme: "ダークモード時に使用するテーマ"
+ light-themes: "明るいテーマ"
+ dark-themes: "暗いテーマ"
install-a-theme: "テーマのインストール"
theme-code: "テーマコード"
install: "インストール"
diff --git a/src/client/app/common/views/components/theme.vue b/src/client/app/common/views/components/theme.vue
index 4b0e6da24..9eda3c579 100644
--- a/src/client/app/common/views/components/theme.vue
+++ b/src/client/app/common/views/components/theme.vue
@@ -3,14 +3,24 @@
@@ -120,7 +130,15 @@ export default Vue.extend({
computed: {
themes(): Theme[] {
- return this.$store.state.device.themes.concat(builtinThemes);
+ return builtinThemes.concat(this.$store.state.device.themes);
+ },
+
+ darkThemes(): Theme[] {
+ return this.themes.filter(t => t.base == 'dark' || t.kind == 'dark');
+ },
+
+ lightThemes(): Theme[] {
+ return this.themes.filter(t => t.base == 'light' || t.kind == 'light');
},
installedThemes(): Theme[] {
diff --git a/src/client/theme/dark.json5 b/src/client/theme/dark.json5
index f993e5ef1..4fa38a3ae 100644
--- a/src/client/theme/dark.json5
+++ b/src/client/theme/dark.json5
@@ -4,6 +4,7 @@
name: 'Dark',
author: 'syuilo',
desc: 'Default dark theme',
+ kind: 'dark',
vars: {
primary: '#fb4e4e',
diff --git a/src/client/theme/light.json5 b/src/client/theme/light.json5
index db851b66c..9f17a63dd 100644
--- a/src/client/theme/light.json5
+++ b/src/client/theme/light.json5
@@ -4,6 +4,7 @@
name: 'Light',
author: 'syuilo',
desc: 'Default light theme',
+ kind: 'light',
vars: {
primary: '#fb4e4e',