1 | @import "../props.media.css";
|
2 |
|
3 | :where(
|
4 | [data-theme="light"],
|
5 | .light,
|
6 | .light-theme
|
7 | ) {
|
8 | color-scheme: light;
|
9 |
|
10 | --link: var(--indigo-7);
|
11 | --link-visited: var(--purple-7);
|
12 |
|
13 | --text-1: var(--gray-9);
|
14 | --text-2: var(--gray-7);
|
15 |
|
16 | --surface-1: var(--gray-0);
|
17 | --surface-2: var(--gray-2);
|
18 | --surface-3: var(--gray-3);
|
19 | --surface-4: var(--gray-4);
|
20 |
|
21 | --scrollthumb-color: var(--gray-7);
|
22 | --shadow-color: 220 3% 15%;
|
23 | --shadow-strength: 1%;
|
24 |
|
25 | @media (--HDcolor) {
|
26 | @supports (color: color(display-p3 0 0 0)) {
|
27 | --link: color(display-p3 .1 .4 1);
|
28 | --link-visited: color(display-p3 .6 .2 1);
|
29 | }
|
30 | }
|
31 |
|
32 | & :where(dialog) {
|
33 | background-color: var(--surface-1);
|
34 | }
|
35 |
|
36 | & :where(button) {
|
37 | --_highlight: var(--_highlight-light);
|
38 | --_bg: var(--_bg-light);
|
39 | --_ink-shadow: var(--_ink-shadow-light);
|
40 |
|
41 | &:where([type="reset"]) {
|
42 | --_text: var(--red-6);
|
43 | --_border: var(--red-3);
|
44 | }
|
45 | }
|
46 |
|
47 | & :where(button,input:is([type="button"],[type="submit"],[type="reset"]))[disabled] {
|
48 | --_text: var(--gray-6);
|
49 | }
|
50 |
|
51 | & :where(textarea, select, input:not([type="button"],[type="submit"],[type="reset"])) {
|
52 | background-color: var(--surface-2);
|
53 | }
|
54 | }
|