tide-design-system 2.4.2 → 2.4.3
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 +10 -9
- package/dist/css/fonts.css +36 -0
- package/dist/css/grid-layout.css +34 -0
- package/dist/css/main.css +5 -0
- package/dist/css/realm/aero.css +25 -0
- package/dist/css/realm/atv.css +25 -0
- package/dist/css/realm/boatmart.css +25 -0
- package/dist/css/realm/cycle.css +24 -0
- package/dist/css/realm/equipment.css +25 -0
- package/dist/css/realm/pwc.css +25 -0
- package/dist/css/realm/rv.css +25 -0
- package/dist/css/realm/snow.css +25 -0
- package/dist/css/realm/truck.css +25 -0
- package/dist/css/reset.css +95 -0
- package/dist/css/storybook.css +17 -0
- package/dist/css/utilities-base.css +545 -0
- package/dist/css/utilities-responsive.css +2737 -0
- package/dist/css/utilities.css +16 -0
- package/dist/css/variables.css +205 -0
- package/dist/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +2 -0
- package/dist/tide-design-system.esm.js +5 -5
- package/dist/utilities/event.ts +4 -0
- package/dist/utilities/format.ts +184 -0
- package/dist/utilities/forms.ts +22 -0
- package/dist/utilities/storybook.ts +352 -0
- package/dist/utilities/validation-deprecated.ts +252 -0
- package/dist/utilities/validation.ts +132 -0
- package/dist/utilities/viewport.ts +63 -0
- package/{src/docs → docs}/integration-full.md +1 -1
- package/{src/docs → docs}/integration-partial.md +1 -1
- package/docs/token-cheatsheet.md +63 -0
- package/package.json +2 -2
- package/src/components/TideInputRadioDeprecated.vue +1 -0
- package/src/components/TideInputTextDeprecated.vue +1 -0
- /package/{src/docs → docs}/assets/native-input-validation.png +0 -0
- /package/{src/docs → docs}/development.md +0 -0
- /package/{src/docs → docs}/figma.md +0 -0
- /package/{src/docs → docs}/forms.md +0 -0
- /package/{src/docs → docs}/migration.md +0 -0
- /package/{src/docs → docs}/storybook.md +0 -0
- /package/{src/docs → docs}/style-guide.md +0 -0
- /package/{src/docs → docs}/upgrading.md +0 -0
- /package/{src/docs → docs}/workflows.md +0 -0
package/README.md
CHANGED
|
@@ -6,15 +6,16 @@ TIDE (*T*rader *I*nteractive *D*esign and *E*ngineering) is a design system crea
|
|
|
6
6
|
3. Basic components can be leveraged by any Vue 3 project.
|
|
7
7
|
|
|
8
8
|
## Guides
|
|
9
|
-
- [Figma](./
|
|
10
|
-
- [Storybook](./
|
|
11
|
-
- [Marketplace Style Guides](./
|
|
12
|
-
- [Full Integration (Vue 3)](./
|
|
13
|
-
- [Partial Integration (CSS only)](./
|
|
14
|
-
- [Migration](./
|
|
15
|
-
- [Workflows](./
|
|
16
|
-
- [Development](./
|
|
17
|
-
- [Upgrade guide](./
|
|
9
|
+
- [Figma](./docs/figma.md): Explore `TIDE` standards, tokens, and components as maintained by the `TIDE team`.
|
|
10
|
+
- [Storybook](./docs/storybook.md): Explore `TIDE` utilities and components to generate working code implementations.
|
|
11
|
+
- [Marketplace Style Guides](./docs/style-guide.md): Explore `TIDE` utilities and components in a realm-specific production environment.
|
|
12
|
+
- [Full Integration (Vue 3)](./docs/integration-full.md): Leverage `TIDE` utilities and components from a compatible `consumer repository`.
|
|
13
|
+
- [Partial Integration (CSS only)](./docs/integration-partial.md): Leverage `TIDE` utilties from any `consumer repository`.
|
|
14
|
+
- [Migration](./docs/development.md): Replace local structures with `TIDE` utilities and components.
|
|
15
|
+
- [Workflows](./docs/workflows.md): Collaborate with the `TIDE team` on feature enhancements.
|
|
16
|
+
- [Development](./docs/development.md): Contribute to the `tide-design-system` NPM package.
|
|
17
|
+
- [Upgrade guide](./docs/upgrading.md): Upgrade versions of the `tide-design-system` npm package
|
|
18
|
+
- [Figma Token Cheatsheet](./docs/token-cheatsheet.md): Remember how to implement Figma tokens from code
|
|
18
19
|
|
|
19
20
|
## Glossary
|
|
20
21
|
- **TIDE**: the design system itself - a series of conceptual, agreed-upon standards and guidelines meant to emphasize a consistent, scalable user experience across the suite of Trader Interactive websites
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* latin */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Montserrat';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
font-display: block;
|
|
7
|
+
src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
8
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9
|
+
}
|
|
10
|
+
/* latin */
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'Montserrat';
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-weight: 500;
|
|
15
|
+
font-display: block;
|
|
16
|
+
src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
17
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
18
|
+
}
|
|
19
|
+
/* latin */
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'Montserrat';
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
font-display: block;
|
|
25
|
+
src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
26
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
27
|
+
}
|
|
28
|
+
/* latin */
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: 'Montserrat';
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
font-display: block;
|
|
34
|
+
src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
35
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
36
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--tide-1232px: 73rem;
|
|
3
|
+
--tide-1920px: 120rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.tide-grid-layout {
|
|
7
|
+
--tide-max-content-width: var(--tide-1232px);
|
|
8
|
+
--tide-column-width: minmax(0, var(--tide-max-content-width));
|
|
9
|
+
--tide-gutter-width: var(--tide-spacing-1);
|
|
10
|
+
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-auto-rows: min-content;
|
|
13
|
+
grid-template-columns:
|
|
14
|
+
minmax(var(--tide-gutter-width), 1fr)
|
|
15
|
+
var(--tide-column-width)
|
|
16
|
+
minmax(var(--tide-gutter-width), 1fr);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (min-width: 768px) {
|
|
20
|
+
.tide-grid-layout {--tide-gutter-width: var(--tide-spacing-2);}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (min-width: 1232px) {
|
|
24
|
+
.tide-grid-layout {--tide-gutter-width: var(--tide-spacing-4);}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tide-grid-xl {--tide-max-content-width: var(--tide-1920px);}
|
|
28
|
+
|
|
29
|
+
.tide-grid-layout > *,
|
|
30
|
+
.tide-grid-item {
|
|
31
|
+
grid-column: 2 / -2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.tide-fluid {grid-column: 1 / -1;}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Aero Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-aqua: #A2DEE5;
|
|
5
|
+
--tide-realm-atmosphere: #3F6EBD;
|
|
6
|
+
--tide-realm-cloud: #E3E8F1;
|
|
7
|
+
--tide-realm-sky: #AAD4F0;
|
|
8
|
+
--tide-realm-starry: #3F6EBD;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-atmosphere);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-cloud);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-starry);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-starry);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-sky);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-aqua);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-atmosphere);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 65%;
|
|
23
|
+
--tide-gradient-top-opacity: 42%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 32%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* ATV Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-charcoal: #33383B;
|
|
5
|
+
--tide-realm-maroon: #9B2702;
|
|
6
|
+
--tide-realm-orange: #C7521A;
|
|
7
|
+
--tide-realm-peach: #E59A49;
|
|
8
|
+
--tide-realm-sand: #F8EADD;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-orange);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-sand);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-charcoal);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-orange);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-maroon);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-peach);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-orange);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 27%;
|
|
23
|
+
--tide-gradient-top-opacity: 37%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 44%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Boatmart Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-blue: #499CC7;
|
|
5
|
+
--tide-realm-mist: #DBEDFC;
|
|
6
|
+
--tide-realm-navy-dark: #143353;
|
|
7
|
+
--tide-realm-navy: #1D4977;
|
|
8
|
+
--tide-realm-orange: #D24614;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-navy);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-mist);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-navy-dark);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-navy);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-orange);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-blue);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-navy);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 12%;
|
|
23
|
+
--tide-gradient-top-opacity: 27%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 32%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Cycle Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-light-blue: #DFECF2;
|
|
5
|
+
--tide-realm-pure-black: #000000;
|
|
6
|
+
--tide-realm-red: #C50000;
|
|
7
|
+
--tide-realm-steel-blue: #253E51;
|
|
8
|
+
|
|
9
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
10
|
+
--tide-primary: var(--tide-realm-pure-black);
|
|
11
|
+
--tide-surface-accent: var(--tide-realm-light-blue);
|
|
12
|
+
--tide-surface-brand: var(--tide-gray-900);
|
|
13
|
+
|
|
14
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
15
|
+
--tide-on-surface-brand: var(--tide-realm-steel-blue);
|
|
16
|
+
|
|
17
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-red);
|
|
18
|
+
--tide-gradient-top-color: var(--tide-realm-steel-blue);
|
|
19
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-pure-black);
|
|
20
|
+
|
|
21
|
+
--tide-gradient-bottom-right-opacity: 8%;
|
|
22
|
+
--tide-gradient-top-opacity: 28%;
|
|
23
|
+
--tide-gradient-bottom-left-opacity: 17%;
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Equipment Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-charcoal: #333333;
|
|
5
|
+
--tide-realm-evergreen: #468200;
|
|
6
|
+
--tide-realm-moss: #EEF6D7;
|
|
7
|
+
--tide-realm-steel: #494949;
|
|
8
|
+
--tide-realm-yellow: #FFCE34;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-steel);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-moss);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-charcoal);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-evergreen);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-evergreen);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-yellow);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-steel);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 22%;
|
|
23
|
+
--tide-gradient-top-opacity: 29%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 39%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* PWC Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-baby-blue: #86C0F4;
|
|
5
|
+
--tide-realm-blue: #0B72B8;
|
|
6
|
+
--tide-realm-cantaloupe: #ECA26A;
|
|
7
|
+
--tide-realm-foam: #E0EBF5;
|
|
8
|
+
--tide-realm-midnight-blue: #002344;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-blue);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-foam);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-midnight-blue);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-blue);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-cantaloupe);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-baby-blue);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-blue);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 22%;
|
|
23
|
+
--tide-gradient-top-opacity: 39%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 36%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* RV Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-dark-green: #004926;
|
|
5
|
+
--tide-realm-green: #006836;
|
|
6
|
+
--tide-realm-mint: #98CFB6;
|
|
7
|
+
--tide-realm-pistachio: #E0EDE7;
|
|
8
|
+
--tide-realm-yellow: #F2B203;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-green);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-pistachio);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-dark-green);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-green);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-yellow);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-mint);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-green);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 15%;
|
|
23
|
+
--tide-gradient-top-opacity: 42%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 36%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Snowmobile Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-frost: #E3E8F2;
|
|
5
|
+
--tide-realm-ice: #81C9DF;
|
|
6
|
+
--tide-realm-sapphire-dark: #122754;
|
|
7
|
+
--tide-realm-sapphire: #193778;
|
|
8
|
+
--tide-realm-twilight: #CCC5E7;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-sapphire);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-frost);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-sapphire-dark);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-sapphire);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-ice);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-twilight);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-sapphire);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 32%;
|
|
23
|
+
--tide-gradient-top-opacity: 42%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 44%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Commercial Truck Trader Realm Colors */
|
|
2
|
+
:root {
|
|
3
|
+
/* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
|
|
4
|
+
--tide-realm-baby-blue: #97D1E3;
|
|
5
|
+
--tide-realm-blue: #005F9E;
|
|
6
|
+
--tide-realm-cloud: #DBEDF7;
|
|
7
|
+
--tide-realm-granny-smith: #A6E6A7;
|
|
8
|
+
--tide-realm-midnight-blue: #172C4B;
|
|
9
|
+
|
|
10
|
+
/* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
|
|
11
|
+
--tide-primary: var(--tide-realm-blue);
|
|
12
|
+
--tide-surface-accent: var(--tide-realm-cloud);
|
|
13
|
+
--tide-surface-brand: var(--tide-realm-midnight-blue);
|
|
14
|
+
|
|
15
|
+
--tide-on-primary: var(--tide-gray-100);
|
|
16
|
+
--tide-on-surface-brand: var(--tide-realm-blue);
|
|
17
|
+
|
|
18
|
+
--tide-gradient-bottom-right-color: var(--tide-realm-granny-smith);
|
|
19
|
+
--tide-gradient-top-color: var(--tide-realm-baby-blue);
|
|
20
|
+
--tide-gradient-bottom-left-color: var(--tide-realm-blue);
|
|
21
|
+
|
|
22
|
+
--tide-gradient-bottom-right-opacity: 28%;
|
|
23
|
+
--tide-gradient-top-opacity: 42%;
|
|
24
|
+
--tide-gradient-bottom-left-opacity: 36%;
|
|
25
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
font-size: 16px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
color: var(--tide-on-surface);
|
|
7
|
+
font-size: var(--tide-font-16);
|
|
8
|
+
font-weight: 400;
|
|
9
|
+
line-height: 1.4;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Cannot be applied to body tag in marketplace repo due to data-css-scope */
|
|
13
|
+
.body-scroll-lock {
|
|
14
|
+
inset: 0;
|
|
15
|
+
margin-top: calc(0px - var(--saved-scroll-y, 0px));
|
|
16
|
+
overflow-y: scroll;
|
|
17
|
+
position: fixed;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
*,
|
|
21
|
+
*::before,
|
|
22
|
+
*::after {
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
margin: 0;
|
|
25
|
+
border: 0;
|
|
26
|
+
padding: 0;
|
|
27
|
+
color: inherit;
|
|
28
|
+
font-family: Montserrat;
|
|
29
|
+
font-weight: inherit;
|
|
30
|
+
line-height: inherit;
|
|
31
|
+
-webkit-font-smoothing: antialiased;
|
|
32
|
+
-moz-osx-font-smoothing: grayscale;
|
|
33
|
+
text-underline-offset: .2em;
|
|
34
|
+
text-decoration-skip-ink: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
h1 {font-size: var(--tide-font-32);} /* 32px */
|
|
38
|
+
h2 {font-size: var(--tide-font-24);} /* 24px */
|
|
39
|
+
h3 {font-size: var(--tide-font-20);} /* 20px */
|
|
40
|
+
h4 {font-size: var(--tide-font-16);} /* 16px */
|
|
41
|
+
h5 {font-size: var(--tide-font-16);} /* 16px */
|
|
42
|
+
|
|
43
|
+
h1,
|
|
44
|
+
h2,
|
|
45
|
+
h3,
|
|
46
|
+
h4,
|
|
47
|
+
h5 {
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
img,
|
|
52
|
+
label {
|
|
53
|
+
display: block;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
img {
|
|
57
|
+
max-width: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
p {
|
|
61
|
+
max-width: 80ch;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
button,
|
|
65
|
+
input,
|
|
66
|
+
option,
|
|
67
|
+
select,
|
|
68
|
+
textarea {
|
|
69
|
+
background-color: unset;
|
|
70
|
+
font-family: inherit;
|
|
71
|
+
font-size: inherit;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
button:enabled,
|
|
75
|
+
select {
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
button:disabled {
|
|
80
|
+
cursor: not-allowed;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* cross-browser normalization */
|
|
84
|
+
input::placeholder {
|
|
85
|
+
color: var(--tide-gray-700);
|
|
86
|
+
opacity: 1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Clears the ‘X’ from Chrome */
|
|
90
|
+
input::-webkit-search-decoration,
|
|
91
|
+
input::-webkit-search-cancel-button,
|
|
92
|
+
input::-webkit-search-results-button,
|
|
93
|
+
input::-webkit-search-results-decoration {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* Styles used for Storybook demonstration purposes only. Not bundled into distribution package. */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
|
|
3
|
+
|
|
4
|
+
.sb-border-black {border: 1px solid #000000;}
|
|
5
|
+
.sb-border-blue-light {border: 1px solid #CCDEF3;}
|
|
6
|
+
.sb-border-white {border: 1px solid #FFFFFF;}
|
|
7
|
+
|
|
8
|
+
.sb-bg-black {background-color: #000000;}
|
|
9
|
+
.sb-bg-blue {background-color: #0000FF;}
|
|
10
|
+
.sb-bg-blue-light {background-color: #CCDEF3;}
|
|
11
|
+
.sb-bg-green {background-color: #00FF00;}
|
|
12
|
+
.sb-bg-red {background-color: #FF0000;}
|
|
13
|
+
.sb-bg-white {background-color: #FFFFFF;}
|
|
14
|
+
|
|
15
|
+
.sb-font-black {color: #000000;}
|
|
16
|
+
.sb-font-blue-light {color: #CCDEF3;}
|
|
17
|
+
.sb-font-white {color: #FFFFFF;}
|