diff --git a/apps/app/components/core/theme/theme-switch.tsx b/apps/app/components/core/theme/theme-switch.tsx index e514255b0..8929015ee 100644 --- a/apps/app/components/core/theme/theme-switch.tsx +++ b/apps/app/components/core/theme/theme-switch.tsx @@ -80,9 +80,11 @@ export const ThemeSwitch: React.FC = ({ for (let i = 10; i <= 900; i >= 100 ? (i += 100) : (i += 10)) { document.documentElement.style.removeProperty(`--color-background-${i}`); document.documentElement.style.removeProperty(`--color-text-${i}`); + document.documentElement.style.removeProperty(`--color-border-${i}`); document.documentElement.style.removeProperty(`--color-primary-${i}`); document.documentElement.style.removeProperty(`--color-sidebar-background-${i}`); document.documentElement.style.removeProperty(`--color-sidebar-text-${i}`); + document.documentElement.style.removeProperty(`--color-sidebar-border-${i}`); } } setTheme(value);