|
1 | 1 | .link { |
2 | | - --shadow: 0 2px 3px hsla(51, 50%, 44%, .35); |
| 2 | + --shadow: 0 2px 3px light-dark(hsla(51, 50%, 44%, .35), #232321); |
3 | 3 |
|
4 | 4 | display: flex; |
5 | 5 | align-items: center; |
6 | 6 | width: 100%; |
7 | 7 | height: var(--space-2xl); |
8 | 8 | padding: 0 var(--space-s); |
9 | | - background-color: white; |
10 | | - color: #525252; |
| 9 | + background-color: light-dark(white, #141413); |
| 10 | + color: light-dark(#525252, #f9f7ec); |
11 | 11 | text-decoration: none; |
12 | 12 | border-radius: var(--space-3xs); |
13 | 13 | box-shadow: var(--shadow); |
|
19 | 19 | } |
20 | 20 |
|
21 | 21 | &:hover, &:focus-visible { |
22 | | - color: #525252; |
23 | | - background-color: hsl(58deg 72% 97%); |
| 22 | + color: light-dark(#525252, #f9f7ec); |
| 23 | + background-color: light-dark(hsl(58deg 72% 97%), hsl(204, 3%, 11%)); |
24 | 24 | transition: background-color var(--transition-instant); |
25 | 25 | } |
26 | 26 |
|
|
48 | 48 | .subtitle { |
49 | 49 | margin-top: var(--space-3xs); |
50 | 50 | font-size: 13px; |
51 | | - color: rgb(118, 131, 138); |
| 51 | + color: light-dark(rgb(118, 131, 138), #cccac2); |
52 | 52 | } |
53 | 53 |
|
54 | 54 | .right { |
55 | 55 | flex-shrink: 0; |
56 | 56 | height: var(--space-s); |
57 | 57 | width: auto; |
58 | 58 | margin-left: var(--space-xs); |
59 | | - color: rgb(118, 131, 138); |
| 59 | + color: light-dark(rgb(118, 131, 138), #cccac2); |
60 | 60 | } |
0 commit comments