Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / lib / codex-design-tokens / theme-wikimedia-ui-root.css
blob5ef3560f39aad30095a0cbe72957ac3972965251
1 /**
2 * Codex Design Tokens v1.18.0
3 * Design System for Wikimedia
4 * See https://doc.wikimedia.org/codex/latest/design-tokens/overview.html
5 */
7 :root {
8 --color-base: #202122;
9 --color-base-fixed: #202122;
10 --color-base--hover: #404244;
11 --color-emphasized: #101418;
12 --color-subtle: #54595d;
13 --color-placeholder: #72777d;
14 --color-disabled: #a2a9b1;
15 --color-disabled-emphasized: #a2a9b1;
16 --color-inverted: #fff;
17 --color-inverted-fixed: #fff; /* The same as color-inverted in light mode, but does not change in dark mode. Use this for things that should be white in both modes. */
18 --color-progressive: #36c; /* 'Progressive' Color and states */
19 --color-progressive--hover: #3056a9;
20 --color-progressive--active: #233566;
21 --color-progressive--focus: #36c;
22 --color-destructive: #bf3c2c; /* 'Destructive' Color and states */
23 --color-destructive--hover: #9f3526;
24 --color-destructive--active: #612419;
25 --color-destructive--focus: #36c;
26 --color-visited: #6a60b0; /* 'Visited' color. In combination with progressive. Used for default links. */
27 --color-visited--hover: #534fa3;
28 --color-visited--active: #353262;
29 --color-destructive--visited: #9f5555; /* Red link 'Visited' color. Used for visited red links. */
30 --color-destructive--visited--hover: #854848;
31 --color-destructive--visited--active: #512e2e;
32 --color-error: #bf3c2c;
33 --color-error--hover: #9f3526;
34 --color-error--active: #612419;
35 --color-warning: #886425;
36 --color-success: #177860;
37 --color-notice: #404244;
38 --color-icon-error: #f54739;
39 --color-icon-warning: #ab7f2a;
40 --color-icon-success: #099979;
41 --color-icon-notice: #72777d;
42 --color-content-added: #006400;
43 --color-content-removed: #8b0000;
44 --filter-invert-icon: 0;
45 --filter-invert-primary-button-icon: 1;
46 --box-shadow-color-base: #000;
47 --box-shadow-color-progressive--active: #233566;
48 --box-shadow-color-progressive--focus: #36c;
49 --box-shadow-color-progressive-selected: #36c;
50 --box-shadow-color-progressive-selected--hover: #3056a9;
51 --box-shadow-color-progressive-selected--active: #233566;
52 --box-shadow-color-destructive--focus: #36c;
53 --box-shadow-color-inverted: #fff;
54 --box-shadow-color-transparent: transparent;
55 --mix-blend-mode-base: normal;
56 --mix-blend-mode-blend: multiply;
57 --background-color-base: #fff; /* Background Colors for static elements (for page layout, sections, etc.) from here on. */
58 --background-color-base-fixed: #fff; /* The same as background-color-base in light mode, but does not change in dark mode. Use this for things that should be white in both modes. */
59 --background-color-neutral: #eaecf0;
60 --background-color-neutral-subtle: #f8f9fa;
61 --background-color-interactive: #eaecf0;
62 --background-color-interactive--hover: #dadde3;
63 --background-color-interactive--active: #c8ccd1;
64 --background-color-interactive-subtle: #f8f9fa;
65 --background-color-interactive-subtle--hover: #eaecf0;
66 --background-color-interactive-subtle--active: #dadde3;
67 --background-color-disabled: #dadde3; /* Components like Buttons, Checkboxes, Radios, ProgressBars…. */
68 --background-color-disabled-subtle: #eaecf0; /* Components like TextInputs, Selects…. */
69 --background-color-inverted: #101418;
70 --background-color-progressive: #36c;
71 --background-color-progressive--hover: #3056a9;
72 --background-color-progressive--active: #233566;
73 --background-color-progressive--focus: #36c;
74 --background-color-progressive-subtle: #f1f4fd;
75 --background-color-progressive-subtle--hover: #dce3f9;
76 --background-color-progressive-subtle--active: #cbd6f6;
77 --background-color-destructive: #bf3c2c;
78 --background-color-destructive--hover: #9f3526;
79 --background-color-destructive--active: #612419;
80 --background-color-destructive--focus: #36c;
81 --background-color-destructive-subtle: #ffe9e5;
82 --background-color-destructive-subtle--hover: #ffdad3;
83 --background-color-destructive-subtle--active: #ffc8bd;
84 --background-color-error: #f54739;
85 --background-color-error--hover: #d74032;
86 --background-color-error--active: #bf3c2c;
87 --background-color-error-subtle: #ffe9e5;
88 --background-color-error-subtle--hover: #ffdad3;
89 --background-color-error-subtle--active: #ffc8bd;
90 --background-color-warning-subtle: #fdf2d5;
91 --background-color-success-subtle: #dff2eb;
92 --background-color-notice-subtle: #eaecf0;
93 --background-color-content-added: #a3d3ff;
94 --background-color-content-removed: #ffe49c;
95 --background-color-transparent: transparent;
96 --background-color-backdrop-light: rgba( 255, 255, 255, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
97 --background-color-backdrop-dark: rgba( 0, 0, 0, 0.65 );
98 --background-color-button-quiet--hover: rgba( 0, 24, 73, 0.027 );
99 --background-color-button-quiet--active: rgba( 0, 24, 73, 0.082 );
100 --background-color-input-binary--checked: #36c;
101 --background-color-tab-list-item-framed--hover: rgba( 255, 255, 255, 0.3 );
102 --background-color-tab-list-item-framed--active: rgba( 255, 255, 255, 0.65 );
103 --opacity-icon-base: 0.87;
104 --opacity-icon-base--hover: 0.74;
105 --opacity-icon-base--selected: 1;
106 --opacity-icon-base--disabled: 0.51;
107 --opacity-icon-placeholder: 0.51;
108 --opacity-icon-subtle: 0.67;
109 --border-color-base: #a2a9b1;
110 --border-color-subtle: #c8ccd1;
111 --border-color-muted: #dadde3;
112 --border-color-interactive: #72777d;
113 --border-color-interactive--hover: #27292d;
114 --border-color-interactive--active: #202122;
115 --border-color-disabled: #c8ccd1;
116 --border-color-inverted: #fff;
117 --border-color-progressive: #6485d1;
118 --border-color-progressive--hover: #3056a9;
119 --border-color-progressive--active: #233566;
120 --border-color-progressive--focus: #36c;
121 --border-color-destructive: #f54739;
122 --border-color-destructive--hover: #9f3526;
123 --border-color-destructive--active: #612419;
124 --border-color-destructive--focus: #36c;
125 --border-color-error: #f54739;
126 --border-color-error--hover: #9f3526;
127 --border-color-error--active: #612419;
128 --border-color-warning: #ab7f2a;
129 --border-color-success: #099979;
130 --border-color-notice: #72777d;
131 --border-color-content-added: #a3d3ff;
132 --border-color-content-removed: #ffe49c;
133 --border-color-transparent: transparent;
134 --border-color-divider: #a2a9b1;
135 --outline-color-progressive--focus: #36c; /* Use in places where no more customized focus styles are provided, for example on generic `:focus`. */
136 --color-link-red: var( --color-destructive ); /* Red ('new') Link color and states */
137 --color-link-red--hover: var( --color-destructive--hover );
138 --color-link-red--active: var( --color-destructive--active );
139 --color-link-red--focus: var( --color-destructive--focus );
140 --color-link-red--visited: var( --color-destructive--visited );
141 --color-link-red--visited--hover: var( --color-destructive--visited--hover );
142 --color-link-red--visited--active: var( --color-destructive--visited--active );
143 --border-color-input--hover: var( --border-color-interactive );
144 --border-color-input-binary: var( --border-color-interactive );
145 --border-color-input-binary--hover: var( --border-color-progressive--hover );
146 --border-color-input-binary--active: var( --border-color-progressive--active );
147 --border-color-input-binary--focus: var( --border-color-progressive--focus );
148 --border-color-input-binary--checked: var( --border-color-progressive );
150 /* DEPRECATED TOKENS */
151 /* Warning: the following token name is deprecated (Use `color-subtle` instead. Note, that `color-subtle` is using `color.gray600` instead of `color.gray500` now.) */
152 --color-base--subtle: #54595d;