From 5391bc256d412a143c70c862939e49835ff03b2f Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:29:03 +0100 Subject: [PATCH] Add "ying & yang" theme --- public/locales/en.json | 3 ++- src/modules/theme/Themes.ts | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/public/locales/en.json b/public/locales/en.json index b335f7c6..90f2ecec 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -1072,7 +1072,8 @@ "orange_juice": "Orange Juice", "rosegold": "Rosegold", "tree_frog_green": "Tree Frog Green", - "veronica": "Veronica" + "veronica": "Veronica", + "ying_and_yang": "Ying & Yang" }, "title": "Theme" }, diff --git a/src/modules/theme/Themes.ts b/src/modules/theme/Themes.ts index 8b84fea5..3714793b 100644 --- a/src/modules/theme/Themes.ts +++ b/src/modules/theme/Themes.ts @@ -380,4 +380,32 @@ export const themes = { }, }, }, + 'ying and yang': { + isCustom: false, + getName: () => translate('settings.appearance.theme.themes.ying_and_yang'), + muiTheme: { + colorSchemes: { + light: { + palette: { + primary: { + main: '#000', + }, + secondary: { + main: '#fff', + }, + }, + }, + dark: { + palette: { + primary: { + main: '#fff', + }, + secondary: { + main: '#000', + }, + }, + }, + }, + }, + }, } as const satisfies Record;