@undrr/undrr-mangrove 2.0.0-alpha.2 → 2.0.0-alpha.4
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 +4 -4
- package/components/BookCard.js +2 -2
- package/components/Breadcrumbs.js +2 -2
- package/components/Checkbox.js +2 -2
- package/components/Chips.js +2 -2
- package/components/CtaButton.js +2 -2
- package/components/EmbedContainer.js +2 -2
- package/components/Footer.js +2 -2
- package/components/FormAction.js +2 -2
- package/components/FormErrorSummary.js +2 -2
- package/components/FormGroup.js +2 -2
- package/components/FullWidth.js +2 -2
- package/components/Gallery.js +2 -2
- package/components/Hero.js +2 -2
- package/components/HighlightBox.js +2 -2
- package/components/HorizontalBookCard.js +2 -2
- package/components/HorizontalCard.js +2 -2
- package/components/IconCard.js +2 -2
- package/components/Loader.js +2 -2
- package/components/MegaMenu.js +2 -2
- package/components/PageHeader.js +2 -2
- package/components/Pager.js +2 -2
- package/components/QuoteHighlight.js +2 -2
- package/components/Radio.js +2 -2
- package/components/ScrollContainer.js +2 -2
- package/components/Select.js +2 -2
- package/components/ShareButtons.js +2 -2
- package/components/ShowMore.js +2 -2
- package/components/StatsCard.js +2 -2
- package/components/SyndicationSearchWidget.js +2 -2
- package/components/Tab.js +2 -2
- package/components/TextCta.js +2 -2
- package/components/TextInput.js +2 -2
- package/components/Textarea.js +2 -2
- package/components/UserFeedback.js +2 -2
- package/components/VerticalCard.js +2 -2
- package/components/hydrate.js +1 -1
- package/css/style-all.css +286 -42
- package/css/style-all.css.map +1 -1
- package/css/style-delta.css +286 -42
- package/css/style-delta.css.map +1 -1
- package/css/style-gutenberg.css +254 -13
- package/css/style-gutenberg.css.map +1 -1
- package/css/style-irp.css +286 -42
- package/css/style-irp.css.map +1 -1
- package/css/style-mcr.css +286 -42
- package/css/style-mcr.css.map +1 -1
- package/css/style-preventionweb.css +286 -42
- package/css/style-preventionweb.css.map +1 -1
- package/css/style.css +285 -41
- package/css/style.css.map +1 -1
- package/error-pages/401.html +1 -1
- package/error-pages/403.html +1 -1
- package/error-pages/404.html +1 -1
- package/error-pages/429.html +1 -1
- package/error-pages/500.html +1 -1
- package/error-pages/502.html +1 -1
- package/error-pages/503.html +1 -1
- package/error-pages/504.html +1 -1
- package/error-pages/5xx.html +1 -1
- package/error-pages/challenge.html +1 -1
- package/error-pages/managed-challenge.html +1 -1
- package/js/tabs.js +577 -401
- package/package.json +10 -10
- package/scss/Atom/BaseTypography/Code/code.scss +3 -3
- package/scss/Atom/EmptyState/empty-state.scss +117 -0
- package/scss/Atom/ReachElement/Details/details.scss +1 -1
- package/scss/Atom/StatusLabel/status-label.scss +64 -0
- package/scss/Atom/Tag/tag.scss +1 -8
- package/scss/Components/Boilerplate/boilerplate.scss +1 -2
- package/scss/Components/Breadcrumbs/breadcrumbs.scss +1 -8
- package/scss/Components/Buttons/Chips/chips.scss +7 -10
- package/scss/Components/Buttons/CtaButton/cta-button.scss +19 -22
- package/scss/Components/Buttons/ShareButtons/share-buttons.scss +9 -13
- package/scss/Components/Cards/Card/card.scss +13 -13
- package/scss/Components/Cards/StatsCard/stats-card.scss +5 -14
- package/scss/Components/CookieConsentBanner/cookie-consent-banner.scss +2 -10
- package/scss/Components/Footer/footer.scss +1 -8
- package/scss/Components/Forms/_form-base.scss +49 -37
- package/scss/Components/Gallery/gallery.scss +13 -16
- package/scss/Components/Hero/hero.scss +4 -19
- package/scss/Components/MegaMenu/mega-menu.scss +337 -22
- package/scss/Components/OnThisPageNav/on-this-page-nav.scss +2 -10
- package/scss/Components/Pager/pager.scss +1 -2
- package/scss/Components/PreviewAccess/preview-access.scss +21 -29
- package/scss/Components/Snackbar/snackbar.scss +1 -1
- package/scss/Components/SyndicationSearchWidget/syndication-search-widget.scss +13 -15
- package/scss/Components/Tab/tab.scss +269 -123
- package/scss/Components/TextCta/text-cta.scss +1 -1
- package/scss/Components/UserFeedback/user-feedback.scss +2 -8
- package/scss/assets/fonts/noto-kufi-arabic/noto-kufi-arabic.scss +73 -3
- package/scss/assets/fonts/noto-sans-arabic/noto-sans-arabic.scss +79 -0
- package/scss/assets/scss/_components.scss +2 -0
- package/scss/assets/scss/_fonts.scss +158 -2
- package/scss/assets/scss/_foundational.scss +45 -30
- package/scss/assets/scss/_mixins.scss +53 -8
- package/scss/assets/scss/_theme-delta.scss +6 -63
- package/scss/assets/scss/_theme-irp.scss +6 -34
- package/scss/assets/scss/_theme-mcr.scss +7 -52
- package/scss/assets/scss/_theme-preventionweb.scss +6 -32
- package/scss/assets/scss/_tokens-data-viz.scss +300 -0
- package/scss/assets/scss/_tokens-tabs.scss +32 -0
- package/scss/assets/scss/_utility.scss +4 -6
- package/scss/assets/scss/_variables.scss +221 -300
- package/scss/assets/scss/generated/_tokens-delta.scss +248 -0
- package/scss/assets/scss/generated/_tokens-irp.scss +114 -0
- package/scss/assets/scss/generated/_tokens-mangrove.scss +607 -0
- package/scss/assets/scss/generated/_tokens-mcr.scss +135 -0
- package/scss/assets/scss/generated/_tokens-preventionweb.scss +101 -0
- package/scss/assets/fonts/dubai/dubai.scss +0 -9
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
// GENERATED FILE — DO NOT EDIT.
|
|
2
|
+
// Brand: DELTA Resilience
|
|
3
|
+
// Selector: .mg-theme-delta
|
|
4
|
+
// Source: tokens/mangrove.yaml + tokens/undrr.yaml + tokens/delta.yaml
|
|
5
|
+
// Regenerate: yarn build:tokens
|
|
6
|
+
// Edit the YAML source, never this file.
|
|
7
|
+
// `npx jest tokens-source` fails if the two disagree.
|
|
8
|
+
|
|
9
|
+
// The .mg-theme-delta token block.
|
|
10
|
+
@mixin mg-tokens-delta {
|
|
11
|
+
// theme.loaded
|
|
12
|
+
// Runtime marker: lets JS and tooling detect that this brand theme is
|
|
13
|
+
// active, guarding the sub-brand body-class trap. See docs/RELEASE-2.0.md.
|
|
14
|
+
--mg-theme-loaded: delta;
|
|
15
|
+
|
|
16
|
+
// color.interactive
|
|
17
|
+
// UNDRR Blue. DELTA's own design system labels this swatch "UNDRR Blue -
|
|
18
|
+
// Corporate blue" and marks it Brand. 54 uses in DELTA's code, 1551 fills
|
|
19
|
+
// and 1645 strokes in its Figma file. It is rgb(0 79 145), identical to
|
|
20
|
+
// Mangrove's --mg-color-blue-900: DELTA's brand blue is UNDRR's.
|
|
21
|
+
--mg-color-interactive: 0 79 145;
|
|
22
|
+
|
|
23
|
+
// color.interactive-active
|
|
24
|
+
// Hover/active partner of the brand blue, 9 uses in DELTA. Note it is
|
|
25
|
+
// LIGHTER than the base colour, unlike Mangrove's convention of darkening
|
|
26
|
+
// on hover. That is DELTA's actual behaviour, not an error.
|
|
27
|
+
--mg-color-interactive-active: 16 108 184;
|
|
28
|
+
|
|
29
|
+
// color.tag
|
|
30
|
+
--mg-color-tag: var(--mg-color-interactive);
|
|
31
|
+
|
|
32
|
+
// color.tag--hover
|
|
33
|
+
--mg-color-tag--hover: var(--mg-color-interactive-active);
|
|
34
|
+
|
|
35
|
+
// color.button
|
|
36
|
+
--mg-color-button: var(--mg-color-neutral-0);
|
|
37
|
+
|
|
38
|
+
// color.button--hover
|
|
39
|
+
--mg-color-button--hover: var(--mg-color-neutral-0);
|
|
40
|
+
|
|
41
|
+
// color.button-background
|
|
42
|
+
// UNDRR Blue. DELTA's own design system labels this swatch "UNDRR Blue -
|
|
43
|
+
// Corporate blue" and marks it Brand. 54 uses in DELTA's code, 1551 fills
|
|
44
|
+
// and 1645 strokes in its Figma file. It is rgb(0 79 145), identical to
|
|
45
|
+
// Mangrove's --mg-color-blue-900: DELTA's brand blue is UNDRR's.
|
|
46
|
+
--mg-color-button-background: rgb(0 79 145);
|
|
47
|
+
|
|
48
|
+
// color.button-background--hover
|
|
49
|
+
// Hover/active partner of the brand blue, 9 uses in DELTA. Note it is
|
|
50
|
+
// LIGHTER than the base colour, unlike Mangrove's convention of darkening
|
|
51
|
+
// on hover. That is DELTA's actual behaviour, not an error.
|
|
52
|
+
--mg-color-button-background--hover: rgb(16 108 184);
|
|
53
|
+
|
|
54
|
+
// color.button-secondary-background
|
|
55
|
+
// UNDRR Teal, DELTA's secondary brand colour. Mangrove previously mapped
|
|
56
|
+
// the secondary button to the same blue as the primary, collapsing a
|
|
57
|
+
// genuine two-colour brand into one.
|
|
58
|
+
--mg-color-button-secondary-background: 0 123 122;
|
|
59
|
+
|
|
60
|
+
// color.button-secondary-background--hover
|
|
61
|
+
// Hover partner of UNDRR Teal, taken one step DOWN the teal ramp in DELTA's
|
|
62
|
+
// design file (#002323 #004646 #006968 #007B7A #00AFAE). DELTA's stylesheet
|
|
63
|
+
// uses #359999 here, a step UP, but white text on that is 3.40:1 and fails
|
|
64
|
+
// WCAG 1.4.3. #006968 is 6.52:1 and comes from DELTA's own ramp, so this is
|
|
65
|
+
// a deliberate, sourced divergence rather than an invented colour — the
|
|
66
|
+
// same call already made for DELTA's field border.
|
|
67
|
+
--mg-color-button-secondary-background--hover: 0 105 104;
|
|
68
|
+
|
|
69
|
+
// color.button-outline-primary
|
|
70
|
+
// UNDRR Blue. DELTA's own design system labels this swatch "UNDRR Blue -
|
|
71
|
+
// Corporate blue" and marks it Brand. 54 uses in DELTA's code, 1551 fills
|
|
72
|
+
// and 1645 strokes in its Figma file. It is rgb(0 79 145), identical to
|
|
73
|
+
// Mangrove's --mg-color-blue-900: DELTA's brand blue is UNDRR's.
|
|
74
|
+
--mg-color-button-outline-primary: 0 79 145;
|
|
75
|
+
|
|
76
|
+
// color.button-outline-primary--hover
|
|
77
|
+
// Hover/active partner of the brand blue, 9 uses in DELTA. Note it is
|
|
78
|
+
// LIGHTER than the base colour, unlike Mangrove's convention of darkening
|
|
79
|
+
// on hover. That is DELTA's actual behaviour, not an error.
|
|
80
|
+
--mg-color-button-outline-primary--hover: 16 108 184;
|
|
81
|
+
|
|
82
|
+
// color.button-outline-secondary
|
|
83
|
+
// UNDRR Teal, DELTA's secondary brand colour. Mangrove previously mapped
|
|
84
|
+
// the secondary button to the same blue as the primary, collapsing a
|
|
85
|
+
// genuine two-colour brand into one.
|
|
86
|
+
--mg-color-button-outline-secondary: 0 123 122;
|
|
87
|
+
|
|
88
|
+
// color.button-outline-secondary--hover
|
|
89
|
+
// Hover partner of UNDRR Teal, taken one step DOWN the teal ramp in DELTA's
|
|
90
|
+
// design file (#002323 #004646 #006968 #007B7A #00AFAE). DELTA's stylesheet
|
|
91
|
+
// uses #359999 here, a step UP, but white text on that is 3.40:1 and fails
|
|
92
|
+
// WCAG 1.4.3. #006968 is 6.52:1 and comes from DELTA's own ramp, so this is
|
|
93
|
+
// a deliberate, sourced divergence rather than an invented colour — the
|
|
94
|
+
// same call already made for DELTA's field border.
|
|
95
|
+
--mg-color-button-outline-secondary--hover: 0 105 104;
|
|
96
|
+
|
|
97
|
+
// color.text-button
|
|
98
|
+
--mg-color-text-button: var(--mg-color-neutral-0);
|
|
99
|
+
|
|
100
|
+
// color.form-check
|
|
101
|
+
--mg-color-form-check: var(--mg-color-interactive);
|
|
102
|
+
|
|
103
|
+
// color.form-check--hover
|
|
104
|
+
--mg-color-form-check--hover: var(--mg-color-interactive-active);
|
|
105
|
+
|
|
106
|
+
// color.form-check--checked
|
|
107
|
+
--mg-color-form-check--checked: var(--mg-color-interactive);
|
|
108
|
+
|
|
109
|
+
// color.form-focus
|
|
110
|
+
--mg-color-form-focus: var(--mg-color-interactive);
|
|
111
|
+
|
|
112
|
+
// color.mega-content-bg
|
|
113
|
+
--mg-color-mega-content-bg: var(--mg-color-white);
|
|
114
|
+
|
|
115
|
+
// color.hero
|
|
116
|
+
// UNDRR Blue. DELTA's own design system labels this swatch "UNDRR Blue -
|
|
117
|
+
// Corporate blue" and marks it Brand. 54 uses in DELTA's code, 1551 fills
|
|
118
|
+
// and 1645 strokes in its Figma file. It is rgb(0 79 145), identical to
|
|
119
|
+
// Mangrove's --mg-color-blue-900: DELTA's brand blue is UNDRR's.
|
|
120
|
+
--mg-color-hero: 0 79 145;
|
|
121
|
+
|
|
122
|
+
// color.hero-title
|
|
123
|
+
--mg-color-hero-title: oklch(68.5% 0.169 237.323);
|
|
124
|
+
|
|
125
|
+
// color.hero--tertiary
|
|
126
|
+
// Body text and overlay/shadow base.
|
|
127
|
+
--mg-color-hero--tertiary: rgb(24 24 35);
|
|
128
|
+
|
|
129
|
+
// color.hero-button-secondary-background
|
|
130
|
+
// UNDRR Blue. DELTA's own design system labels this swatch "UNDRR Blue -
|
|
131
|
+
// Corporate blue" and marks it Brand. 54 uses in DELTA's code, 1551 fills
|
|
132
|
+
// and 1645 strokes in its Figma file. It is rgb(0 79 145), identical to
|
|
133
|
+
// Mangrove's --mg-color-blue-900: DELTA's brand blue is UNDRR's.
|
|
134
|
+
--mg-color-hero-button-secondary-background: rgb(0 79 145);
|
|
135
|
+
|
|
136
|
+
// color.hero-button-secondary-color
|
|
137
|
+
--mg-color-hero-button-secondary-color: var(--mg-color-white);
|
|
138
|
+
|
|
139
|
+
// color.tabbar-background
|
|
140
|
+
--mg-color-tabbar-background: none;
|
|
141
|
+
|
|
142
|
+
// color.tab-background
|
|
143
|
+
// UNDRR Blue. DELTA's own design system labels this swatch "UNDRR Blue -
|
|
144
|
+
// Corporate blue" and marks it Brand. 54 uses in DELTA's code, 1551 fills
|
|
145
|
+
// and 1645 strokes in its Figma file. It is rgb(0 79 145), identical to
|
|
146
|
+
// Mangrove's --mg-color-blue-900: DELTA's brand blue is UNDRR's.
|
|
147
|
+
--mg-color-tab-background: rgb(0 79 145);
|
|
148
|
+
|
|
149
|
+
// color.tab-background--inactive
|
|
150
|
+
--mg-color-tab-background--inactive: rgb(var(--mg-color-white));
|
|
151
|
+
|
|
152
|
+
// color.tab-background--hover
|
|
153
|
+
// UNDRR Blue. DELTA's own design system labels this swatch "UNDRR Blue -
|
|
154
|
+
// Corporate blue" and marks it Brand. 54 uses in DELTA's code, 1551 fills
|
|
155
|
+
// and 1645 strokes in its Figma file. It is rgb(0 79 145), identical to
|
|
156
|
+
// Mangrove's --mg-color-blue-900: DELTA's brand blue is UNDRR's.
|
|
157
|
+
--mg-color-tab-background--hover: rgb(0 79 145 / 0.7);
|
|
158
|
+
|
|
159
|
+
// color.tab-border
|
|
160
|
+
--mg-color-tab-border: rgb(var(--mg-color-blue-200));
|
|
161
|
+
|
|
162
|
+
// color.tab-border--hover
|
|
163
|
+
// Hover/active partner of the brand blue, 9 uses in DELTA. Note it is
|
|
164
|
+
// LIGHTER than the base colour, unlike Mangrove's convention of darkening
|
|
165
|
+
// on hover. That is DELTA's actual behaviour, not an error.
|
|
166
|
+
--mg-color-tab-border--hover: rgb(16 108 184);
|
|
167
|
+
|
|
168
|
+
// color.tab-border--active
|
|
169
|
+
--mg-color-tab-border--active: rgb(var(--mg-color-blue-200));
|
|
170
|
+
|
|
171
|
+
// color.text-tab
|
|
172
|
+
--mg-color-text-tab: rgb(var(--mg-color-neutral-700));
|
|
173
|
+
|
|
174
|
+
// color.text-tab--hover
|
|
175
|
+
--mg-color-text-tab--hover: rgb(var(--mg-color-white));
|
|
176
|
+
|
|
177
|
+
// color.text-tab-active
|
|
178
|
+
--mg-color-text-tab-active: rgb(var(--mg-color-white));
|
|
179
|
+
|
|
180
|
+
// border-color.button
|
|
181
|
+
// DELTA's filled buttons carry no border. This is the case the channel
|
|
182
|
+
// convention could not express: a triplet cannot say "transparent", which
|
|
183
|
+
// is how the token came to hold two invalid declarations that both
|
|
184
|
+
// collapsed to nothing.
|
|
185
|
+
--mg-border-color-button: transparent;
|
|
186
|
+
|
|
187
|
+
// border-color.hero-button-secondary
|
|
188
|
+
--mg-border-color-hero-button-secondary: var(--mg-color-white);
|
|
189
|
+
|
|
190
|
+
// radius.tag
|
|
191
|
+
--mg-radius-tag: var(--mg-spacing-50);
|
|
192
|
+
|
|
193
|
+
// radius.button
|
|
194
|
+
--mg-radius-button: var(--mg-spacing-50);
|
|
195
|
+
|
|
196
|
+
// radius.form-input
|
|
197
|
+
--mg-radius-form-input: var(--mg-spacing-50);
|
|
198
|
+
|
|
199
|
+
// radius.tab
|
|
200
|
+
--mg-radius-tab: var(--mg-spacing-50) var(--mg-spacing-50) 0 0;
|
|
201
|
+
|
|
202
|
+
// radius.tab-section
|
|
203
|
+
--mg-radius-tab-section: var(--mg-spacing-50);
|
|
204
|
+
|
|
205
|
+
// padding.button
|
|
206
|
+
--mg-padding-button: var(--mg-spacing-100) var(--mg-spacing-200);
|
|
207
|
+
|
|
208
|
+
// padding.tab
|
|
209
|
+
--mg-padding-tab: var(--mg-spacing-150) var(--mg-spacing-200);
|
|
210
|
+
|
|
211
|
+
// padding.tab-section
|
|
212
|
+
--mg-padding-tab-section: var(--mg-spacing-300);
|
|
213
|
+
|
|
214
|
+
// border-width.button
|
|
215
|
+
--mg-border-width-button: 1px;
|
|
216
|
+
|
|
217
|
+
// font-size.button
|
|
218
|
+
--mg-font-size-button: 0.875rem;
|
|
219
|
+
|
|
220
|
+
// box-shadow.tab-section
|
|
221
|
+
--mg-box-shadow-tab-section: none;
|
|
222
|
+
|
|
223
|
+
// card.background
|
|
224
|
+
// Card / subtle surface fill. #f2f2f2 appears 11 times in DELTA; #fafafa,
|
|
225
|
+
// which Mangrove previously guessed, appears once.
|
|
226
|
+
--mg-card-background: rgb(242 242 242);
|
|
227
|
+
|
|
228
|
+
// card.padding
|
|
229
|
+
--mg-card-padding: var(--mg-spacing-150);
|
|
230
|
+
|
|
231
|
+
// card.border-radius
|
|
232
|
+
--mg-card-border-radius: var(--mg-spacing-50);
|
|
233
|
+
|
|
234
|
+
// card.icon-badge-radius
|
|
235
|
+
--mg-card-icon-badge-radius: 15%;
|
|
236
|
+
|
|
237
|
+
// opacity.hero
|
|
238
|
+
--mg-opacity-hero: 1;
|
|
239
|
+
|
|
240
|
+
// hero-overlay.max-width
|
|
241
|
+
--mg-hero-overlay-max-width: var(--mg-width-600);
|
|
242
|
+
|
|
243
|
+
// hero-overlay.padding
|
|
244
|
+
--mg-hero-overlay-padding: var(--mg-spacing-400);
|
|
245
|
+
|
|
246
|
+
// spacing.hero-overlay
|
|
247
|
+
--mg-spacing-hero-overlay: 1.25rem 0;
|
|
248
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// GENERATED FILE — DO NOT EDIT.
|
|
2
|
+
// Brand: IRP
|
|
3
|
+
// Selector: .mg-theme-irp
|
|
4
|
+
// Source: tokens/mangrove.yaml + tokens/undrr.yaml + tokens/irp.yaml
|
|
5
|
+
// Regenerate: yarn build:tokens
|
|
6
|
+
// Edit the YAML source, never this file.
|
|
7
|
+
// `npx jest tokens-source` fails if the two disagree.
|
|
8
|
+
|
|
9
|
+
// The .mg-theme-irp token block.
|
|
10
|
+
@mixin mg-tokens-irp {
|
|
11
|
+
// theme.loaded
|
|
12
|
+
// Runtime marker: lets JS and tooling detect that this brand theme is
|
|
13
|
+
// active, guarding the sub-brand body-class trap. See docs/RELEASE-2.0.md.
|
|
14
|
+
--mg-theme-loaded: irp;
|
|
15
|
+
|
|
16
|
+
// color.interactive
|
|
17
|
+
// IRP blue. The interactive colour.
|
|
18
|
+
--mg-color-interactive: 15 120 191;
|
|
19
|
+
|
|
20
|
+
// color.interactive-active
|
|
21
|
+
// IRP blue. The interactive colour.
|
|
22
|
+
--mg-color-interactive-active: 15 120 191;
|
|
23
|
+
|
|
24
|
+
// color.tag
|
|
25
|
+
--mg-color-tag: var(--mg-color-interactive);
|
|
26
|
+
|
|
27
|
+
// color.tag--hover
|
|
28
|
+
--mg-color-tag--hover: var(--mg-color-interactive-active);
|
|
29
|
+
|
|
30
|
+
// color.button-background
|
|
31
|
+
--mg-color-button-background: rgb(15 120 191);
|
|
32
|
+
|
|
33
|
+
// color.button-background--hover
|
|
34
|
+
--mg-color-button-background--hover: rgb(var(--mg-color-orange-900));
|
|
35
|
+
|
|
36
|
+
// color.button-outline-primary
|
|
37
|
+
--mg-color-button-outline-primary: 15 120 191;
|
|
38
|
+
|
|
39
|
+
// color.button-outline-primary--hover
|
|
40
|
+
--mg-color-button-outline-primary--hover: var(--mg-color-orange-900);
|
|
41
|
+
|
|
42
|
+
// color.button-outline-secondary
|
|
43
|
+
--mg-color-button-outline-secondary: var(--mg-color-button-secondary-background);
|
|
44
|
+
|
|
45
|
+
// color.button-outline-secondary--hover
|
|
46
|
+
--mg-color-button-outline-secondary--hover: var(--mg-color-button-secondary-background--hover);
|
|
47
|
+
|
|
48
|
+
// color.form-check
|
|
49
|
+
--mg-color-form-check: var(--mg-color-interactive);
|
|
50
|
+
|
|
51
|
+
// color.form-check--hover
|
|
52
|
+
--mg-color-form-check--hover: var(--mg-color-interactive-active);
|
|
53
|
+
|
|
54
|
+
// color.form-check--checked
|
|
55
|
+
--mg-color-form-check--checked: var(--mg-color-interactive);
|
|
56
|
+
|
|
57
|
+
// color.form-focus
|
|
58
|
+
--mg-color-form-focus: var(--mg-color-interactive);
|
|
59
|
+
|
|
60
|
+
// color.hero
|
|
61
|
+
--mg-color-hero: var(--mg-color-interactive);
|
|
62
|
+
|
|
63
|
+
// color.tabbar-background
|
|
64
|
+
// IRP green, used only by the tab surface — the tabbar rail, the active tab
|
|
65
|
+
// fill and its borders.
|
|
66
|
+
--mg-color-tabbar-background: rgb(140 198 63 / 0.1);
|
|
67
|
+
|
|
68
|
+
// color.tab-background
|
|
69
|
+
// IRP green, used only by the tab surface — the tabbar rail, the active tab
|
|
70
|
+
// fill and its borders.
|
|
71
|
+
--mg-color-tab-background: rgb(140 198 63 / 0.3);
|
|
72
|
+
|
|
73
|
+
// color.tab-background--inactive
|
|
74
|
+
--mg-color-tab-background--inactive: var(--mg-color-tabbar-background);
|
|
75
|
+
|
|
76
|
+
// color.tab-background--hover
|
|
77
|
+
// IRP green, used only by the tab surface — the tabbar rail, the active tab
|
|
78
|
+
// fill and its borders.
|
|
79
|
+
--mg-color-tab-background--hover: rgb(140 198 63);
|
|
80
|
+
|
|
81
|
+
// color.tab-border
|
|
82
|
+
--mg-color-tab-border: rgb(var(--mg-color-neutral-300));
|
|
83
|
+
|
|
84
|
+
// color.tab-border--hover
|
|
85
|
+
// IRP green, used only by the tab surface — the tabbar rail, the active tab
|
|
86
|
+
// fill and its borders.
|
|
87
|
+
--mg-color-tab-border--hover: rgb(140 198 63 / 0.1);
|
|
88
|
+
|
|
89
|
+
// color.tab-border--active
|
|
90
|
+
// IRP green, used only by the tab surface — the tabbar rail, the active tab
|
|
91
|
+
// fill and its borders.
|
|
92
|
+
--mg-color-tab-border--active: rgb(140 198 63 / 0.1);
|
|
93
|
+
|
|
94
|
+
// color.text-tab
|
|
95
|
+
--mg-color-text-tab: rgb(var(--mg-color-neutral-500));
|
|
96
|
+
|
|
97
|
+
// color.text-tab-active
|
|
98
|
+
--mg-color-text-tab-active: rgb(var(--mg-color-neutral-700));
|
|
99
|
+
|
|
100
|
+
// radius.tag
|
|
101
|
+
--mg-radius-tag: var(--mg-spacing-50);
|
|
102
|
+
|
|
103
|
+
// radius.button
|
|
104
|
+
--mg-radius-button: var(--mg-spacing-50);
|
|
105
|
+
|
|
106
|
+
// radius.form-input
|
|
107
|
+
--mg-radius-form-input: var(--mg-spacing-50);
|
|
108
|
+
|
|
109
|
+
// radius.tab
|
|
110
|
+
--mg-radius-tab: var(--mg-spacing-0) var(--mg-spacing-0) 0 0;
|
|
111
|
+
|
|
112
|
+
// spacing.hero-overlay
|
|
113
|
+
--mg-spacing-hero-overlay: 1.25rem 0;
|
|
114
|
+
}
|