blob: 47b6c2c02f36fbe74f26a92c2839d0fceea0073a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* general */
/* theme */
@mixin theme-variables($theme) {
@if $theme =='light' {
--primary-color: #FC9300;
--background-color: #131a21;
}
@else if $theme == 'dark' {
--primary-color: #FC9300;
--background-color: #131a21;
}
}
:root {
@include theme-variables('light');
}
[data-theme='dark'] {
@include theme-variables('dark');
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme='light']) {
@include theme-variables('dark');
}
}
/* header */
.home-title {
background-color: var(--primary-color);
color: var(--background-color);
padding: 0.12rem;
}
.nav-links {
text-decoration: underline;
}
|