@ecopages/radiant-themes 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -17
- package/dist/compiled/themes/cloudflare/compact.css +56 -14
- package/dist/compiled/themes/cloudflare.css +56 -14
- package/dist/compiled/themes/github/compact.css +310 -65
- package/dist/compiled/themes/github.css +310 -65
- package/dist/compiled/themes/high-contrast/compact.css +108 -11
- package/dist/compiled/themes/high-contrast.css +108 -11
- package/dist/compiled/themes/macos/compact.css +698 -272
- package/dist/compiled/themes/macos-classic/compact.css +455 -16
- package/dist/compiled/themes/macos-classic.css +455 -16
- package/dist/compiled/themes/macos.css +698 -272
- package/dist/compiled/themes/material/compact.css +461 -136
- package/dist/compiled/themes/material.css +461 -136
- package/dist/compiled/themes/vercel/compact.css +118 -66
- package/dist/compiled/themes/vercel.css +118 -66
- package/dist/compiled/themes/vscode/compact.css +310 -40
- package/dist/compiled/themes/vscode.css +310 -40
- package/dist/compiled/themes/windows95/compact.css +408 -22
- package/dist/compiled/themes/windows95.css +408 -22
- package/dist/foundation.css +13 -0
- package/dist/tokens/colors/cloudflare.css +1 -1
- package/dist/tokens/colors/github.css +32 -0
- package/dist/tokens/colors/macos.css +65 -25
- package/dist/tokens/colors/material.css +61 -20
- package/dist/tokens/colors/vercel.css +43 -39
- package/dist/tokens/colors/vscode.css +48 -4
- package/dist/tokens/colors/windows95.css +10 -5
- package/dist/tokens/components/cloudflare.css +63 -7
- package/dist/tokens/components/github.css +287 -39
- package/dist/tokens/components/high-contrast.css +106 -11
- package/dist/tokens/components/macos-classic.css +549 -15
- package/dist/tokens/components/macos.css +555 -96
- package/dist/tokens/components/material.css +360 -29
- package/dist/tokens/components/vercel.css +83 -19
- package/dist/tokens/components/vscode.css +280 -27
- package/dist/tokens/components/windows95.css +470 -18
- package/dist/tokens/roles/cloudflare.css +1 -1
- package/dist/tokens/roles/github.css +12 -12
- package/dist/tokens/roles/macos.css +97 -93
- package/dist/tokens/roles/material.css +65 -65
- package/dist/tokens/roles/vercel.css +3 -3
- package/package.json +3 -3
|
@@ -1,33 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppKit system colors from macOS Sonoma and Sequoia: `windowBackgroundColor` for the canvas, `controlBackgroundColor`
|
|
3
|
+
* for content and fields, `labelColor` and `secondaryLabelColor` for text, `separatorColor`, the default
|
|
4
|
+
* `controlAccentColor`, and `selectedContentBackgroundColor` for selected rows and filled buttons.
|
|
5
|
+
*
|
|
6
|
+
* @remarks AppKit's translucent label colors are flattened onto their usual backgrounds. Status hues use Apple's
|
|
7
|
+
* increased-contrast variants (`#d70015`, `#248a3d`, `#b25000`) where the standard hue cannot carry text at 4.5:1.
|
|
8
|
+
*/
|
|
1
9
|
:where(:root), :root[data-rui-theme='macos'] {
|
|
2
|
-
--macos-canvas: #
|
|
10
|
+
--macos-canvas: #ececec;
|
|
3
11
|
--macos-surface: #ffffff;
|
|
4
|
-
--macos-subtle: #
|
|
5
|
-
--macos-
|
|
6
|
-
--macos-
|
|
7
|
-
--macos-
|
|
8
|
-
--macos-
|
|
9
|
-
--macos-
|
|
10
|
-
--macos-
|
|
11
|
-
--macos-
|
|
12
|
-
--macos-
|
|
13
|
-
--macos-
|
|
14
|
-
--macos-
|
|
12
|
+
--macos-subtle: #e3e3e3;
|
|
13
|
+
--macos-control: #ffffff;
|
|
14
|
+
--macos-control-pressed: #e5e5e5;
|
|
15
|
+
--macos-elevated: rgb(246 246 246 / 0.88);
|
|
16
|
+
--macos-elevated-solid: #f6f6f6;
|
|
17
|
+
--macos-elevated-edge: rgb(0 0 0 / 0.18);
|
|
18
|
+
--macos-elevated-highlight: rgb(255 255 255 / 0);
|
|
19
|
+
--macos-border: #8e8e93;
|
|
20
|
+
--macos-separator: #d9d9d9;
|
|
21
|
+
--macos-grid: #e6e6e6;
|
|
22
|
+
--macos-alternate-row: #f4f5f5;
|
|
23
|
+
--macos-text: #262626;
|
|
24
|
+
--macos-muted: #5e5e62;
|
|
25
|
+
--macos-accent: #007aff;
|
|
26
|
+
--macos-selection: #0063e1;
|
|
27
|
+
--macos-selection-text: #ffffff;
|
|
28
|
+
--macos-unemphasized-selection: #dcdcdc;
|
|
29
|
+
--macos-blue: #0063e1;
|
|
30
|
+
--macos-blue-light: #3b8cff;
|
|
31
|
+
--macos-green: #1e7b34;
|
|
32
|
+
--macos-red: #d70015;
|
|
33
|
+
--macos-amber: #9e4700;
|
|
34
|
+
--macos-purple: #8944ab;
|
|
35
|
+
--macos-control-shadow:
|
|
36
|
+
0 0 0 0.5px rgb(0 0 0 / 0.16), 0 0.5px 1px rgb(0 0 0 / 0.22), 0 1px 1.5px -0.5px rgb(0 0 0 / 0.1);
|
|
37
|
+
--macos-menu-shadow: 0 0 0 0.5px var(--macos-elevated-edge), 0 10px 30px rgb(0 0 0 / 0.2), 0 2px 6px rgb(0 0 0 / 0.1);
|
|
15
38
|
}
|
|
16
39
|
|
|
17
40
|
:where(.dark), :root.dark[data-rui-theme='macos'] {
|
|
18
|
-
--macos-canvas: #
|
|
19
|
-
--macos-surface: #
|
|
20
|
-
--macos-subtle: #
|
|
21
|
-
--macos-
|
|
22
|
-
--macos-
|
|
23
|
-
--macos-
|
|
24
|
-
--macos-
|
|
25
|
-
--macos-
|
|
26
|
-
--macos-
|
|
27
|
-
--macos-
|
|
28
|
-
--macos-
|
|
29
|
-
--macos-
|
|
30
|
-
--macos-
|
|
41
|
+
--macos-canvas: #323232;
|
|
42
|
+
--macos-surface: #1e1e1e;
|
|
43
|
+
--macos-subtle: #3d3d3d;
|
|
44
|
+
--macos-control: #5c5c5e;
|
|
45
|
+
--macos-control-pressed: #747476;
|
|
46
|
+
--macos-elevated: rgb(44 44 46 / 0.9);
|
|
47
|
+
--macos-elevated-solid: #2c2c2e;
|
|
48
|
+
--macos-elevated-edge: rgb(0 0 0 / 0.6);
|
|
49
|
+
--macos-elevated-highlight: rgb(255 255 255 / 0.14);
|
|
50
|
+
--macos-border: #767676;
|
|
51
|
+
--macos-separator: #484848;
|
|
52
|
+
--macos-grid: #3a3a3a;
|
|
53
|
+
--macos-alternate-row: #262626;
|
|
54
|
+
--macos-text: #dfdfdf;
|
|
55
|
+
--macos-muted: #a1a1a6;
|
|
56
|
+
--macos-accent: #0a84ff;
|
|
57
|
+
--macos-selection: #0058d0;
|
|
58
|
+
--macos-selection-text: #ffffff;
|
|
59
|
+
--macos-unemphasized-selection: #464646;
|
|
60
|
+
--macos-blue: #409cff;
|
|
61
|
+
--macos-blue-light: #70b4ff;
|
|
62
|
+
--macos-green: #30d158;
|
|
63
|
+
--macos-red: #ff6961;
|
|
64
|
+
--macos-amber: #ffd60a;
|
|
65
|
+
--macos-purple: #da8fff;
|
|
66
|
+
--macos-control-shadow:
|
|
67
|
+
inset 0 0.5px 0 rgb(255 255 255 / 0.18), 0 0 0 0.5px rgb(0 0 0 / 0.5), 0 0.5px 1px rgb(0 0 0 / 0.4);
|
|
68
|
+
--macos-menu-shadow:
|
|
69
|
+
inset 0 0 0 0.5px var(--macos-elevated-highlight), 0 0 0 0.5px var(--macos-elevated-edge),
|
|
70
|
+
0 10px 30px rgb(0 0 0 / 0.45);
|
|
31
71
|
}
|
|
32
72
|
|
|
33
73
|
@theme inline {
|
|
@@ -1,25 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Material 3 baseline scheme (source color #6750a4), light and dark.
|
|
3
|
+
*/
|
|
1
4
|
:where(:root), :root[data-rui-theme='material'] {
|
|
2
|
-
--material-primary:
|
|
3
|
-
--material-
|
|
4
|
-
--material-
|
|
5
|
-
--material-
|
|
6
|
-
--material-
|
|
7
|
-
--material-
|
|
8
|
-
--material-
|
|
9
|
-
--material-
|
|
10
|
-
--material-
|
|
11
|
-
--material-
|
|
5
|
+
--material-primary: #6750a4;
|
|
6
|
+
--material-on-primary: #ffffff;
|
|
7
|
+
--material-primary-container: #eaddff;
|
|
8
|
+
--material-on-primary-container: #4f378b;
|
|
9
|
+
--material-secondary: #625b71;
|
|
10
|
+
--material-on-secondary: #ffffff;
|
|
11
|
+
--material-secondary-container: #e8def8;
|
|
12
|
+
--material-on-secondary-container: #4a4458;
|
|
13
|
+
--material-tertiary: #7d5260;
|
|
14
|
+
--material-on-tertiary: #ffffff;
|
|
15
|
+
--material-tertiary-container: #ffd8e4;
|
|
16
|
+
--material-on-tertiary-container: #633b48;
|
|
17
|
+
--material-error: #b3261e;
|
|
18
|
+
--material-on-error: #ffffff;
|
|
19
|
+
--material-error-container: #f9dedc;
|
|
20
|
+
--material-on-error-container: #8c1d18;
|
|
21
|
+
--material-surface: #fef7ff;
|
|
22
|
+
--material-on-surface: #1d1b20;
|
|
23
|
+
--material-on-surface-variant: #49454f;
|
|
24
|
+
--material-surface-container-lowest: #ffffff;
|
|
25
|
+
--material-surface-container-low: #f7f2fa;
|
|
26
|
+
--material-surface-container: #f3edf7;
|
|
27
|
+
--material-surface-container-high: #ece6f0;
|
|
28
|
+
--material-surface-container-highest: #e6e0e9;
|
|
29
|
+
--material-inverse-surface: #322f35;
|
|
30
|
+
--material-inverse-on-surface: #f5eff7;
|
|
31
|
+
--material-inverse-primary: #d0bcff;
|
|
32
|
+
--material-outline: #79747e;
|
|
33
|
+
--material-outline-variant: #cac4d0;
|
|
12
34
|
}
|
|
13
35
|
|
|
14
36
|
:where(.dark), :root.dark[data-rui-theme='material'] {
|
|
15
|
-
--material-primary:
|
|
16
|
-
--material-
|
|
17
|
-
--material-
|
|
18
|
-
--material-
|
|
19
|
-
--material-
|
|
20
|
-
--material-
|
|
21
|
-
--material-
|
|
22
|
-
--material-
|
|
23
|
-
--material-
|
|
24
|
-
--material-
|
|
37
|
+
--material-primary: #d0bcff;
|
|
38
|
+
--material-on-primary: #381e72;
|
|
39
|
+
--material-primary-container: #4f378b;
|
|
40
|
+
--material-on-primary-container: #eaddff;
|
|
41
|
+
--material-secondary: #ccc2dc;
|
|
42
|
+
--material-on-secondary: #332d41;
|
|
43
|
+
--material-secondary-container: #4a4458;
|
|
44
|
+
--material-on-secondary-container: #e8def8;
|
|
45
|
+
--material-tertiary: #efb8c8;
|
|
46
|
+
--material-on-tertiary: #492532;
|
|
47
|
+
--material-tertiary-container: #633b48;
|
|
48
|
+
--material-on-tertiary-container: #ffd8e4;
|
|
49
|
+
--material-error: #f2b8b5;
|
|
50
|
+
--material-on-error: #601410;
|
|
51
|
+
--material-error-container: #8c1d18;
|
|
52
|
+
--material-on-error-container: #f9dedc;
|
|
53
|
+
--material-surface: #141218;
|
|
54
|
+
--material-on-surface: #e6e0e9;
|
|
55
|
+
--material-on-surface-variant: #cac4d0;
|
|
56
|
+
--material-surface-container-lowest: #0f0d13;
|
|
57
|
+
--material-surface-container-low: #1d1b20;
|
|
58
|
+
--material-surface-container: #211f26;
|
|
59
|
+
--material-surface-container-high: #2b2930;
|
|
60
|
+
--material-surface-container-highest: #36343b;
|
|
61
|
+
--material-inverse-surface: #e6e0e9;
|
|
62
|
+
--material-inverse-on-surface: #322f35;
|
|
63
|
+
--material-inverse-primary: #6750a4;
|
|
64
|
+
--material-outline: #938f99;
|
|
65
|
+
--material-outline-variant: #49454f;
|
|
25
66
|
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Geist colors: Background 1 and 2, component fills (Colors 1-3), borders (Colors 4-6), high-contrast fills (Colors
|
|
3
|
+
* 7-8), and text (Colors 9-10), with Geist's near-black #171717 and near-white #ededed in place of pure black and white.
|
|
4
|
+
*/
|
|
1
5
|
:where(:root), :root[data-rui-theme='vercel'] {
|
|
2
6
|
--color-vercel-gray-50: #fafafa;
|
|
3
7
|
--color-vercel-gray-100: #f2f2f2;
|
|
4
|
-
--color-vercel-gray-200: #
|
|
5
|
-
--color-vercel-gray-300: #
|
|
6
|
-
--color-vercel-gray-400: #
|
|
7
|
-
--color-vercel-gray-500: #
|
|
8
|
-
--color-vercel-gray-600: #
|
|
9
|
-
--color-vercel-gray-700: #
|
|
10
|
-
--color-vercel-gray-800: #
|
|
11
|
-
--color-vercel-gray-900: #
|
|
12
|
-
--color-vercel-gray-950: #
|
|
8
|
+
--color-vercel-gray-200: #ebebeb;
|
|
9
|
+
--color-vercel-gray-300: #e6e6e6;
|
|
10
|
+
--color-vercel-gray-400: #c9c9c9;
|
|
11
|
+
--color-vercel-gray-500: #a8a8a8;
|
|
12
|
+
--color-vercel-gray-600: #8f8f8f;
|
|
13
|
+
--color-vercel-gray-700: #7d7d7d;
|
|
14
|
+
--color-vercel-gray-800: #666666;
|
|
15
|
+
--color-vercel-gray-900: #4d4d4d;
|
|
16
|
+
--color-vercel-gray-950: #171717;
|
|
13
17
|
|
|
14
18
|
--color-vercel-blue: #0070f3;
|
|
15
19
|
--color-vercel-blue-light: #3291ff;
|
|
@@ -22,30 +26,30 @@
|
|
|
22
26
|
|
|
23
27
|
--color-vercel-background-1: #ffffff;
|
|
24
28
|
--color-vercel-background-2: #fafafa;
|
|
25
|
-
--color-vercel-component-1: #
|
|
26
|
-
--color-vercel-component-2: #
|
|
27
|
-
--color-vercel-component-3: #
|
|
28
|
-
--color-vercel-border-4: #
|
|
29
|
-
--color-vercel-border-5: #
|
|
30
|
-
--color-vercel-border-6: #
|
|
31
|
-
--color-vercel-high-contrast-1: #
|
|
32
|
-
--color-vercel-high-contrast-2: #
|
|
29
|
+
--color-vercel-component-1: #f2f2f2;
|
|
30
|
+
--color-vercel-component-2: #ebebeb;
|
|
31
|
+
--color-vercel-component-3: #e6e6e6;
|
|
32
|
+
--color-vercel-border-4: #ebebeb;
|
|
33
|
+
--color-vercel-border-5: #c9c9c9;
|
|
34
|
+
--color-vercel-border-6: #a8a8a8;
|
|
35
|
+
--color-vercel-high-contrast-1: #171717;
|
|
36
|
+
--color-vercel-high-contrast-2: #383838;
|
|
33
37
|
--color-vercel-text-secondary: #666666;
|
|
34
|
-
--color-vercel-text-primary: #
|
|
38
|
+
--color-vercel-text-primary: #171717;
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
:where(.dark), :root.dark[data-rui-theme='vercel'] {
|
|
38
42
|
--color-vercel-gray-50: #1a1a1a;
|
|
39
|
-
--color-vercel-gray-100: #
|
|
40
|
-
--color-vercel-gray-200: #
|
|
41
|
-
--color-vercel-gray-300: #
|
|
42
|
-
--color-vercel-gray-400: #
|
|
43
|
-
--color-vercel-gray-500: #
|
|
44
|
-
--color-vercel-gray-600: #
|
|
45
|
-
--color-vercel-gray-700: #
|
|
46
|
-
--color-vercel-gray-800: #
|
|
47
|
-
--color-vercel-gray-900: #
|
|
48
|
-
--color-vercel-gray-950: #
|
|
43
|
+
--color-vercel-gray-100: #1f1f1f;
|
|
44
|
+
--color-vercel-gray-200: #292929;
|
|
45
|
+
--color-vercel-gray-300: #2e2e2e;
|
|
46
|
+
--color-vercel-gray-400: #454545;
|
|
47
|
+
--color-vercel-gray-500: #7d7d7d;
|
|
48
|
+
--color-vercel-gray-600: #878787;
|
|
49
|
+
--color-vercel-gray-700: #8f8f8f;
|
|
50
|
+
--color-vercel-gray-800: #a1a1a1;
|
|
51
|
+
--color-vercel-gray-900: #d4d4d4;
|
|
52
|
+
--color-vercel-gray-950: #ededed;
|
|
49
53
|
|
|
50
54
|
--color-vercel-blue: #3291ff;
|
|
51
55
|
--color-vercel-blue-light: #52a8ff;
|
|
@@ -56,16 +60,16 @@
|
|
|
56
60
|
--color-vercel-purple: #a76ad7;
|
|
57
61
|
--color-vercel-pink: #ff0080;
|
|
58
62
|
|
|
59
|
-
--color-vercel-background-1: #
|
|
60
|
-
--color-vercel-background-2: #
|
|
61
|
-
--color-vercel-component-1: #
|
|
62
|
-
--color-vercel-component-2: #
|
|
63
|
-
--color-vercel-component-3: #
|
|
64
|
-
--color-vercel-border-4: #
|
|
65
|
-
--color-vercel-border-5: #
|
|
66
|
-
--color-vercel-border-6: #
|
|
67
|
-
--color-vercel-high-contrast-1: #
|
|
63
|
+
--color-vercel-background-1: #0a0a0a;
|
|
64
|
+
--color-vercel-background-2: #000000;
|
|
65
|
+
--color-vercel-component-1: #1a1a1a;
|
|
66
|
+
--color-vercel-component-2: #1f1f1f;
|
|
67
|
+
--color-vercel-component-3: #292929;
|
|
68
|
+
--color-vercel-border-4: #2e2e2e;
|
|
69
|
+
--color-vercel-border-5: #454545;
|
|
70
|
+
--color-vercel-border-6: #878787;
|
|
71
|
+
--color-vercel-high-contrast-1: #ededed;
|
|
68
72
|
--color-vercel-high-contrast-2: #cccccc;
|
|
69
|
-
--color-vercel-text-secondary: #
|
|
70
|
-
--color-vercel-text-primary: #
|
|
73
|
+
--color-vercel-text-secondary: #a1a1a1;
|
|
74
|
+
--color-vercel-text-primary: #ededed;
|
|
71
75
|
}
|
|
@@ -1,31 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Light Modern and Dark Modern workbench colors: editor, side bar, widget, input, button, list, menu, badge, and
|
|
3
|
+
* scrollbar slider values.
|
|
4
|
+
*/
|
|
1
5
|
:where(:root), :root[data-rui-theme='vscode'] {
|
|
2
6
|
--color-vscode-canvas: #ffffff;
|
|
3
7
|
--color-vscode-subtle: #f8f8f8;
|
|
4
8
|
--color-vscode-muted: #ececec;
|
|
5
|
-
--color-vscode-border: #
|
|
9
|
+
--color-vscode-border: #e5e5e5;
|
|
6
10
|
--color-vscode-border-strong: #808080;
|
|
7
11
|
--color-vscode-fg: #3b3b3b;
|
|
8
12
|
--color-vscode-muted-fg: #616161;
|
|
9
|
-
--color-vscode-
|
|
13
|
+
--color-vscode-inactive-fg: #6e6e6e;
|
|
14
|
+
--color-vscode-blue: #005fb8;
|
|
15
|
+
--color-vscode-blue-hover: #0258a8;
|
|
16
|
+
--color-vscode-blue-active: #004c94;
|
|
10
17
|
--color-vscode-blue-light: #3794ff;
|
|
11
18
|
--color-vscode-green: #16825d;
|
|
12
19
|
--color-vscode-red: #d32f2f;
|
|
13
20
|
--color-vscode-orange: #a15c00;
|
|
14
21
|
--color-vscode-purple: #af00db;
|
|
22
|
+
--color-vscode-input: #ffffff;
|
|
23
|
+
--color-vscode-checkbox: #f8f8f8;
|
|
24
|
+
--color-vscode-widget: #f8f8f8;
|
|
25
|
+
--color-vscode-widget-border: #e5e5e5;
|
|
26
|
+
--color-vscode-widget-shadow: rgb(0 0 0 / 16%);
|
|
27
|
+
--color-vscode-menu: #ffffff;
|
|
28
|
+
--color-vscode-menu-border: #cecece;
|
|
29
|
+
--color-vscode-button-border: rgb(0 0 0 / 10%);
|
|
30
|
+
--color-vscode-button-secondary: #e5e5e5;
|
|
31
|
+
--color-vscode-button-secondary-hover: #cccccc;
|
|
32
|
+
--color-vscode-toolbar-hover: rgb(184 184 184 / 31%);
|
|
33
|
+
--color-vscode-list-hover: #f2f2f2;
|
|
34
|
+
--color-vscode-badge: #cccccc;
|
|
35
|
+
--color-vscode-badge-fg: #3b3b3b;
|
|
36
|
+
--color-vscode-scrollbar: rgb(100 100 100 / 40%);
|
|
37
|
+
--color-vscode-scrollbar-hover: rgb(100 100 100 / 70%);
|
|
38
|
+
--color-vscode-scrollbar-active: rgb(0 0 0 / 60%);
|
|
15
39
|
}
|
|
16
40
|
|
|
17
41
|
:where(.dark), :root.dark[data-rui-theme='vscode'] {
|
|
18
42
|
--color-vscode-canvas: #1f1f1f;
|
|
19
43
|
--color-vscode-subtle: #181818;
|
|
20
44
|
--color-vscode-muted: #2b2b2b;
|
|
21
|
-
--color-vscode-border: #
|
|
22
|
-
--color-vscode-border-strong: #
|
|
45
|
+
--color-vscode-border: #2b2b2b;
|
|
46
|
+
--color-vscode-border-strong: #858585;
|
|
23
47
|
--color-vscode-fg: #cccccc;
|
|
24
48
|
--color-vscode-muted-fg: #9d9d9d;
|
|
49
|
+
--color-vscode-inactive-fg: #9d9d9d;
|
|
25
50
|
--color-vscode-blue: #0078d4;
|
|
51
|
+
--color-vscode-blue-hover: #026ec1;
|
|
52
|
+
--color-vscode-blue-active: #005ba4;
|
|
26
53
|
--color-vscode-blue-light: #4daafc;
|
|
27
54
|
--color-vscode-green: #4ec9b0;
|
|
28
55
|
--color-vscode-red: #f14c4c;
|
|
29
56
|
--color-vscode-orange: #cca700;
|
|
30
57
|
--color-vscode-purple: #c586c0;
|
|
58
|
+
--color-vscode-input: #313131;
|
|
59
|
+
--color-vscode-checkbox: #313131;
|
|
60
|
+
--color-vscode-widget: #202020;
|
|
61
|
+
--color-vscode-widget-border: #313131;
|
|
62
|
+
--color-vscode-widget-shadow: rgb(0 0 0 / 36%);
|
|
63
|
+
--color-vscode-menu: #1f1f1f;
|
|
64
|
+
--color-vscode-menu-border: #454545;
|
|
65
|
+
--color-vscode-button-border: rgb(255 255 255 / 7%);
|
|
66
|
+
--color-vscode-button-secondary: #313131;
|
|
67
|
+
--color-vscode-button-secondary-hover: #3c3c3c;
|
|
68
|
+
--color-vscode-toolbar-hover: rgb(90 93 94 / 31%);
|
|
69
|
+
--color-vscode-list-hover: #2a2d2e;
|
|
70
|
+
--color-vscode-badge: #616161;
|
|
71
|
+
--color-vscode-badge-fg: #f8f8f8;
|
|
72
|
+
--color-vscode-scrollbar: rgb(121 121 121 / 40%);
|
|
73
|
+
--color-vscode-scrollbar-hover: rgb(100 100 100 / 70%);
|
|
74
|
+
--color-vscode-scrollbar-active: rgb(191 191 191 / 40%);
|
|
31
75
|
}
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
--windows95-dark: #0a0a0a;
|
|
8
8
|
--windows95-text: #000000;
|
|
9
9
|
--windows95-muted: #404040;
|
|
10
|
+
--windows95-line: #808080;
|
|
11
|
+
--windows95-disabled: #808080;
|
|
10
12
|
--windows95-field: #ffffff;
|
|
11
13
|
--windows95-field-text: #000000;
|
|
12
14
|
--windows95-selection: #000080;
|
|
@@ -20,17 +22,20 @@
|
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* @remarks Windows 95 shipped no dark mode. This scheme keeps the two-tone bevel structure and remaps it to a dark
|
|
23
|
-
* button face, in the spirit of the custom color schemes Windows offered
|
|
25
|
+
* button face, in the spirit of the custom color schemes Windows offered: light and highlight edges stay above the
|
|
26
|
+
* face and shadow and dark edges below it, so raised and sunken controls still read as relief instead of outlines.
|
|
24
27
|
*/
|
|
25
28
|
:where(.dark), :root.dark[data-rui-theme='windows95'] {
|
|
26
29
|
--windows95-canvas: #2b2b2b;
|
|
27
30
|
--windows95-face: #3a3a3a;
|
|
28
|
-
--windows95-light: #
|
|
29
|
-
--windows95-highlight: #
|
|
30
|
-
--windows95-shadow: #
|
|
31
|
-
--windows95-dark: #
|
|
31
|
+
--windows95-light: #8a8a8a;
|
|
32
|
+
--windows95-highlight: #5e5e5e;
|
|
33
|
+
--windows95-shadow: #1e1e1e;
|
|
34
|
+
--windows95-dark: #000000;
|
|
32
35
|
--windows95-text: #f0f0f0;
|
|
33
36
|
--windows95-muted: #c8c8c8;
|
|
37
|
+
--windows95-line: #8a8a8a;
|
|
38
|
+
--windows95-disabled: #7a7a7a;
|
|
34
39
|
--windows95-field: #1c1c1c;
|
|
35
40
|
--windows95-field-text: #f0f0f0;
|
|
36
41
|
--windows95-selection: #2d5aa8;
|
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
--border-radius-3xl: 1.25rem;
|
|
16
16
|
--radius-control: var(--border-radius-lg);
|
|
17
17
|
--radius-container: var(--border-radius-xl);
|
|
18
|
+
--size-control-sm: 1.625rem;
|
|
19
|
+
--size-control-md: 2.25rem;
|
|
20
|
+
--size-control-lg: 2.5rem;
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
@layer components {
|
|
21
24
|
/**
|
|
22
25
|
* @remarks Kumo draws the primary action with white text in both modes, a ring one tenth darker than the fill, and
|
|
23
|
-
* `shadow-xs`. `#cc3a00` keeps cloudflare.com's orange hue at 5:1 against white
|
|
24
|
-
*
|
|
26
|
+
* `shadow-xs`. `#cc3a00` keeps cloudflare.com's orange hue at 5:1 against white and keeps the primary orange stable
|
|
27
|
+
* across light and dark mode. The brighter orange remains available for supporting text and container roles.
|
|
25
28
|
*/
|
|
26
29
|
:root .rui-button--filled {
|
|
27
30
|
background-color: var(--color-cloudflare-orange-fill);
|
|
@@ -80,6 +83,12 @@
|
|
|
80
83
|
:root .rui-button--outline,
|
|
81
84
|
:root .rui-input,
|
|
82
85
|
:root .rui-textarea,
|
|
86
|
+
:root .rui-combobox__control,
|
|
87
|
+
:root .rui-date-field__group,
|
|
88
|
+
:root .rui-date-range-picker__group,
|
|
89
|
+
:root .rui-input-group,
|
|
90
|
+
:root .rui-number-field__group,
|
|
91
|
+
:root rui-date-input:where(:not([data-date-field-input], [data-range-start], [data-range-end])),
|
|
83
92
|
:root .rui-select__control {
|
|
84
93
|
@apply border-border bg-surface text-on-surface shadow-none;
|
|
85
94
|
border-color: var(--rui-control-border-color);
|
|
@@ -95,9 +104,12 @@
|
|
|
95
104
|
* @remarks Kumo does not combine a border with a drop shadow. Floating surfaces use a 1px edge ring plus a soft drop.
|
|
96
105
|
*/
|
|
97
106
|
:root .rui-dialog__surface,
|
|
98
|
-
:root .rui-popover-
|
|
107
|
+
:root .rui-popover:where(:not(.rui-popover--listbox)),
|
|
99
108
|
:root .rui-hover-card__content,
|
|
100
109
|
:root .rui-select__listbox,
|
|
110
|
+
:root .rui-combobox__listbox,
|
|
111
|
+
:root .rui-menu-button__menu,
|
|
112
|
+
:root .rui-menubar__menu,
|
|
101
113
|
:root .rui-calendar {
|
|
102
114
|
@apply rounded-container border-0 bg-surface;
|
|
103
115
|
box-shadow:
|
|
@@ -105,6 +117,16 @@
|
|
|
105
117
|
0 4px 12px var(--color-cloudflare-shadow-drop);
|
|
106
118
|
}
|
|
107
119
|
|
|
120
|
+
:root .rui-menu-button__menu,
|
|
121
|
+
:root .rui-menubar__menu {
|
|
122
|
+
--rui-menu-item-hover: var(--color-cloudflare-tint);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:root .rui-select__listbox .rui-listbox,
|
|
126
|
+
:root .rui-combobox__listbox .rui-listbox {
|
|
127
|
+
background-color: transparent;
|
|
128
|
+
}
|
|
129
|
+
|
|
108
130
|
:root rui-tabs[variant='boxed'] {
|
|
109
131
|
@apply rounded-container border border-border bg-surface shadow-none;
|
|
110
132
|
}
|
|
@@ -126,18 +148,52 @@
|
|
|
126
148
|
border-bottom-color: var(--primary);
|
|
127
149
|
}
|
|
128
150
|
|
|
151
|
+
/**
|
|
152
|
+
* @remarks Kumo highlights chosen options and active navigation with the neutral tint layer and full-strength text;
|
|
153
|
+
* orange stays reserved for the primary action.
|
|
154
|
+
*/
|
|
129
155
|
:root .rui-listbox__option[aria-selected='true'],
|
|
156
|
+
:root .rui-listbox__option[aria-selected='true']:focus-visible,
|
|
130
157
|
:root .rui-menu-button__item[aria-checked='true'],
|
|
131
|
-
:root .rui-sidebar__menu-button
|
|
132
|
-
|
|
158
|
+
:root .rui-sidebar__menu-button[aria-current='page'],
|
|
159
|
+
:root .rui-sidebar__menu-button--active,
|
|
160
|
+
:root .rui-tree__node[aria-selected='true'],
|
|
161
|
+
:root .rui-treegrid__cell[aria-selected='true'] {
|
|
162
|
+
background-color: var(--color-cloudflare-tint);
|
|
163
|
+
background-image: none;
|
|
164
|
+
color: var(--color-cloudflare-fg);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:root .rui-listbox__option[aria-selected='true'][data-active]:not([aria-disabled='true']) {
|
|
168
|
+
--tw-ring-color: var(--rui-control-border-color);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
:root .rui-listbox__option[aria-selected='true'] .rui-listbox__option-indicator {
|
|
172
|
+
color: var(--color-cloudflare-fg);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:root .rui-breadcrumb__link {
|
|
176
|
+
color: var(--link);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @remarks The `#cc3a00` primary reads below 4.5:1 as text on the dark canvas, so orange text in dark mode uses the
|
|
181
|
+
* brighter orange.
|
|
182
|
+
*/
|
|
183
|
+
:root.dark .rui-heading__eyebrow,
|
|
184
|
+
:root.dark .rui-toc__link--active,
|
|
185
|
+
:root.dark .rui-calendar__today,
|
|
186
|
+
:root.dark .rui-feed__rating-stars {
|
|
187
|
+
color: var(--color-cloudflare-orange-bright);
|
|
133
188
|
}
|
|
134
189
|
|
|
135
190
|
:root .rui-alert {
|
|
136
191
|
@apply rounded-control shadow-none;
|
|
137
192
|
}
|
|
138
193
|
|
|
139
|
-
:root .rui-
|
|
140
|
-
@apply rounded-control
|
|
194
|
+
:root .rui-toast {
|
|
195
|
+
@apply rounded-control shadow-none;
|
|
196
|
+
background-image: none;
|
|
141
197
|
}
|
|
142
198
|
|
|
143
199
|
:root .rui-separator,
|