|
33 | 33 | --radio-border-color: #8f8f9d;
|
34 | 34 | --radio-checked-border-color: #0060df;
|
35 | 35 |
|
36 |
| - --button-secondary-bg-color: #f0f0f4; |
| 36 | + --button-secondary-bg-color: rgb(21 20 26 / 0.07); |
37 | 37 | --button-secondary-fg-color: var(--text-primary-color);
|
38 | 38 | --button-secondary-border-color: var(--button-secondary-bg-color);
|
39 |
| - --button-secondary-hover-bg-color: var(--button-secondary-bg-color); |
| 39 | + --button-secondary-active-bg-color: rgb(21 20 26 / 0.21); |
| 40 | + --button-secondary-active-fg-color: var(--button-secondary-fg-color); |
| 41 | + --button-secondary-active-border-color: var(--button-secondary-bg-color); |
| 42 | + --button-secondary-hover-bg-color: rgb(21 20 26 / 0.14); |
40 | 43 | --button-secondary-hover-fg-color: var(--button-secondary-fg-color);
|
41 | 44 | --button-secondary-hover-border-color: var(--button-secondary-hover-bg-color);
|
42 | 45 |
|
43 | 46 | --button-primary-bg-color: #0060df;
|
44 | 47 | --button-primary-fg-color: #fbfbfe;
|
45 | 48 | --button-primary-border-color: var(--button-primary-bg-color);
|
46 |
| - --button-primary-hover-bg-color: var(--button-primary-bg-color); |
| 49 | + --button-primary-active-bg-color: #054096; |
| 50 | + --button-primary-active-fg-color: var(--button-primary-fg-color); |
| 51 | + --button-primary-active-border-color: var(--button-primary-active-bg-color); |
| 52 | + --button-primary-hover-bg-color: #0250bb; |
47 | 53 | --button-primary-hover-fg-color: var(--button-primary-fg-color);
|
48 | 54 | --button-primary-hover-border-color: var(--button-primary-hover-bg-color);
|
49 | 55 |
|
50 | 56 | --button-disabled-bg-color: color-mix(in srgb, currentcolor, transparent 60%);
|
51 | 57 | --button-disabled-fg-color: var(--button-disabled-bg-color);
|
52 | 58 |
|
| 59 | + --input-text-bg-color: white; |
| 60 | + --input-text-fg-color: var(--text-primary-color); |
| 61 | + |
53 | 62 | @media (prefers-color-scheme: dark) {
|
54 | 63 | --dialog-bg-color: #1c1b22;
|
55 | 64 | --dialog-border-color: #1c1b22;
|
|
67 | 76 | --radio-checked-bg-color: #15141a;
|
68 | 77 | --radio-checked-border-color: #0df;
|
69 | 78 |
|
70 |
| - --button-secondary-bg-color: #2b2a33; |
| 79 | + --button-secondary-bg-color: rgb(251 251 254 / 0.07); |
| 80 | + --button-secondary-active-bg-color: rgb(251 251 254 / 0.21); |
| 81 | + --button-secondary-hover-bg-color: rgb(251 251 254 / 0.14); |
71 | 82 | --button-primary-bg-color: #0df;
|
72 | 83 | --button-primary-fg-color: #15141a;
|
| 84 | + --button-primary-active-bg-color: #aaf2ff; |
| 85 | + --button-primary-hover-bg-color: #80ebff; |
| 86 | + |
| 87 | + --input-text-bg-color: #42414d; |
73 | 88 | }
|
74 | 89 |
|
75 | 90 | @media screen and (forced-colors: active) {
|
|
92 | 107 | --radio-border-color: ButtonText;
|
93 | 108 | --radio-checked-border-color: ButtonText;
|
94 | 109 |
|
95 |
| - --button-secondary-bg-color: ButtonFace; |
| 110 | + --button-secondary-bg-color: HighlightText; |
96 | 111 | --button-secondary-fg-color: ButtonText;
|
97 | 112 | --button-secondary-border-color: ButtonText;
|
98 |
| - --button-secondary-hover-bg-color: AccentColor; |
99 |
| - --button-secondary-hover-fg-color: AccentColorText; |
| 113 | + --button-secondary-active-bg-color: HighlightText; |
| 114 | + --button-secondary-active-fg-color: SelectedItem; |
| 115 | + --button-secondary-active-border-color: ButtonText; |
| 116 | + --button-secondary-hover-bg-color: HighlightText; |
| 117 | + --button-secondary-hover-fg-color: SelectedItem; |
| 118 | + --button-secondary-hover-border-color: SelectedItem; |
100 | 119 |
|
101 | 120 | --button-primary-bg-color: ButtonText;
|
102 |
| - --button-primary-fg-color: ButtonFace; |
103 |
| - --button-primary-hover-bg-color: AccentColor; |
104 |
| - --button-primary-hover-fg-color: AccentColorText; |
| 121 | + --button-primary-fg-color: HighlightText; |
| 122 | + --button-primary-border-color: ButtonText; |
| 123 | + --button-primary-active-bg-color: SelectedItem; |
| 124 | + --button-primary-active-fg-color: HighlightText; |
| 125 | + --button-primary-active-border-color: ButtonText; |
| 126 | + --button-primary-hover-bg-color: SelectedItem; |
| 127 | + --button-primary-hover-fg-color: HighlightText; |
| 128 | + --button-primary-hover-border-color: SelectedItem; |
105 | 129 |
|
106 | 130 | --button-disabled-bg-color: GrayText;
|
107 | 131 | --button-disabled-fg-color: ButtonFace;
|
| 132 | + |
| 133 | + --input-text-bg-color: HighlightText; |
| 134 | + --input-text-fg-color: FieldText; |
108 | 135 | }
|
109 | 136 |
|
110 | 137 | font: message-box;
|
|
205 | 232 | border-radius: 4px;
|
206 | 233 | border: 1px solid;
|
207 | 234 | font: menu;
|
208 |
| - font-weight: 600; |
| 235 | + font-weight: 590; |
| 236 | + font-size: 13px; |
209 | 237 | padding: 4px 16px;
|
210 | 238 | width: auto;
|
211 | 239 | height: 32px;
|
|
217 | 245 |
|
218 | 246 | > span {
|
219 | 247 | color: inherit;
|
| 248 | + font: inherit; |
220 | 249 | }
|
221 | 250 |
|
222 | 251 | &.secondaryButton {
|
|
229 | 258 | background-color: var(--button-secondary-hover-bg-color);
|
230 | 259 | border-color: var(--button-secondary-hover-border-color);
|
231 | 260 | }
|
| 261 | + |
| 262 | + &:active { |
| 263 | + color: var(--button-secondary-active-fg-color); |
| 264 | + background-color: var(--button-secondary-active-bg-color); |
| 265 | + border-color: var(--button-secondary-active-border-color); |
| 266 | + } |
232 | 267 | }
|
233 | 268 |
|
234 | 269 | &.primaryButton {
|
|
242 | 277 | background-color: var(--button-primary-hover-bg-color);
|
243 | 278 | border-color: var(--button-primary-hover-border-color);
|
244 | 279 | }
|
| 280 | + |
| 281 | + &:active { |
| 282 | + color: var(--button-primary-active-fg-color); |
| 283 | + background-color: var(--button-primary-active-bg-color); |
| 284 | + border-color: var(--button-primary-active-border-color); |
| 285 | + } |
245 | 286 | }
|
246 | 287 |
|
247 | 288 | &:disabled {
|
|
282 | 323 | }
|
283 | 324 | }
|
284 | 325 |
|
| 326 | + input[type="text"] { |
| 327 | + background-color: var(--input-text-bg-color); |
| 328 | + color: var(--input-text-fg-color); |
| 329 | + } |
| 330 | + |
285 | 331 | .messageBar {
|
286 | 332 | --message-bar-bg-color: #ffebcd;
|
287 | 333 | --message-bar-fg-color: #15141a;
|
|
0 commit comments