|
2 | 2 | * Dark Theme Colors |
3 | 3 | */ |
4 | 4 | [data-theme='dark'] { |
| 5 | + /* For default neutral backgrounds */ |
5 | 6 | --color-background-default: var(--brand-colors-grey-grey800); |
6 | | - --color-background-default-hover: #282b2e; |
7 | | - --color-background-default-pressed: #36383b; |
| 7 | + /* For secondary neutral backgrounds. */ |
8 | 8 | --color-background-alternative: var(--brand-colors-grey-grey900); |
9 | | - --color-background-alternative-hover: #191b1d; |
10 | | - --color-background-alternative-pressed: #27292a; |
11 | | - --color-background-hover: #ffffff05; |
| 9 | + /* For "hover" states that use background-default. */ |
| 10 | + --color-background-default-hover: #313235; |
| 11 | + /* For "pressed" states that use background-alternative. */ |
| 12 | + --color-background-default-pressed: #3f4145; |
| 13 | + /* For "hover" states that use background-alternative. */ |
| 14 | + --color-background-alternative-hover: #1f2123; |
| 15 | + /* For "pressed" states that use background-alternative. */ |
| 16 | + --color-background-alternative-pressed: #2e3033; |
| 17 | + /* For "hover" state that use no background fill. */ |
| 18 | + --color-background-hover: #ffffff0a; |
| 19 | + /* For "pressed" state that use no background fill. */ |
12 | 20 | --color-background-pressed: #ffffff14; |
13 | | - --color-text-default: var(--brand-colors-white-white000); |
14 | | - --color-text-alternative: var(--brand-colors-grey-grey100); |
| 21 | + /* For default neutral text. */ |
| 22 | + --color-text-default: var(--brand-colors-grey-grey000); |
| 23 | + /* For softer contrast neutral text */ |
| 24 | + --color-text-alternative: var(--brand-colors-grey-grey200); |
| 25 | + /* For the softest contrast neutral text (not accessible) */ |
15 | 26 | --color-text-muted: var(--brand-colors-grey-grey400); |
16 | | - --color-icon-default: var(--brand-colors-white-white000); |
| 27 | + /* For default neutral icons */ |
| 28 | + --color-icon-default: var(--brand-colors-grey-grey000); |
| 29 | + /* For softer neutral icons */ |
17 | 30 | --color-icon-alternative: var(--brand-colors-grey-grey200); |
| 31 | + /* For the weakest contrast neutral icons (not accessible) */ |
18 | 32 | --color-icon-muted: var(--brand-colors-grey-grey400); |
| 33 | + /* For soft contrast neutral border */ |
19 | 34 | --color-border-default: var(--brand-colors-grey-grey400); |
20 | | - --color-border-muted: var(--brand-colors-grey-grey700); |
| 35 | + /* For the weakest contrast neutral border */ |
| 36 | + --color-border-muted: #848c9629; |
| 37 | + /* For the default shade of screen */ |
21 | 38 | --color-overlay-default: #00000099; |
| 39 | + /* For a stronger shade of screen */ |
22 | 40 | --color-overlay-alternative: #000000cc; |
23 | | - --color-shadow-default: #00000080; |
24 | | - --color-overlay-inverse: var(--brand-colors-white-white010); |
25 | | - --color-primary-default: var(--brand-colors-blue-blue400); |
26 | | - --color-primary-default-hover: #0092fa; |
27 | | - --color-primary-default-pressed: #54b6fc; |
28 | | - --color-primary-alternative: var(--brand-colors-blue-blue300); |
29 | | - --color-primary-muted: #1098fc26; |
| 41 | + /* For elements used on top of overlay/alternative. Used for text, icon or border */ |
| 42 | + --color-overlay-inverse: var(--brand-colors-grey-grey000); |
| 43 | + /* For interactive, active, and selected semantics. Used for text, background, icon or border */ |
| 44 | + --color-primary-default: var(--brand-colors-blue-blue300); |
| 45 | + /* For the stronger contrast primary semantic elements. */ |
| 46 | + --color-primary-alternative: var(--brand-colors-blue-blue200); |
| 47 | + /* For the weakest contrast primary semantic backgrounds. */ |
| 48 | + --color-primary-muted: #43aefc26; |
| 49 | + /* For elements used on top of primary/default. Used for text, icon or border */ |
30 | 50 | --color-primary-inverse: var(--brand-colors-grey-grey900); |
31 | | - --color-primary-disabled: #1098fc80; |
32 | | - --color-primary-shadow: #0376c933; |
33 | | - --color-secondary-default: var(--brand-colors-orange-orange400); |
34 | | - --color-secondary-alternative: var(--brand-colors-orange-orange300); |
35 | | - --color-secondary-muted: #f8883b26; |
36 | | - --color-secondary-inverse: var(--brand-colors-grey-grey900); |
37 | | - --color-secondary-disabled: #f8883b80; |
38 | | - --color-error-default: #ff5263; |
39 | | - --color-error-default-hover: #ff4d58; |
40 | | - --color-error-default-pressed: #f9868e; |
41 | | - --color-error-alternative: var(--brand-colors-red-red300); |
42 | | - --color-error-muted: #ff526326; |
| 51 | + /* For the "hover" state of primary-default elements */ |
| 52 | + --color-primary-default-hover: #26a2fc; |
| 53 | + /* For the "pressed" state of primary-default elements */ |
| 54 | + --color-primary-default-pressed: #3baafd; |
| 55 | + /* For the critical alert semantic elements. Used for text, background, icon or border */ |
| 56 | + --color-error-default: var(--brand-colors-red-red300); |
| 57 | + /* For the stronger contrast error semantic elements. */ |
| 58 | + --color-error-alternative: var(--brand-colors-red-red200); |
| 59 | + /* For the weakest contrast critical alert semantic backgrounds. */ |
| 60 | + --color-error-muted: #e88f9726; |
| 61 | + /* For elements used on top of error/default. Used for text, icon or border */ |
43 | 62 | --color-error-inverse: var(--brand-colors-grey-grey900); |
44 | | - --color-error-disabled: #d7384780; |
45 | | - --color-error-shadow: #ff526366; |
46 | | - --color-warning-default: var(--brand-colors-yellow-yellow500); |
47 | | - --color-warning-default-hover: #ffc60a; |
48 | | - --color-warning-default-pressed: #ffeaa3d1; |
49 | | - --color-warning-alternative: var(--brand-colors-yellow-yellow400); |
50 | | - --color-warning-muted: #ffd33d26; |
| 63 | + /* For the "hover" state of error-default elements. */ |
| 64 | + --color-error-default-hover: #e47782; |
| 65 | + /* For the "pressed" state of error-default elements. */ |
| 66 | + --color-error-default-pressed: #e78891; |
| 67 | + /* For the caution alert semantic elements. Used for text, background, icon or border */ |
| 68 | + --color-warning-default: var(--brand-colors-yellow-yellow100); |
| 69 | + /* For the weakest contrast caution alert semantic backgrounds. */ |
| 70 | + --color-warning-muted: #ffdf7026; |
| 71 | + /* For elements used on top of warning/default. Used for text, icon or border */ |
51 | 72 | --color-warning-inverse: var(--brand-colors-grey-grey900); |
52 | | - --color-warning-disabled: #ffd33d80; |
53 | | - --color-success-default: var(--brand-colors-green-green500); |
54 | | - --color-success-default-hover: #05b82f; |
55 | | - --color-success-default-pressed: #6aec88; |
56 | | - --color-success-alternative: var(--brand-colors-green-green400); |
| 73 | + /* For the "hover" state of warning-default elements */ |
| 74 | + --color-warning-default-hover: #ffe485; |
| 75 | + /* For the "pressed" state of warning-default elements */ |
| 76 | + --color-warning-default-pressed: #ffe899; |
| 77 | + /* For the positive semantic elements. Used for text, background, icon or border */ |
| 78 | + --color-success-default: var(--brand-colors-green-green300); |
| 79 | + /* For the weakest contrast positive semantic backgrounds. */ |
57 | 80 | --color-success-muted: #28a74526; |
| 81 | + /* For elements used on top of success/default. Used for text, icon or border */ |
58 | 82 | --color-success-inverse: var(--brand-colors-grey-grey900); |
59 | | - --color-success-disabled: #28a74580; |
60 | | - --color-info-default: var(--brand-colors-blue-blue400); |
61 | | - --color-info-alternative: var(--brand-colors-blue-blue300); |
62 | | - --color-info-muted: #1098fc26; |
| 83 | + /* For the "hover" state of success-default elements */ |
| 84 | + --color-success-default-hover: #2cb94c; |
| 85 | + /* For the "pressed" state of success-default elements */ |
| 86 | + --color-success-default-pressed: #30ca53; |
| 87 | + /* For informational read-only elements. Used for text, background, icon or border */ |
| 88 | + --color-info-default: var(--brand-colors-blue-blue300); |
| 89 | + /* For the weakest contrast informational semantic backgrounds. */ |
| 90 | + --color-info-muted: #43aefc26; |
| 91 | + /* For elements used on top of info/default. Used for text, icon or border */ |
63 | 92 | --color-info-inverse: var(--brand-colors-grey-grey900); |
64 | | - --color-info-disabled: #0376c980; |
| 93 | + /* For Flask primary accent color. */ |
| 94 | + --color-flask-default: var(--brand-colors-purple-purple300); |
| 95 | + /* For elements used on top of flask/default. Used for text, icon or border */ |
| 96 | + --color-flask-inverse: var(--brand-colors-grey-grey900); |
| 97 | + /* For neutral drop shadow color. */ |
| 98 | + --color-shadow-default: #00000066; |
| 99 | + /* For primary drop shadow color. */ |
| 100 | + --color-shadow-primary: #43aefc33; |
| 101 | + /* For critical/danger drop shadow color. */ |
| 102 | + --color-shadow-error: #ff758466; |
65 | 103 | } |
0 commit comments