|
|
|
|
@@ -1,66 +1,65 @@
|
|
|
|
|
html {
|
|
|
|
|
--main-scroll: hsl(0, 0%, 33%);
|
|
|
|
|
:root {
|
|
|
|
|
--main-scroll: theme('colors.grayscale.300');
|
|
|
|
|
--panels-scroll: hsl(180, 2%, 17%);
|
|
|
|
|
--tag-background: hsl(210, 100%, 38%);
|
|
|
|
|
--tag-text: hsl(0, 0%, 100%);
|
|
|
|
|
--toast-background: hsla(0, 0%, 0%, 0.867);
|
|
|
|
|
--toast-secondary: hsla(0, 0%, 100%, 0.133);
|
|
|
|
|
--toast-text: hsla(0, 0%, 100%, 0.871);
|
|
|
|
|
--separator: hsl(0, 0%, 50%);
|
|
|
|
|
--tag-text: theme('colors.white');
|
|
|
|
|
--toast-background: hsla(0, 0%, 0%, 0.85);
|
|
|
|
|
--toast-secondary: hsla(0, 0%, 100%, 0.15);
|
|
|
|
|
--toast-text: hsla(0, 0%, 100%, 0.85);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html[data-theme='light'] {
|
|
|
|
|
--main-background: hsl(0, 0%, 100%);
|
|
|
|
|
--secondary-background: hsl(0, 0%, 93%);
|
|
|
|
|
--foreground: hsl(0, 0%, 20%);
|
|
|
|
|
--foreground-inverted: hsl(0, 0%, 93%);
|
|
|
|
|
:root[data-theme='light'] {
|
|
|
|
|
--main-background: theme('colors.white');
|
|
|
|
|
--secondary-background: theme('colors.grayscale.930');
|
|
|
|
|
--foreground: theme('colors.grayscale.200');
|
|
|
|
|
--foreground-inverted: theme('colors.grayscale.930');
|
|
|
|
|
--accent-color: hsl(210, 100%, 52%);
|
|
|
|
|
--secondary-color: hsl(46, 100%, 57%);
|
|
|
|
|
--panels-background: hsl(210, 3%, 14%);
|
|
|
|
|
--panels-text: hsl(0, 0%, 100%);
|
|
|
|
|
--accent-text: hsl(0, 0%, 0%);
|
|
|
|
|
--panels-text: theme('colors.white');
|
|
|
|
|
--accent-text: theme('colors.black');
|
|
|
|
|
|
|
|
|
|
--sidebar-link-bg: hsl(0, 0%, 24%);
|
|
|
|
|
--sidebar-link-bg: theme('colors.grayscale.240');
|
|
|
|
|
--sidebar-link-bg-20: hsla(0, 0%, 24%, 0.2);
|
|
|
|
|
|
|
|
|
|
--icon-hover: var(--accent-color);
|
|
|
|
|
|
|
|
|
|
--table-bg: hsl(0, 0%, 100%);
|
|
|
|
|
--table-zebra: hsl(0, 0%, 90%);
|
|
|
|
|
--table-highlight: hsl(0, 0%, 84%);
|
|
|
|
|
--table-bg: theme('colors.white');
|
|
|
|
|
--table-zebra: theme('colors.grayscale.900');
|
|
|
|
|
--table-highlight: theme('colors.grayscale.840');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html[data-theme='dark'] {
|
|
|
|
|
--main-background: hsl(0, 0%, 8%);
|
|
|
|
|
--secondary-background: hsl(0, 0%, 14%);
|
|
|
|
|
--foreground: hsl(0, 0%, 93%);
|
|
|
|
|
--foreground-inverted: hsl(0, 0%, 20%);
|
|
|
|
|
:root[data-theme='dark'] {
|
|
|
|
|
--main-background: theme('colors.grayscale.80');
|
|
|
|
|
--secondary-background: theme('colors.grayscale.140');
|
|
|
|
|
--foreground: theme('colors.grayscale.930');
|
|
|
|
|
--foreground-inverted: theme('colors.grayscale.200');
|
|
|
|
|
--accent-color: hsl(210, 100%, 52%);
|
|
|
|
|
--secondary-color: hsl(46, 100%, 57%);
|
|
|
|
|
--panels-background: hsl(0, 0%, 10%);
|
|
|
|
|
--panels-text: hsl(0, 0%, 100%);
|
|
|
|
|
--accent-text: hsl(0, 0%, 87%);
|
|
|
|
|
--panels-background: theme('colors.grayscale.100');
|
|
|
|
|
--panels-text: theme('colors.white');
|
|
|
|
|
--accent-text: theme('colors.grayscale.870');
|
|
|
|
|
|
|
|
|
|
--sidebar-link-bg: hsl(0, 0%, 24%);
|
|
|
|
|
--sidebar-link-bg: theme('colors.grayscale.240');
|
|
|
|
|
--sidebar-link-bg-20: hsla(0, 0%, 24%, 0.2);
|
|
|
|
|
|
|
|
|
|
--icon-hover: var(--accent-color);
|
|
|
|
|
|
|
|
|
|
--table-bg: hsl(0, 0%, 8%);
|
|
|
|
|
--table-zebra: hsl(0, 0%, 14%);
|
|
|
|
|
--table-highlight: hsl(0, 0%, 20%);
|
|
|
|
|
--table-bg: theme('colors.grayscale.80');
|
|
|
|
|
--table-zebra: theme('colors.grayscale.140');
|
|
|
|
|
--table-highlight: theme('colors.grayscale.200');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html[data-theme='purple'] {
|
|
|
|
|
:root[data-theme='purple'] {
|
|
|
|
|
--main-background: hsl(261, 74%, 6%);
|
|
|
|
|
--secondary-background: hsl(257, 61%, 10%);
|
|
|
|
|
--foreground: hsl(0, 0%, 93%);
|
|
|
|
|
--foreground: theme('colors.grayscale.930');
|
|
|
|
|
--foreground-inverted: hsl(258, 62%, 8%);
|
|
|
|
|
--accent-color: hsl(261, 85%, 37%);
|
|
|
|
|
--secondary-color: hsl(46, 100%, 57%);
|
|
|
|
|
--panels-background: hsl(257, 70%, 9%);
|
|
|
|
|
--panels-text: hsl(0, 0%, 100%);
|
|
|
|
|
--accent-text: hsl(0, 0%, 87%);
|
|
|
|
|
--panels-text: theme('colors.white');
|
|
|
|
|
--accent-text: theme('colors.grayscale.870');
|
|
|
|
|
|
|
|
|
|
--sidebar-link-bg: hsl(257, 70%, 17%);
|
|
|
|
|
--sidebar-link-bg-20: hsla(257, 70%, 17%, 0.2);
|
|
|
|
|
@@ -71,17 +70,3 @@ html[data-theme='purple'] {
|
|
|
|
|
--table-zebra: hsl(257, 61%, 10%);
|
|
|
|
|
--table-highlight: hsl(257, 66%, 27%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
font-family: 'Open Sans', 'sans-serif';
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: var(--main-background);
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
}
|
|
|
|
|
|