From 4d3ff0e9c9aa18e810d2db3a95ebf5d3f13a5d68 Mon Sep 17 00:00:00 2001 From: sctanf <36978460+sctanf@users.noreply.github.com> Date: Sun, 7 Dec 2025 18:16:12 -0600 Subject: [PATCH 1/2] snep --- .../components/commons/icon/SimevrIcon.tsx | 47 +++++++++++++++++++ .../components/commons/icon/SlimeVRIcon.tsx | 35 ++++++++++++++ .../settings/pages/InterfaceSettings.tsx | 6 +++ gui/src/index.scss | 26 ++++++++++ gui/tailwind.config.ts | 6 +++ 5 files changed, 120 insertions(+) diff --git a/gui/src/components/commons/icon/SimevrIcon.tsx b/gui/src/components/commons/icon/SimevrIcon.tsx index 2203d5e34..eae5f1b0d 100644 --- a/gui/src/components/commons/icon/SimevrIcon.tsx +++ b/gui/src/components/commons/icon/SimevrIcon.tsx @@ -1,4 +1,51 @@ +import { useConfig } from '@/hooks/config'; + export function SlimeVRIcon({ drag }: { drag?: boolean }) { + const { config } = useConfig(); + if (config?.theme == 'snep') { + return ( + + + + + + + + ); + } return ( + + + + + + + + + ); + } return ( + diff --git a/gui/src/index.scss b/gui/src/index.scss index f9501135e..1da019682 100644 --- a/gui/src/index.scss +++ b/gui/src/index.scss @@ -317,6 +317,32 @@ body { --default-color: 255, 255, 255; } +:root[data-theme='snep'] { + --background-10: 255, 255, 255; + --background-20: 240, 222, 236; + --background-30: 210, 198, 203; + --background-40: 155, 140, 147; + --background-50: 97, 77, 86; + --background-60: 72, 54, 62; + --background-70: 55, 40, 47; + --background-80: 38, 27, 32; + --background-90: 0, 0, 0; + + --accent-background-10: 255, 204, 229; + --accent-background-20: 234, 115, 176; + --accent-background-30: 184, 70, 127; + --accent-background-40: 143, 54, 98; + --accent-background-50: 91, 27, 58; + + --success: 139, 223, 35; + --warning: 255, 187, 62; + --critical: 223, 54, 84; + --special: 230, 0, 230; + --window-icon-stroke: 234, 134, 185; + + --default-color: 255, 255, 255; +} + #root { height: 100%; } diff --git a/gui/tailwind.config.ts b/gui/tailwind.config.ts index 55433ec99..07004e88c 100644 --- a/gui/tailwind.config.ts +++ b/gui/tailwind.config.ts @@ -158,6 +158,11 @@ const colors = { 300: '#FFFFFF', 400: '#800080', }, + snep: { + 100: '#261B20', + 200: '#5B1B3A', + 300: '#FFCCE5', + }, }; const config = { @@ -289,6 +294,7 @@ const config = { light: `linear-gradient(135deg, ${colors['light-accent'][100]} 50%, ${colors['light-background'][700]} 50% 100%)`, 'trans-flag': `linear-gradient(135deg, ${colors['trans-blue'][800]} 40%, ${colors['trans-blue'][700]} 40% 70%, ${colors['trans-blue'][600]} 70% 100%)`, 'asexual-flag': `linear-gradient(135deg, ${colors['asexual'][100]} 30%, ${colors['asexual'][200]} 30% 50%, ${colors['asexual'][300]} 50% 70%, ${colors['asexual'][400]} 70% 100%)`, + 'snep': `linear-gradient(135deg, ${colors['snep'][100]} 40%, ${colors['snep'][200]} 40% 70%, ${colors['snep'][300]} 70% 100%)`, }, animation: { 'spin-ccw': 'spin-ccw 1s linear infinite', From 63cca6756e573534f73bf9de97357bdca2c2b622 Mon Sep 17 00:00:00 2001 From: sctanf <36978460+sctanf@users.noreply.github.com> Date: Wed, 10 Dec 2025 19:07:28 -0600 Subject: [PATCH 2/2] lint --- gui/src/components/commons/icon/SlimeVRIcon.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gui/src/components/commons/icon/SlimeVRIcon.tsx b/gui/src/components/commons/icon/SlimeVRIcon.tsx index 5049758c3..28d550671 100644 --- a/gui/src/components/commons/icon/SlimeVRIcon.tsx +++ b/gui/src/components/commons/icon/SlimeVRIcon.tsx @@ -13,23 +13,23 @@ export function SlimeVRIcon({ width = 28 }: { width?: number }) { viewBox="0 0 380 380" > - - + + + /> + /> + /> );