|
1 |
| -@import 'variables.css'; |
| 1 | +:root { |
| 2 | + --primary-color: hsl(230, 23%, 20%); |
| 3 | + --text-color: hsl(0, 8%, 97%); |
| 4 | + --secondary-text-color: hsl(214, 33%, 65%); |
| 5 | + --icon-width-large: 3rem; |
| 6 | + --icon-width-medium: 2.5rem; |
| 7 | + --icon-width-small: 1.5rem; |
| 8 | +} |
| 9 | + |
| 10 | +/* light mode */ |
| 11 | +:root[data-theme='light'] { |
| 12 | + --background-color: hsl(210, 36%, 96%); |
| 13 | + --active-color: hsl(228, 31%, 34%); |
| 14 | + --bar-color: hsla(230, 10%, 46%, 0.1); |
| 15 | + --color-button: hsl(230, 23%, 20%); |
| 16 | + --highlight-compare-color: hsla(27, 87%, 67%, 0.8); |
| 17 | + --highlight-active-color: hsla(11, 58%, 45%, 0.8); |
| 18 | + --highlight-pivot-color: hsla(248, 54%, 67%, 0.8); |
| 19 | +} |
| 20 | + |
| 21 | +/* dark mode */ |
| 22 | +:root[data-theme='dark'] { |
| 23 | + --background-color: hsl(230, 23%, 20%); |
| 24 | + --active-color: hsl(226, 31%, 34%); |
| 25 | + --bar-color: hsla(232, 10%, 46%, 0.3); |
| 26 | + --color-button: hsl(0, 8%, 97%); |
| 27 | + --highlight-compare-color: hsl(27, 87%, 67%); |
| 28 | + --highlight-active-color: hsl(11, 58%, 45%); |
| 29 | + --highlight-pivot-color: hsl(248, 54%, 67%); |
| 30 | +} |
| 31 | + |
2 | 32 | * {
|
3 | 33 | margin: 0;
|
4 | 34 | padding: 0;
|
|
0 commit comments