fix(style): rework colors for light mode

Fixes WEB-23
This commit is contained in:
taskylizard 2024-08-08 15:25:52 +00:00
parent 586b45ffa6
commit c8ee065058
No known key found for this signature in database
GPG key ID: 1820131ED1A24120

View file

@ -1,9 +1,9 @@
:root { :root {
/* Colors: Brand */ /* Colors: Brand */
--vp-c-brand-1: theme('colors.swarm.400'); --vp-c-brand-1: theme('colors.swarm.500');
--vp-c-brand-2: theme('colors.swarm.500'); --vp-c-brand-2: theme('colors.swarm.600');
--vp-c-brand-3: theme('colors.swarm.700'); --vp-c-brand-3: theme('colors.swarm.800');
--vp-c-brand-soft: theme('colors.swarm.300'); --vp-c-brand-soft: theme('colors.swarm.400');
/* Colors: Button */ /* Colors: Button */
--vp-button-brand-bg: var(--vp-c-brand-1); --vp-button-brand-bg: var(--vp-c-brand-1);
@ -43,6 +43,12 @@
} }
.dark { .dark {
/* Colors: Brand */
--vp-c-brand-1: theme('colors.swarm.400');
--vp-c-brand-2: theme('colors.swarm.500');
--vp-c-brand-3: theme('colors.swarm.700');
--vp-c-brand-soft: theme('colors.swarm.300');
/* Colors: Background */ /* Colors: Background */
--vp-c-bg: rgb(26, 26, 26); --vp-c-bg: rgb(26, 26, 26);
--vp-c-bg-alt: rgb(23, 23, 23); --vp-c-bg-alt: rgb(23, 23, 23);
@ -90,6 +96,10 @@
} }
::selection { ::selection {
background-color: #5586a6;
}
.dark ::selection {
background-color: #0f2c47; background-color: #0f2c47;
} }