@coopdigital/styles 0.0.8 → 0.2.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Co-operative Group Limited
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,17 +1,61 @@
1
- <img src="https://files.smartsurvey.io/3/0/DPL0KB0D/Coop_Cloverleaf_Blue_RGB.png" alt="CI pipeline status" width="100"/>
1
+ <nav>
2
+ <img src="https://s3.eu-west-1.amazonaws.com/assets.digital.coop.co.uk/logos/coopeng-logo.svg" alt="Co-op logo" width="100"/>
3
+ <br />
4
+ <br />
5
+ </nav>
6
+
7
+
2
8
 
3
9
  # Experience Kit for Styles
4
10
 
5
11
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
6
- [![All Contributors](https://img.shields.io/badge/all_contributors-15-orange.svg?style=flat-square)](#contributors-)
12
+ [all_contributors_badge]: https://img.shields.io/badge/all_contributors-15-C08A00.svg ''
7
13
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
8
14
 
9
15
 
16
+ <a href="https://www.npmjs.com/package/@coopdigital/styles"><img src="https://img.shields.io/npm/v/%40coopdigital%2Fstyles?color=E85A00" alt="npm version" /></a>
17
+ <img alt="NPM Last Update" src="https://img.shields.io/npm/last-update/%40coopdigital%2Fstyles?label=published&color=6762F9">
18
+ <img alt="NPM Downloads" src="https://img.shields.io/npm/d18m/%40coopdigital%2Fstyles?color=819C00">
19
+ [![All Contributors][all_contributors_badge]](#contributors)
20
+
21
+
22
+
23
+ ## Getting started
24
+
25
+ Install the package from NPM:
26
+ ```
27
+ npm install @coopdigital/styles
28
+ ```
29
+
30
+ Import styles in the format that you need:
31
+ ```
32
+ @import "@coopdigital/styles/components/Button.css"
33
+ @use "@coopdigital/styles/components/Button.scss"
34
+ ```
35
+
36
+ ## Developing
37
+
38
+ Refer to the [root README](https://gitlab.com/coopeng/sds/oneweb/experience-kit/-/blob/main/README.md) for general development setup and usage instructions (lint, formatting, etc).
39
+
40
+
41
+ ## Package Scripts
42
+
43
+ The following scripts should be run inside the styles package folder.
44
+
45
+
46
+ | Script | Action |
47
+ | -------------------- | ---------------------------------------- |
48
+ | `npm run test` | To run vitest |
49
+ | `npm run test:coverage` | To run vitest test coverage |
50
+ | `npm run build` | To run build script |
51
+
52
+
53
+
10
54
 
11
55
 
12
56
  ## Contributors ✨
13
57
 
14
- Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
58
+ Thanks goes to these wonderful people:
15
59
 
16
60
  <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
17
61
  <!-- prettier-ignore-start -->
@@ -30,9 +74,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
30
74
  <div><a href="#a11y-catia.costa1" title="Accessibility">️️️️♿️</a> <a href="https://gitlab.com/coopeng/sds/oneweb/experience-kit/commits/master" title="Code">💻</a> <a href="https://gitlab.com/coopeng/sds/oneweb/experience-kit/commits/master" title="Documentation">📖</a> <a href="https://gitlab.com/coopeng/sds/oneweb/experience-kit/commits/master" title="Tests">⚠️</a></div>
31
75
  </a></td>
32
76
  <td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/chris.latimer">
33
- <div><img src="https://s3.eu-west-1.amazonaws.com/assets.digital.coop.co.uk/oneweb/chrisl.jpg" width="200px;" alt=""/></div>
77
+ <div><img src="https://gitlab.com/uploads/-/system/user/avatar/10570471/avatar.png" width="200px;" alt=""/></div>
34
78
  <small>Chris Latimer</small>
35
- <div><a href="https://gitlab.com/coopeng/sds/oneweb/experience-kit/commits/master" title="Code">💻</a> <a href="#infra-chris.latimer" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></div>
79
+ <div><a href="#infra-chris.latimer" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://gitlab.com/coopeng/sds/oneweb/experience-kit/commits/master" title="Code">💻</a></div>
36
80
  </a></td>
37
81
  <td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/craig.mckay">
38
82
  <div><img src="https://s3.eu-west-1.amazonaws.com/assets.digital.coop.co.uk/oneweb/blank.jpg" width="200px;" alt=""/></div>
@@ -107,4 +151,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
107
151
 
108
152
  <!-- ALL-CONTRIBUTORS-LIST:END -->
109
153
 
110
- This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
154
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Check out the [contributing guidelines](https://gitlab.com/coopeng/sds/oneweb/experience-kit/-/blob/main/CONTRIBUTING.md) to add new people. Contributions of any kind welcome!
155
+
156
+
157
+ ## Troubleshooting
158
+
159
+ This is still a work in progress, we appreciate feedback. If you have any issues, please get in touch via [tech query channel on slack](https://co-opdigital.slack.com/archives/C0167V69R8W).
File without changes
package/dist/reset.css ADDED
@@ -0,0 +1,81 @@
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ html {
8
+ -moz-text-size-adjust: none;
9
+ -webkit-text-size-adjust: none;
10
+ text-size-adjust: none;
11
+ }
12
+
13
+ body,
14
+ h1,
15
+ h2,
16
+ h3,
17
+ h4,
18
+ p,
19
+ figure,
20
+ blockquote,
21
+ dl,
22
+ dd {
23
+ margin-block-end: 0;
24
+ }
25
+
26
+ html,
27
+ body {
28
+ font-family: "Avenir Next", sans-serif;
29
+ font-size: var(--type-size-default);
30
+ color: var(--color-text);
31
+ }
32
+
33
+ body {
34
+ margin: 0;
35
+ padding: 0;
36
+ border: 0;
37
+ min-height: 100vh;
38
+ line-height: var(--type-line-height);
39
+ -webkit-font-smoothing: antialiased;
40
+ -moz-osx-font-smoothing: grayscale;
41
+ }
42
+
43
+ input,
44
+ button,
45
+ textarea,
46
+ select {
47
+ font-family: inherit;
48
+ font-size: inherit;
49
+ }
50
+
51
+ button,
52
+ input,
53
+ label {
54
+ line-height: 1.1;
55
+ }
56
+
57
+ h1,
58
+ h2,
59
+ h3,
60
+ h4 {
61
+ text-wrap: balance;
62
+ }
63
+
64
+ a:not([class]) {
65
+ text-decoration-skip-ink: auto;
66
+ color: currentcolor;
67
+ }
68
+
69
+ img,
70
+ picture {
71
+ max-width: 100%;
72
+ display: block;
73
+ }
74
+
75
+ textarea:not([rows]) {
76
+ min-height: 10rem;
77
+ }
78
+
79
+ :target {
80
+ scroll-margin-block: 5ex;
81
+ }
@@ -0,0 +1,391 @@
1
+ :root {
2
+ /* Spacing: Base */
3
+ --spacing-base: var(--spacing-32);
4
+ --spacing-base--3-4: var(--spacing-24);
5
+ --spacing-base--1-2: var(--spacing-16);
6
+ --spacing-base--1-4: var(--spacing-8);
7
+ --spacing-base--1-8: var(--spacing-2);
8
+ /* Spacing: Medium */
9
+ --spacing-medium: var(--spacing-64);
10
+ --spacing-medium--3-4: var(--spacing-48);
11
+ --spacing-medium--1-2: var(--spacing-32);
12
+ --spacing-medium--1-4: var(--spacing-16);
13
+ --spacing-medium--1-8: var(--spacing-8);
14
+ }
15
+
16
+ :root {
17
+ --color-brand-cls-blue-dark: #114d94;
18
+ --color-brand-cls-blue-mid: #0761c2;
19
+ --color-brand-cls-blue-light: #287cdf;
20
+ /* Bereavement Advice Centre */
21
+ --color-brand-bac-purple: #674170;
22
+ }
23
+
24
+ :root {
25
+ /* Core brands */
26
+ --color-brand-coop: #00a1cc;
27
+ --color-brand-deals: #d12430;
28
+ /* Core brands (backwards compatibility) */
29
+ --color-brand: var(--color-brand-coop);
30
+ --color-deal-red: var(--color-brand-deals);
31
+ /* Colours */
32
+ --color-white: #ffffff;
33
+ --color-black: #000000;
34
+ /* Text greys */
35
+ --color-text: #282828;
36
+ --color-text-alt: #595959;
37
+ /* Tints */
38
+ --color-tint-purple: #fef2ff;
39
+ --color-tint-pink: #ffeaf2;
40
+ --color-tint-green: #f9fbdd;
41
+ --color-tint-orange: #ffede0;
42
+ --color-tint-red: #ffe8e9;
43
+ --color-tint-yellow: #fff6da;
44
+ --color-tint-lilac: #f2f2ff;
45
+ --color-tint-blue: #e6f6fa;
46
+ /* Grey backgrounds */
47
+ --color-grey-mid-light: #d8d8d8;
48
+ --color-grey-mid: #c4c4c4;
49
+ --color-grey-dark: #6e6e6e;
50
+ /* Neutral backgrounds */
51
+ --color-grey-neutral-light: #f3f3f3;
52
+ --color-grey-light: var(--color-grey-neutral-light);
53
+ --color-grey-neutral-warm: #f5f5f0;
54
+ --color-grey-neutral-cool: #dde9ed;
55
+ --color-grey-neutral-cool-light: #f2f4f7;
56
+ /* Links */
57
+ --color-link: #00729a;
58
+ --color-link-hover: #00394e;
59
+ --color-link-focus: #8d44d8;
60
+ --color-link-active: #002c3d;
61
+ --color-link-visited: var(--color-link-active);
62
+ /* Phasing out the '--' for modifiers as it causes issues with design token processing (EG lodash) */
63
+ --color-link--hover: var(--color-link-hover);
64
+ --color-link--focus: var(--color-link-focus);
65
+ --color-link--active: var(--color-link-active);
66
+ --color-link--visited: var(--color-link-active);
67
+ /* Buttons */
68
+ /* Primary green */
69
+ --color-button-green-primary: #0f8482;
70
+ --color-button-green-primary-hover: #1c6b6a;
71
+ --color-button-green-primary-active: #124948;
72
+ --color-button-primary: var(--color-button-green-primary);
73
+ --color-button-primary--hover: var(--color-button-green-primary-hover);
74
+ --color-button-primary--active: var(--color-button-green-primary-active);
75
+ /* Blue button */
76
+ --color-button-blue: #005878;
77
+ --color-button-blue-hover: #003e55;
78
+ --color-button-blue-active: #001f2b;
79
+ --color-button-dark: var(--color-button-blue);
80
+ --color-button-dark--hover: var(--color-button-blue-hover);
81
+ --color-button-dark--active: var(--color-button-blue-active);
82
+ /* Grey button */
83
+ --color-button-grey: #efefef;
84
+ --color-button-grey-hover: var(--color-grey-mid-light);
85
+ --color-button-grey-active: var(--color-grey-mid);
86
+ /* White button */
87
+ --color-button-white: var(--color-white);
88
+ --color-button-white-hover: var(--color-button-grey);
89
+ --color-button-white-active: var(--color-grey-mid-light);
90
+ /* default button */
91
+ --color-button: var(--color-button-blue);
92
+ --color-button--hover: var(--color-button-blue-hover);
93
+ --color-button--active: var(--color-button-blue-active);
94
+ /* Notifications */
95
+ --color-red-error: #e20f14;
96
+ --color-red-error-text: #d12430;
97
+ --color-red-error-light: #fcf1f1;
98
+ --color-orange-alert: #f8d156;
99
+ --color-orange-alert-light: #f8eec7;
100
+ --color-green-success: #50811b;
101
+ --color-green-success-light: #d7e3c6;
102
+ --color-blue-inform: #0761c2;
103
+ --color-blue-inform-light: #eef3fc;
104
+ --color-blue-notification: var(--color-blue-inform);
105
+ --color-blue-notification-light: var(--color-blue-inform-light);
106
+ /* The numeric value at the end tallies to the lightness value of the colours in HSL to give some granularity to the system */
107
+ /* Reds */
108
+ --color-red-dark-4: #ba2327;
109
+ --color-red-mid-5: var(--color-red-error);
110
+ --color-red-light-7: #ff6a6d;
111
+ --color-red-light-8: #ffc1c3;
112
+ --color-red-light-9: #ffdbdb;
113
+ --color-red-light-10: #fcf1f1;
114
+ --color-red-dark: var(--color-red-dark-4);
115
+ --color-red-mid: var(--color-red-mid-5);
116
+ /* Oranges */
117
+ --color-orange-dark-4: #be4015;
118
+ --color-orange-mid-5: #fc5724;
119
+ --color-orange-mid-6: #fd7b3b;
120
+ --color-orange-mid-7: #fd9c59;
121
+ --color-orange-light-8: #fdb979;
122
+ --color-orange-light-9: #fee7c1;
123
+ --color-orange-light-10: #fff8e7;
124
+ --color-orange-mid: var(--color-orange-mid-5);
125
+ /* Yellows */
126
+ --color-yellow-dark-4: #cfb214;
127
+ --color-yellow-mid-5: #ffd309;
128
+ --color-yellow-mid-6: #ffe53b;
129
+ --color-yellow-mid-7: #fff372;
130
+ --color-yellow-light-8: #fffca9;
131
+ --color-yellow-light-9: #fffbcd;
132
+ --color-yellow-light-10: #fcf9ee;
133
+ --color-yellow-mid: var(--color-yellow-mid-5);
134
+ --color-yellow-light: var(--color-yellow-mid-7);
135
+ --color-yellow-bright: var(--color-yellow-mid-6);
136
+ /* Greens */
137
+ --color-green-dark-2: #3a6002;
138
+ --color-green-mid-3: #4f820d;
139
+ --color-green-mid-4: #72aa24;
140
+ --color-green-mid-5: #96cb48;
141
+ --color-green-light-6: #b9e277;
142
+ --color-green-light-8: #e7f7cb;
143
+ --color-green-light-10: #f6fce9;
144
+ --color-green-dark: var(--color-green-dark-2);
145
+ --color-green-mid: var(--color-green-mid-3);
146
+ --color-green-light: var(--color-green-mid-5);
147
+ --color-green-bright: var(--color-green-light-6);
148
+ /* Teals */
149
+ --color-teal-dark-2: #046062;
150
+ --color-teal-mid-3: #0f8482;
151
+ --color-teal-mid-4: #27aaab;
152
+ --color-teal-mid-6: #4bc7cc;
153
+ --color-teal-light-7: #79dce3;
154
+ --color-teal-light-9: #ccf2f7;
155
+ --color-teal-light-10: #e9fafc;
156
+ --color-turquoise-dark: var(--color-teal-dark-2);
157
+ --color-turquoise-mid: var(--color-teal-mid-3);
158
+ --color-turquoise-light: var(--color-teal-light-7);
159
+ --color-turquoise-bright: var(--color-teal-light-7);
160
+ /* Blues */
161
+ --color-blue-dark-3: #114d94;
162
+ --color-blue-mid-4: #0761c2;
163
+ --color-blue-mid-6: #519af5;
164
+ --color-blue-light-8: #80b7ff;
165
+ --color-blue-light-9: #cfe3ff;
166
+ --color-blue-light-10: #eef3fc;
167
+ --color-blue-dark: var(--color-blue-dark-3);
168
+ --color-blue-bright: var(--color-blue-mid-6);
169
+ --color-blue-light: var(--color-blue-light-9);
170
+ --color-blue-mid: var(--color-blue-mid-4);
171
+ /* Indigos */
172
+ --color-indigo-dark-4: #3b427f;
173
+ --color-indigo-mid-5: #4f52a8;
174
+ --color-indigo-mid-7: #8d9ae4;
175
+ --color-indigo-light-8: #afbdf5;
176
+ --color-indigo-light-9: #cfdbfe;
177
+ --color-indigo-light-10: #eff3fa;
178
+ /* Purples */
179
+ --color-purple-dark-3: #51178c;
180
+ --color-purple-mid-4: #6727b9;
181
+ --color-purple-mid-6: #8d44d8;
182
+ --color-purple-light-8: #d395fe;
183
+ --color-purple-light-9: #edc3ff;
184
+ --color-purple-light-10: #f9edfc;
185
+ --color-purple-dark: var(--color-purple-dark-3);
186
+ /* Magentas */
187
+ --color-magenta-dark-3: #812373;
188
+ --color-magenta-mid-4: #ab278d;
189
+ --color-magenta-mid-7: #f690f1;
190
+ --color-magenta-light-8: #feb8ff;
191
+ --color-magenta-light-9: #fad1fe;
192
+ --color-magenta-light-10: #faeafc;
193
+ --color-purple-mid: var(--color-magenta-mid-4);
194
+ --color-pink-light: var(--color-magenta-mid-7);
195
+ --color-pink-bright: var(--color-magenta-light-9);
196
+ /* Reintroducing Co-op branding colours */
197
+ --color-navy: #003057;
198
+ --color-light-purple: #f8beff;
199
+ --color-light-pink: #ff94bf;
200
+ --color-light-green: #e1ec54;
201
+ --color-light-orange: #ffa465;
202
+ --color-light-red: #ff8c90;
203
+ --color-light-yellow: #ffd245;
204
+ --color-light-lilac: #bfbffd;
205
+ --color-light-blue: #bfe7f2;
206
+ --color-dark-purple: #c164c9;
207
+ --color-dark-pink: #f85792;
208
+ --color-dark-green: #819c00;
209
+ --color-dark-orange: #e85a00;
210
+ --color-dark-red: #f14f57;
211
+ --color-dark-yellow: #c08a00;
212
+ --color-dark-lilac: #6762f9;
213
+ --color-brand-ric-color-navy: var(--color-navy);
214
+ --color-brand-ric-color-light-purple: var(--color-light-purple);
215
+ --color-brand-ric-color-light-pink: var(--color-light-pink);
216
+ --color-brand-ric-color-light-green: var(--color-light-green);
217
+ --color-brand-ric-color-light-orange: var(--color-light-orange);
218
+ --color-brand-ric-color-light-red: var(--color-light-red);
219
+ --color-brand-ric-color-light-yellow: var(--color-light-yellow);
220
+ --color-brand-ric-color-light-lilac: var(--color-light-lilac);
221
+ --color-brand-ric-color-light-blue: var(--color-light-blue);
222
+ --color-brand-ric-color-dark-purple: var(--color-dark-purple);
223
+ --color-brand-ric-color-dark-pink: var(--color-dark-pink);
224
+ --color-brand-ric-color-dark-green: var(--color-dark-green);
225
+ --color-brand-ric-color-dark-orange: var(--color-dark-orange);
226
+ --color-brand-ric-color-dark-red: var(--color-dark-red);
227
+ --color-brand-ric-color-dark-yellow: var(--color-dark-yellow);
228
+ --color-brand-ric-color-dark-lilac: var(--color-dark-lilac);
229
+ }
230
+
231
+ :root {
232
+ /* Membership (Purple) */
233
+ --color-brand-membership-purple-dark-1: #483965;
234
+ --color-brand-membership-purple-dark-2: #635385;
235
+ --color-brand-membership-purple-dark-3: #776ca7;
236
+ --color-brand-membership-purple-mid-5: #8e88ba; /* core */
237
+ --color-brand-membership-purple-mid-6: #847db5; /* screen */
238
+ --color-brand-membership-purple-light-8: #b2aece;
239
+ --color-brand-membership-purple-light-9: #d3d1e4;
240
+ --color-brand-membership-purple-light-10: #eae8f4;
241
+ --color-brand-membership-purple-dark: var(--color-brand-membership-purple-dark-3);
242
+ --color-brand-membership-purple-mid: var(--color-brand-membership-purple-mid-5);
243
+ --color-brand-membership-purple-bright: var(--color-brand-membership-purple-mid-6);
244
+ --color-brand-membership-purple-light: var(--color-brand-membership-purple-light-8);
245
+ --color-brand-membership-purple-lighter: var(--color-brand-membership-purple-light-9);
246
+ --color-brand-membership-purple-lightest: var(--color-brand-membership-purple-light-10);
247
+ /* Membership (Lilac) */
248
+ --color-brand-membership-lilac-dark-1: #52355e;
249
+ --color-brand-membership-lilac-dark-2: #715287;
250
+ --color-brand-membership-lilac-dark-3: #806697;
251
+ --color-brand-membership-lilac-mid-5: #9976a8; /* core */
252
+ --color-brand-membership-lilac-mid-6: #a976bb; /* screen */
253
+ --color-brand-membership-lilac-light-8: #bba2c6;
254
+ --color-brand-membership-lilac-light-9: #ccbad4;
255
+ --color-brand-membership-lilac-light-10: #e6dde9;
256
+ --color-brand-membership-lilac-dark: var(--color-brand-membership-lilac-dark-3);
257
+ --color-brand-membership-lilac-mid: var(--color-brand-membership-lilac-mid-5);
258
+ --color-brand-membership-lilac-bright: var(--color-brand-membership-lilac-mid-6);
259
+ --color-brand-membership-lilac-light: var(--color-brand-membership-lilac-light-8);
260
+ --color-brand-membership-lilac-lighter: var(--color-brand-membership-lilac-light-9);
261
+ --color-brand-membership-lilac-lightest: var(--color-brand-membership-lilac-light-10);
262
+ /* Membership (Pink) */
263
+ --color-brand-membership-pink-dark-1: #6c3e53;
264
+ --color-brand-membership-pink-dark-2: #864e68;
265
+ --color-brand-membership-pink-dark-3: #9d5b7b;
266
+ --color-brand-membership-pink-mid-5: #bc7190; /* core */
267
+ --color-brand-membership-pink-mid-6: #d15c8c; /* screen */
268
+ --color-brand-membership-pink-light-8: #d19fb4;
269
+ --color-brand-membership-pink-light-9: #e3cbd4;
270
+ --color-brand-membership-pink-light-10: #f0e5eb;
271
+ --color-brand-membership-pink-dark: var(--color-brand-membership-pink-dark-3);
272
+ --color-brand-membership-pink-mid: var(--color-brand-membership-pink-mid-5);
273
+ --color-brand-membership-pink-bright: var(--color-brand-membership-pink-mid-6);
274
+ --color-brand-membership-pink-light: var(--color-brand-membership-pink-light-8);
275
+ --color-brand-membership-pink-lighter: var(--color-brand-membership-pink-light-9);
276
+ --color-brand-membership-pink-lightest: var(--color-brand-membership-pink-light-10);
277
+ /* Membership (Orange) */
278
+ --color-brand-membership-orange-dark-1: #783620;
279
+ --color-brand-membership-orange-dark-2: #9b462b;
280
+ --color-brand-membership-orange-dark-3: #b45d2b;
281
+ --color-brand-membership-orange-mid-5: #e69c39; /* core */
282
+ --color-brand-membership-orange-mid-6: #f5a74b; /* screen */
283
+ --color-brand-membership-orange-light-8: #e6bb8f;
284
+ --color-brand-membership-orange-light-9: #f0ddd1;
285
+ --color-brand-membership-orange-light-10: #f7eeeb;
286
+ --color-brand-membership-orange-dark: var(--color-brand-membership-orange-dark-3);
287
+ --color-brand-membership-orange-mid: var(--color-brand-membership-orange-mid-5);
288
+ --color-brand-membership-orange-bright: var(--color-brand-membership-orange-mid-6);
289
+ --color-brand-membership-orange-light: var(--color-brand-membership-orange-light-8);
290
+ --color-brand-membership-orange-lighter: var(--color-brand-membership-orange-light-9);
291
+ --color-brand-membership-orange-lightest: var(--color-brand-membership-orange-light-10);
292
+ /* Membership (Yellow) */
293
+ --color-brand-membership-yellow-dark-1: #704e24;
294
+ --color-brand-membership-yellow-dark-2: #916b3a;
295
+ --color-brand-membership-yellow-dark-3: #bf843e;
296
+ --color-brand-membership-yellow-mid-5: #ecd16d; /* core */
297
+ --color-brand-membership-yellow-mid-6: #f8da6d; /* screen */
298
+ --color-brand-membership-yellow-light-8: #edd273;
299
+ --color-brand-membership-yellow-light-9: #f3e2a4;
300
+ --color-brand-membership-yellow-light-10: #f9f1d1;
301
+ --color-brand-membership-yellow-dark: var(--color-brand-membership-yellow-dark-3);
302
+ --color-brand-membership-yellow-mid: var(--color-brand-membership-yellow-mid-5);
303
+ --color-brand-membership-yellow-bright: var(--color-brand-membership-yellow-mid-6);
304
+ --color-brand-membership-yellow-light: var(--color-brand-membership-yellow-light-8);
305
+ --color-brand-membership-yellow-lighter: var(--color-brand-membership-yellow-light-9);
306
+ --color-brand-membership-yellow-lightest: var(--color-brand-membership-yellow-light-10);
307
+ /* Membership (Green) */
308
+ --color-brand-membership-green-dark-1: #3b3f25;
309
+ --color-brand-membership-green-dark-2: #565734;
310
+ --color-brand-membership-green-dark-3: #6a7345;
311
+ --color-brand-membership-green-mid-5: #c6c978; /* core */
312
+ --color-brand-membership-green-mid-6: #b3ce7b; /* screen */
313
+ --color-brand-membership-green-light-8: #d1d4a5;
314
+ --color-brand-membership-green-light-9: #e4e5c6;
315
+ --color-brand-membership-green-light-10: #f6f6eb;
316
+ --color-brand-membership-green-dark: var(--color-brand-membership-green-dark-3);
317
+ --color-brand-membership-green-mid: var(--color-brand-membership-green-mid-5);
318
+ --color-brand-membership-green-bright: var(--color-brand-membership-green-mid-6);
319
+ --color-brand-membership-green-light: var(--color-brand-membership-green-light-8);
320
+ --color-brand-membership-green-lighter: var(--color-brand-membership-green-light-9);
321
+ --color-brand-membership-green-lightest: var(--color-brand-membership-green-light-10);
322
+ /* Membership (Turquoise) */
323
+ --color-brand-membership-turquoise-dark-1: #2b4946;
324
+ --color-brand-membership-turquoise-dark-2: #39615f;
325
+ --color-brand-membership-turquoise-dark-3: #487d7b;
326
+ --color-brand-membership-turquoise-mid-5: #81b8b8; /* core */
327
+ --color-brand-membership-turquoise-mid-6: #87cdcd; /* screen */
328
+ --color-brand-membership-turquoise-light-8: #b9dad9;
329
+ --color-brand-membership-turquoise-light-9: #d3e7e5;
330
+ --color-brand-membership-turquoise-light-10: #ecf5f7;
331
+ --color-brand-membership-turquoise-dark: var(--color-brand-membership-turquoise-dark-3);
332
+ --color-brand-membership-turquoise-mid: var(--color-brand-membership-turquoise-mid-5);
333
+ --color-brand-membership-turquoise-bright: var(--color-brand-membership-turquoise-mid-6);
334
+ --color-brand-membership-turquoise-light: var(--color-brand-membership-turquoise-light-8);
335
+ --color-brand-membership-turquoise-lighter: var(--color-brand-membership-turquoise-light-9);
336
+ --color-brand-membership-turquoise-lightest: var(--color-brand-membership-turquoise-light-10);
337
+ /* Membership (Blue) */
338
+ --color-brand-membership-blue-dark-1: #2c4258;
339
+ --color-brand-membership-blue-dark-2: #456588;
340
+ --color-brand-membership-blue-dark-3: #5177a3;
341
+ --color-brand-membership-blue-mid-5: #8bb5e0; /* core */
342
+ --color-brand-membership-blue-mid-6: #8fbae6; /* screen */
343
+ --color-brand-membership-blue-light-8: #c1d7ee;
344
+ --color-brand-membership-blue-light-9: #d8e6f4;
345
+ --color-brand-membership-blue-light-10: #f0f6fd;
346
+ --color-brand-membership-blue-dark: var(--color-brand-membership-blue-dark-3);
347
+ --color-brand-membership-blue-mid: var(--color-brand-membership-blue-mid-5);
348
+ --color-brand-membership-blue-bright: var(--color-brand-membership-blue-mid-6);
349
+ --color-brand-membership-blue-light: var(--color-brand-membership-blue-light-8);
350
+ --color-brand-membership-blue-lighter: var(--color-brand-membership-blue-light-9);
351
+ --color-brand-membership-blue-lightest: var(--color-brand-membership-blue-light-10);
352
+ }
353
+
354
+ :root {
355
+ --font-family: "Avenir-Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
356
+ --font-family-headline: "Co-opHeadline", "Impact", Helvetica, Arial, sans-serif;
357
+ /* Typography */
358
+ --type-headline-mega-m: 5.125rem; /* 82px */
359
+ --type-headline-mega-s: 4rem; /* 64px */
360
+ --type-headline-mega-xs: 3rem; /* 48px */
361
+ --type-headline-h1-m: 4rem; /* 64px */
362
+ --type-headline-h1-s: 3rem; /* 48px */
363
+ --type-headline-h1-xs: 2.5rem; /* 40px */
364
+ --type-body-l: 1.25rem; /* 20px */
365
+ --type-body-s: 1.125rem; /* 18px */
366
+ --type-line-height: 1.5; /* 32px */
367
+ --type-h1-mega-l: 3.5rem; /* 56px */
368
+ --type-h1-mega-s: 3rem; /* 48px */
369
+ --type-h1-l: 2.875rem; /* 46px */
370
+ --type-h1-s: 1.875rem; /* 30px */
371
+ --type-h2-l: 2rem; /* 32px */
372
+ --type-h2-s: 1.625rem; /* 26px */
373
+ --type-h3-l: 1.625rem; /* 26px */
374
+ --type-h3-s: 1.375rem; /* 22px */
375
+ --type-h456-l: 1.375rem; /* 22px */
376
+ --type-h456-s: 1.125rem; /* 18px */
377
+ --type-blockquote: 1.25rem; /* 18px */
378
+ --type-lp-l: 1.625rem; /* 26px */
379
+ --type-lp-s: 1.375rem; /* 22px */
380
+ --type-sp-l: 1.25rem; /* 18px */
381
+ --type-sp-s: 1rem; /* 16px */
382
+ }
383
+
384
+ :root {
385
+ --ui-shadow: 0 2px 10px 0 rgb(0 0 0 / 15%);
386
+ --ui-shadow-hover: 0 2px 10px 0 rgb(0 0 0 / 25%);
387
+ --ui-shadow--hover: var(--ui-shadow-hover); /* stylelint-disable-line */
388
+ --ui-border-radius: 8px;
389
+ --ui-transition-hover: 0.15s ease-in-out;
390
+ --ui-transition-hover-property: background-color, color;
391
+ }