tide-design-system 2.4.1 → 2.4.2

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.
Files changed (39) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/tide-design-system.cjs +2 -2
  3. package/dist/tide-design-system.esm.d.ts +15 -15
  4. package/dist/tide-design-system.esm.js +6 -6
  5. package/netlify.toml +3 -0
  6. package/package.json +5 -3
  7. package/src/components/TideChipAction.vue +1 -1
  8. package/src/components/TideImageBackground.vue +2 -2
  9. package/src/components/TideInputCheckboxDeprecated.vue +2 -2
  10. package/src/components/TideInputRadioDeprecated.vue +2 -2
  11. package/src/components/TideInputTextDeprecated.vue +2 -2
  12. package/src/stories/FoundationsTypography.stories.ts +24 -0
  13. package/src/types/Storybook.ts +10 -0
  14. package/vite.config.sandbox.ts +29 -0
  15. package/dist/css/fonts.css +0 -36
  16. package/dist/css/grid-layout.css +0 -34
  17. package/dist/css/main.css +0 -5
  18. package/dist/css/realm/aero.css +0 -25
  19. package/dist/css/realm/atv.css +0 -25
  20. package/dist/css/realm/boatmart.css +0 -25
  21. package/dist/css/realm/cycle.css +0 -24
  22. package/dist/css/realm/equipment.css +0 -25
  23. package/dist/css/realm/pwc.css +0 -25
  24. package/dist/css/realm/rv.css +0 -25
  25. package/dist/css/realm/snow.css +0 -25
  26. package/dist/css/realm/truck.css +0 -25
  27. package/dist/css/reset.css +0 -95
  28. package/dist/css/storybook.css +0 -17
  29. package/dist/css/utilities-base.css +0 -545
  30. package/dist/css/utilities-responsive.css +0 -2737
  31. package/dist/css/utilities.css +0 -16
  32. package/dist/css/variables.css +0 -205
  33. package/dist/utilities/event.ts +0 -4
  34. package/dist/utilities/format.ts +0 -184
  35. package/dist/utilities/forms.ts +0 -22
  36. package/dist/utilities/storybook.ts +0 -352
  37. package/dist/utilities/validation-deprecated.ts +0 -252
  38. package/dist/utilities/validation.ts +0 -132
  39. package/dist/utilities/viewport.ts +0 -63
package/netlify.toml ADDED
@@ -0,0 +1,3 @@
1
+ [context."sandbox"]
2
+ command = "npm run build-sandbox"
3
+ publish = "/dist"
package/package.json CHANGED
@@ -44,15 +44,17 @@
44
44
  },
45
45
  "scripts": {
46
46
  "build": "npm run enforce && npm run build-vite",
47
+ "build-sandbox": "vite build --config vite.config.sandbox.ts",
47
48
  "build-storybook": "npm run build-vite && storybook build && cp -r src/assets/ storybook-static/",
48
- "build-vite": "vite build && cp -r src/assets/css/ dist/css/ && cp -r src/utilities/ dist/utilities/",
49
+ "build-vite": "vite build",
49
50
  "coverage": "vitest run --coverage",
50
51
  "dev": "vite",
51
52
  "enforce": "npm run lint && npm run type-check && npm run test",
52
53
  "lint": "eslint . --ext .js,.ts,.vue --ignore-path .gitignore",
53
54
  "lint:fix": "eslint . --ext .js,.ts,.vue --ignore-path .gitignore --fix",
54
55
  "precommit": "npm run lint:fix && npm run type-check && npm run test",
55
- "preview": "npm run build-storybook && npx http-server -a localhost storybook-static/",
56
+ "preview-sandbox": "npm run build-sandbox && npx http-server -a localhost dist/",
57
+ "preview-storybook": "npm run build && npx http-server -a localhost storybook-static/",
56
58
  "storybook": "storybook dev -p 6006",
57
59
  "test": "vitest run",
58
60
  "type-check": "vue-tsc --noEmit"
@@ -61,7 +63,7 @@
61
63
  "main": "dist/tide-design-system.cjs",
62
64
  "module": "dist/tide-design-system.esm.js",
63
65
  "types": "dist/tide-design-system.esm.d.ts",
64
- "version": "2.4.1",
66
+ "version": "2.4.2",
65
67
  "dependencies": {
66
68
  "@floating-ui/vue": "^1.1.6"
67
69
  }
@@ -8,7 +8,7 @@
8
8
  import type { Element } from '@/types/Element';
9
9
 
10
10
  type Props = {
11
- element: Element;
11
+ element?: Element;
12
12
  href?: string;
13
13
  isNewTab?: boolean;
14
14
  label: string;
@@ -6,8 +6,8 @@
6
6
  import type { Source } from '@/types/Source';
7
7
 
8
8
  type Props = {
9
- alt: string;
10
- isLazy: boolean;
9
+ alt?: string;
10
+ isLazy?: boolean;
11
11
  sources?: Source[];
12
12
  src?: string;
13
13
  };
@@ -19,8 +19,8 @@
19
19
  disabled?: boolean;
20
20
  indeterminate?: boolean;
21
21
  inputId?: string;
22
- label: string;
23
- name: string;
22
+ label?: string;
23
+ name?: string;
24
24
  number?: number;
25
25
  };
26
26
 
@@ -15,8 +15,8 @@
15
15
  checked?: boolean;
16
16
  disabled?: boolean;
17
17
  inputId?: string;
18
- label: string;
19
- name: string;
18
+ label?: string;
19
+ name?: string;
20
20
  number?: number;
21
21
  };
22
22
 
@@ -27,10 +27,10 @@
27
27
  hasClear?: boolean;
28
28
  iconLeading?: Icon;
29
29
  inputId?: string;
30
- label: string;
30
+ label?: string;
31
31
  maxlength?: number | undefined;
32
32
  minlength?: number | undefined;
33
- name: string;
33
+ name?: string;
34
34
  prefix?: string;
35
35
  required?: boolean;
36
36
  suffix?: string;
@@ -4,6 +4,8 @@ import { formatArgType, getConstantsByValues, prependNoneAsEmpty } from '@/utili
4
4
  import type { StoryContext } from '@storybook/vue3';
5
5
 
6
6
  const TYPOGRAPHY = prependNoneAsEmpty(STYLES.TYPOGRAPHY);
7
+ const TEXT_DECORATION = prependNoneAsEmpty(STYLES.TEXT_DECORATION);
8
+ const TEXT_TRANSFORM = prependNoneAsEmpty(STYLES.TEXT_TRANSFORM);
7
9
 
8
10
  const formatArgs = (args: any) => {
9
11
  args.class = formatClassNames(args).join(' ');
@@ -15,6 +17,8 @@ const formatClassNames = (args: any) => {
15
17
  const classNames: string[] = [];
16
18
 
17
19
  if (args.type) classNames.push(args.type);
20
+ if (args.textDecoration) classNames.push(args.textDecoration);
21
+ if (args.textTransform) classNames.push(args.textTransform);
18
22
 
19
23
  return classNames;
20
24
  };
@@ -63,6 +67,24 @@ export default {
63
67
  type: { summary: 'string' },
64
68
  },
65
69
  },
70
+ textDecoration: {
71
+ ...formatArgType({ TEXT_DECORATION }),
72
+ description: 'Applies text decoration styles',
73
+ name: 'Text Decoration',
74
+ table: {
75
+ defaultValue: { summary: 'None' },
76
+ type: { summary: 'CSS.STRIKETHROUGH | CSS.UNDERLINE' },
77
+ },
78
+ },
79
+ textTransform: {
80
+ ...formatArgType({ TEXT_TRANSFORM }),
81
+ description: 'Applies text transformation styles',
82
+ name: 'Text Transform',
83
+ table: {
84
+ defaultValue: { summary: 'None' },
85
+ type: { summary: 'CSS.TEXT_TRANSFORM' },
86
+ },
87
+ },
66
88
  type: {
67
89
  ...formatArgType({ TYPOGRAPHY }),
68
90
  description: `Applies font rules`,
@@ -75,6 +97,8 @@ export default {
75
97
  },
76
98
  args: {
77
99
  label: 'Aa',
100
+ textDecoration: TEXT_DECORATION.None,
101
+ textTransform: TEXT_TRANSFORM.None,
78
102
  type: TYPOGRAPHY.None,
79
103
  },
80
104
  parameters,
@@ -217,6 +217,16 @@ export const SHADOW = {
217
217
  Top: CSS.SHADOW.TOP,
218
218
  };
219
219
 
220
+ export const TEXT_DECORATION = {
221
+ Strikethrough: CSS.STRIKETHROUGH.ON,
222
+ Underline: CSS.UNDERLINE.REST.ON,
223
+ };
224
+
225
+ export const TEXT_TRANSFORM = {
226
+ Lowercase: CSS.TEXT_TRANSFORM.LOWER,
227
+ Uppercase: CSS.TEXT_TRANSFORM.UPPER,
228
+ };
229
+
220
230
  export const TRANSPARENT = {
221
231
  '100: 90% White': CSS.BG.TRANSPARENT.ONE_HUNDRED,
222
232
  '200: 75% White': CSS.BG.TRANSPARENT.TWO_HUNDRED,
@@ -0,0 +1,29 @@
1
+ import vue from '@vitejs/plugin-vue';
2
+ import { URL, fileURLToPath } from 'node:url';
3
+ import { defineConfig } from 'vite';
4
+ import ViteDts from 'vite-plugin-dts';
5
+ import svgLoader from 'vite-svg-loader';
6
+
7
+ // https://vitejs.dev/config/
8
+ export default defineConfig({
9
+ build: {
10
+ cssCodeSplit: false,
11
+ outDir: 'dist',
12
+ sourcemap: true,
13
+ },
14
+ plugins: [
15
+ vue(),
16
+ svgLoader({
17
+ svgo: false,
18
+ }),
19
+ ViteDts({
20
+ insertTypesEntry: true,
21
+ rollupTypes: true,
22
+ }),
23
+ ],
24
+ resolve: {
25
+ alias: {
26
+ '@': fileURLToPath(new URL('./src', import.meta.url)),
27
+ },
28
+ },
29
+ });
@@ -1,36 +0,0 @@
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
- }
@@ -1,34 +0,0 @@
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;}
package/dist/css/main.css DELETED
@@ -1,5 +0,0 @@
1
- @import './fonts.css';
2
- @import './reset.css';
3
- @import './variables.css';
4
- @import './utilities.css';
5
- @import './grid-layout.css';
@@ -1,25 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,24 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,95 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
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;}