feat: option to follow the system-wide light/dark mode (#71)

This commit is contained in:
saica.go
2024-04-28 12:43:10 +08:00
committed by GitHub
parent 34af98edec
commit e8cbb7a829
15 changed files with 182 additions and 56 deletions

View File

@@ -22,6 +22,10 @@ enum I18nKey {
themeColor = 'themeColor',
lightMode = 'lightMode',
darkMode = 'darkMode',
systemMode = 'systemMode',
more = 'more',
author = 'author',

View File

@@ -25,6 +25,10 @@ export const en: Translation = {
[Key.themeColor]: 'Theme Color',
[Key.lightMode]: 'Light',
[Key.darkMode]: 'Dark',
[Key.systemMode]: 'System',
[Key.more]: 'More',
[Key.author]: 'Author',

View File

@@ -25,6 +25,10 @@ export const ja: Translation = {
[Key.themeColor]: 'テーマカラー',
[Key.lightMode]: 'ライト',
[Key.darkMode]: 'ダーク',
[Key.systemMode]: 'システム',
[Key.more]: 'もっと',
[Key.author]: '作者',

View File

@@ -25,6 +25,10 @@ export const zh_CN: Translation = {
[Key.themeColor]: '主题色',
[Key.lightMode]: '亮色',
[Key.darkMode]: '暗色',
[Key.systemMode]: '跟随系统',
[Key.more]: '更多',
[Key.author]: '作者',

View File

@@ -25,6 +25,10 @@ export const zh_TW: Translation = {
[Key.themeColor]: '主題色',
[Key.lightMode]: '亮色',
[Key.darkMode]: '暗色',
[Key.systemMode]: '跟隨系統',
[Key.more]: '更多',
[Key.author]: '作者',