tide-design-system 2.0.53 → 2.1.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.
Files changed (60) hide show
  1. package/.storybook/main.ts +3 -3
  2. package/.storybook/preview.ts +0 -4
  3. package/dist/css/dynamic-utilities.css +0 -1
  4. package/dist/css/realm/aero.css +31 -37
  5. package/dist/css/realm/atv.css +21 -41
  6. package/dist/css/realm/boatmart.css +20 -40
  7. package/dist/css/realm/cycle.css +19 -39
  8. package/dist/css/realm/equipment.css +31 -37
  9. package/dist/css/realm/pwc.css +31 -37
  10. package/dist/css/realm/rv.css +20 -39
  11. package/dist/css/realm/snow.css +31 -37
  12. package/dist/css/realm/truck.css +31 -37
  13. package/dist/css/variables.css +18 -0
  14. package/dist/style.css +1 -1
  15. package/dist/tide-design-system.cjs +2 -2
  16. package/dist/tide-design-system.esm.d.ts +224 -213
  17. package/dist/tide-design-system.esm.js +567 -614
  18. package/dist/utilities/storybook.ts +4 -3
  19. package/index.ts +4 -4
  20. package/package.json +1 -1
  21. package/src/assets/css/dynamic-utilities.css +0 -1
  22. package/src/assets/css/realm/aero.css +31 -37
  23. package/src/assets/css/realm/atv.css +21 -41
  24. package/src/assets/css/realm/boatmart.css +20 -40
  25. package/src/assets/css/realm/cycle.css +19 -39
  26. package/src/assets/css/realm/equipment.css +31 -37
  27. package/src/assets/css/realm/pwc.css +31 -37
  28. package/src/assets/css/realm/rv.css +20 -39
  29. package/src/assets/css/realm/snow.css +31 -37
  30. package/src/assets/css/realm/truck.css +31 -37
  31. package/src/assets/css/variables.css +18 -0
  32. package/src/components/TideAccordionItem.vue +27 -56
  33. package/src/components/TideAlert.vue +15 -15
  34. package/src/components/TideBreadCrumbs.vue +6 -7
  35. package/src/components/{TideTabs.vue → TideButtonSegmented.vue} +9 -15
  36. package/src/components/TideCarousel.vue +1 -1
  37. package/src/components/TideModal.vue +3 -3
  38. package/src/components/TidePagination.vue +4 -4
  39. package/src/components/{TideToggle.vue → TideSwitch.vue} +18 -26
  40. package/src/stories/TideAccordionItem.stories.ts +37 -12
  41. package/src/stories/TideBackgroundImage.stories.ts +2 -6
  42. package/src/stories/TideButton.stories.ts +5 -5
  43. package/src/stories/TideButtonIcon.stories.ts +5 -5
  44. package/src/stories/TideButtonPagination.stories.ts +5 -5
  45. package/src/stories/{TideTabs.stories.ts → TideButtonSegmented.stories.ts} +18 -21
  46. package/src/stories/TideCard.stories.ts +5 -5
  47. package/src/stories/TideCarousel.stories.ts +11 -24
  48. package/src/stories/TideChipFilter.stories.ts +14 -4
  49. package/src/stories/TideChipInput.stories.ts +14 -3
  50. package/src/stories/TideInputCheckbox.stories.ts +5 -5
  51. package/src/stories/TideInputRadio.stories.ts +18 -5
  52. package/src/stories/TideInputSelect.stories.ts +5 -5
  53. package/src/stories/TideInputText.stories.ts +4 -7
  54. package/src/stories/TideInputTextarea.stories.ts +2 -2
  55. package/src/stories/TideLink.stories.ts +4 -2
  56. package/src/stories/TideModal.stories.ts +6 -4
  57. package/src/stories/TidePagination.stories.ts +9 -10
  58. package/src/stories/{TideToggle.stories.ts → TideSwitch.stories.ts} +15 -15
  59. package/src/types/Styles.ts +0 -1
  60. package/src/utilities/storybook.ts +4 -3
@@ -56,16 +56,17 @@ export const change = {
56
56
  name: 'change',
57
57
  table: {
58
58
  defaultValue: { summary: 'None' },
59
- type: { summary: '(event: Event) => void' },
59
+ type: { summary: '() => void' },
60
60
  },
61
61
  };
62
62
 
63
63
  export const click = {
64
64
  control: 'text',
65
65
  description: 'JS code or function to execute on click event',
66
+ isEmit: true,
66
67
  table: {
67
68
  defaultValue: { summary: 'None' },
68
- type: { summary: '(event: Event) => void' },
69
+ type: { summary: '() => void' },
69
70
  },
70
71
  };
71
72
 
@@ -208,7 +209,7 @@ export const formatSnippet = (code: string, context: StoryContext) => {
208
209
 
209
210
  if (isEmit) {
210
211
  if (value) {
211
- return `@change="${value}"`;
212
+ return `@${argType.name}="${value}"`;
212
213
  }
213
214
  }
214
215
 
package/index.ts CHANGED
@@ -8,6 +8,7 @@ import TideBreadCrumbs from '@/components/TideBreadCrumbs.vue';
8
8
  import TideButton from '@/components/TideButton.vue';
9
9
  import TideButtonIcon from '@/components/TideButtonIcon.vue';
10
10
  import TideButtonPagination from '@/components/TideButtonPagination.vue';
11
+ import TideButtonSegmented from '@/components/TideButtonSegmented.vue';
11
12
  import TideCard from '@/components/TideCard.vue';
12
13
  import TideCarousel from '@/components/TideCarousel.vue';
13
14
  import TideChipAction from '@/components/TideChipAction.vue';
@@ -27,8 +28,7 @@ import TideLink from '@/components/TideLink.vue';
27
28
  import TideModal from '@/components/TideModal.vue';
28
29
  import TidePagination from '@/components/TidePagination.vue';
29
30
  import TideSeoLinks from '@/components/TideSeoLinks.vue';
30
- import TideTabs from '@/components/TideTabs.vue';
31
- import TideToggle from '@/components/TideToggle.vue';
31
+ import TideSwitch from '@/components/TideSwitch.vue';
32
32
  import { ALERT } from '@/types/Alert';
33
33
  import { BADGE, BADGE_PREMIUM, BADGE_TRUSTED } from '@/types/Badge';
34
34
  import { BREAKPOINT, MEDIA } from '@/types/Breakpoint';
@@ -195,6 +195,7 @@ export {
195
195
  TideButton,
196
196
  TideButtonIcon,
197
197
  TideButtonPagination,
198
+ TideButtonSegmented,
198
199
  TideCard,
199
200
  TideCarousel,
200
201
  TideChipAction,
@@ -214,6 +215,5 @@ export {
214
215
  TideModal,
215
216
  TidePagination,
216
217
  TideSeoLinks,
217
- TideTabs,
218
- TideToggle,
218
+ TideSwitch,
219
219
  };
package/package.json CHANGED
@@ -61,5 +61,5 @@
61
61
  "main": "dist/tide-design-system.cjs",
62
62
  "module": "dist/tide-design-system.esm.js",
63
63
  "types": "dist/tide-design-system.esm.d.ts",
64
- "version": "2.0.53"
64
+ "version": "2.1.0"
65
65
  }
@@ -6,7 +6,6 @@
6
6
  .tide-bg-surface-variant {background: var(--tide-surface-variant);}
7
7
  .tide-bg-surface-brand {background: var(--tide-surface-brand);}
8
8
  .tide-bg-surface-accent {background: var(--tide-surface-accent);}
9
- .tide-bg-surface-accent-variant {background: var(--tide-surface-accent-variant);}
10
9
  .tide-bg-surface-gradient {background: var(--tide-surface-gradient);}
11
10
  .tide-bg-surface-floating {background: var(--tide-surface-floating);}
12
11
 
@@ -1,43 +1,37 @@
1
1
  /* Aero Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-color1: #4e9ac8;
5
- --tide-color2: #006C97;
6
- --tide-color3: #83CBFB;
7
- --tide-atmosphere: #E3E8F1;
8
-
9
- --tide-gradient: linear-gradient(
10
- to bottom right,
11
- var(--tide-color3) 50%,
12
- var(--tide-color2) 150%
13
- );
14
-
15
- --tide-floating: rgba(255, 255, 255, 0);
4
+ --tide-realm-aqua: #90E0E6;
5
+ --tide-realm-atmosphere: #3F6EBD;
6
+ --tide-realm-cloud: #E2E8F2;
7
+ --tide-realm-sky: #AAD4F0;
8
+ --tide-realm-starry: #153976;
16
9
 
17
10
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
18
- --tide-primary: var(--tide-color1);
19
- --tide-on-primary: var(--tide-white);
20
-
21
- --tide-secondary: var(--tide-black);
22
- --tide-on-secondary: var(--tide-white);
23
-
24
- --tide-surface: var(--tide-white);
25
- --tide-surface-variant: var(--tide-gray-200);
26
- --tide-surface-brand: var(--tide-color1);
27
- --tide-surface-accent: var(--tide-atmosphere);
28
- --tide-surface-accent-variant: var(--tide-color3);
29
- --tide-surface-gradient: var(--tide-gradient);
30
- --tide-surface-floating: var(--tide-floating);
31
-
32
- --tide-on-surface: var(--tide-black);
33
- --tide-on-surface-variant: var(--tide-gray-800);
34
- --tide-on-surface-brand: var(--tide-color1);
35
-
36
- --tide-on-surface-inverse: var(--tide-white);
37
- --tide-on-surface-inverse-variant: var(--tide-transparent-200);
38
-
39
- --tide-border: var(--tide-gray-400);
40
- --tide-border-low: var(--tide-gray-600);
41
- --tide-border-high: var(--tide-black);
42
- --tide-border-floating: var(--tide-gray-300);
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-surface-gradient:
19
+ /* bottom right */
20
+ radial-gradient(
21
+ 57.27% 60.26% at 100% 103.53%,
22
+ color-mix(in srgb, var(--tide-realm-sky) 65%, transparent) 0%,
23
+ color-mix(in srgb, var(--tide-realm-sky) 0%, transparent) 100%
24
+ ),
25
+ /* top */
26
+ radial-gradient(
27
+ 157.36% 151.94% at 19.69% -3.53%,
28
+ color-mix(in srgb, var(--tide-realm-aqua) 42%, transparent) 28.37%,
29
+ color-mix(in srgb, var(--tide-realm-aqua) 0%, transparent) 100%
30
+ ),
31
+ /* bottom left */
32
+ radial-gradient(
33
+ 41.93% 63.48% at -2.12% 103.9%,
34
+ color-mix(in srgb, var(--tide-realm-atmosphere) 32%, transparent) 0%,
35
+ color-mix(in srgb, var(--tide-realm-atmosphere) 0%, transparent) 100%
36
+ );
43
37
  }
@@ -1,57 +1,37 @@
1
1
  /* ATV Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-charcoal: #33383B;
5
- --tide-maroon: #9B2702;
6
- --tide-orange: #C7521A;
7
- --tide-peach: #EFBA88;
8
- --tide-sand: #F8EADD;
9
-
10
- --tide-floating: rgba(0, 0, 0, 0);
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;
11
9
 
12
10
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
13
- --tide-primary: var(--tide-orange);
14
- --tide-on-primary: var(--tide-white);
15
-
16
- --tide-secondary: var(--tide-black);
17
- --tide-on-secondary: var(--tide-white);
18
-
19
- --tide-surface: var(--tide-white);
20
- --tide-surface-variant: var(--tide-gray-200);
21
- --tide-surface-brand: var(--tide-charcoal);
22
- --tide-surface-accent: var(--tide-sand);
23
- --tide-surface-accent-variant: var(--tide-maroon);
24
- --tide-surface-floating: var(--tide-floating);
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);
25
17
 
26
18
  --tide-surface-gradient:
27
- /* top */
28
- radial-gradient(
29
- 157.36% 151.94% at 19.69% -3.53%,
30
- color-mix(in srgb, var(--tide-surface-accent-variant) 72%, transparent) 28.37%,
31
- color-mix(in srgb, var(--tide-surface-accent-variant) 0%, transparent) 100%
32
- ),
33
19
  /* bottom right */
34
20
  radial-gradient(
35
21
  57.27% 60.26% at 100% 103.53%,
36
- color-mix(in srgb, var(--tide-surface-accent) 22%, transparent) 0%,
37
- color-mix(in srgb, var(--tide-surface-accent) 0%, transparent) 100%
22
+ color-mix(in srgb, var(--tide-realm-maroon) 27%, transparent) 0%,
23
+ color-mix(in srgb, var(--tide-realm-maroon) 0%, transparent) 100%
24
+ ),
25
+ /* top */
26
+ radial-gradient(
27
+ 157.36% 151.94% at 19.69% -3.53%,
28
+ color-mix(in srgb, var(--tide-realm-peach) 37%, transparent) 28.37%,
29
+ color-mix(in srgb, var(--tide-realm-peach) 0%, transparent) 100%
38
30
  ),
39
31
  /* bottom left */
40
32
  radial-gradient(
41
33
  41.93% 63.48% at -2.12% 103.9%,
42
- color-mix(in srgb, var(--tide-surface-brand) 50%, transparent) 0%,
43
- color-mix(in srgb, var(--tide-surface-brand) 0%, transparent) 100%
34
+ color-mix(in srgb, var(--tide-realm-orange) 44%, transparent) 0%,
35
+ color-mix(in srgb, var(--tide-realm-orange) 0%, transparent) 100%
44
36
  );
45
-
46
- --tide-on-surface: var(--tide-black);
47
- --tide-on-surface-variant: var(--tide-gray-800);
48
- --tide-on-surface-brand: var(--tide-orange);
49
-
50
- --tide-on-surface-inverse: var(--tide-white);
51
- --tide-on-surface-inverse-variant: var(--tide-transparent-200);
52
-
53
- --tide-border: var(--tide-gray-600);
54
- --tide-border-low: var(--tide-gray-400);
55
- --tide-border-high: var(--tide-black);
56
- --tide-border-floating: var(--tide-gray-300);
57
37
  }
@@ -1,57 +1,37 @@
1
1
  /* Boatmart Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-navy: #1D4977;
5
- --tide-navy-dark: #143353;
6
- --tide-mint: #46CFD1;
7
- --tide-sand: #FFCF86;
8
- --tide-mist: #DBEDFC;
9
-
10
- --tide-floating: rgba(255, 255, 255, 0);
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: #FF642B;
11
9
 
12
10
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
13
- --tide-primary: var(--tide-navy);
14
- --tide-on-primary: var(--tide-gray-100);
15
-
16
- --tide-secondary: var(--tide-gray-900);
17
- --tide-on-secondary: var(--tide-gray-100);
11
+ --tide-primary: var(--tide-realm-navy);
12
+ --tide-surface-accent: var(--tide-realm-mist);
13
+ --tide-surface-brand: var(--tide-realm-navy-dark);
18
14
 
19
- --tide-surface: var(--tide-gray-100);
20
- --tide-surface-variant: var(--tide-gray-200);
21
- --tide-surface-brand: var(--tide-navy);
22
- --tide-surface-accent: var(--tide-mist);
23
- --tide-surface-accent-variant: var(--tide-mint);
24
- --tide-surface-floating: var(--tide-floating);
15
+ --tide-on-primary: var(--tide-gray-100);
16
+ --tide-on-surface-brand: var(--tide-realm-navy);
25
17
 
26
18
  --tide-surface-gradient:
27
- /* top */
28
- radial-gradient(
29
- 157.36% 151.94% at 19.69% -3.53%,
30
- color-mix(in srgb, var(--tide-surface-accent-variant) 72%, transparent) 28.37%,
31
- color-mix(in srgb, var(--tide-surface-accent-variant) 0%, transparent) 100%
32
- ),
33
19
  /* bottom right */
34
20
  radial-gradient(
35
21
  57.27% 60.26% at 100% 103.53%,
36
- color-mix(in srgb, var(--tide-surface-accent) 22%, transparent) 0%,
37
- color-mix(in srgb, var(--tide-surface-accent) 0%, transparent) 100%
22
+ color-mix(in srgb, var(--tide-realm-orange) 12%, transparent) 0%,
23
+ color-mix(in srgb, var(--tide-realm-orange) 0%, transparent) 100%
24
+ ),
25
+ /* top */
26
+ radial-gradient(
27
+ 157.36% 151.94% at 19.69% -3.53%,
28
+ color-mix(in srgb, var(--tide-realm-blue) 27%, transparent) 28.37%,
29
+ color-mix(in srgb, var(--tide-realm-blue) 0%, transparent) 100%
38
30
  ),
39
31
  /* bottom left */
40
32
  radial-gradient(
41
33
  41.93% 63.48% at -2.12% 103.9%,
42
- color-mix(in srgb, var(--tide-surface-brand) 50%, transparent) 0%,
43
- color-mix(in srgb, var(--tide-surface-brand) 0%, transparent) 100%
34
+ color-mix(in srgb, var(--tide-realm-navy) 32%, transparent) 0%,
35
+ color-mix(in srgb, var(--tide-realm-navy) 0%, transparent) 100%
44
36
  );
45
-
46
- --tide-on-surface: var(--tide-gray-900);
47
- --tide-on-surface-variant: var(--tide-gray-700);
48
- --tide-on-surface-brand: var(--tide-navy);
49
-
50
- --tide-on-surface-inverse: var(--tide-gray-100);
51
- --tide-on-surface-inverse-variant: var(--tide-transparent-200);
52
-
53
- --tide-border: var(--tide-gray-600);
54
- --tide-border-low: var(--tide-gray-400);
55
- --tide-border-high: var(--tide-gray-900);
56
- --tide-border-floating: var(--tide-gray-300);
57
37
  }
@@ -1,56 +1,36 @@
1
1
  /* Cycle Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-pure-black: #000000;
5
- --tide-red: #C50000;
6
- --tide-steel-blue: #C9DDE5;
7
- --tide-light-blue: #DFECF2;
8
-
9
- --tide-floating: rgba(255, 255, 255, 0);
4
+ --tide-realm-light-blue: #DFECF2;
5
+ --tide-realm-pure-black: #000000;
6
+ --tide-realm-red: #C50000;
7
+ --tide-realm-steel-blue: #1C3F53;
10
8
 
11
9
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
12
- --tide-primary: var(--tide-pure-black);
13
- --tide-on-primary: var(--tide-white);
14
-
15
- --tide-secondary: var(--tide-black);
16
- --tide-on-secondary: var(--tide-white);
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);
17
13
 
18
- --tide-surface: var(--tide-white);
19
- --tide-surface-variant: var(--tide-gray-200);
20
- --tide-surface-brand: var(--tide-pure-black);
21
- --tide-surface-accent: var(--tide-light-blue);
22
- --tide-surface-accent-variant: var(--tide-steel-blue);
23
- --tide-surface-floating: var(--tide-floating);
14
+ --tide-on-primary: var(--tide-gray-100);
15
+ --tide-on-surface-brand: var(--tide-realm-steel-blue);
24
16
 
25
17
  --tide-surface-gradient:
26
- /* top */
27
- radial-gradient(
28
- 157.36% 151.94% at 19.69% -3.53%,
29
- color-mix(in srgb, var(--tide-surface-accent-variant) 100%, transparent) 28.37%,
30
- color-mix(in srgb, var(--tide-surface-accent-variant) 0%, transparent) 100%
31
- ),
32
18
  /* bottom right */
33
19
  radial-gradient(
34
20
  57.27% 60.26% at 100% 103.53%,
35
- color-mix(in srgb, var(--tide-surface-accent) 22%, transparent) 0%,
36
- color-mix(in srgb, var(--tide-surface-accent) 0%, transparent) 100%
21
+ color-mix(in srgb, var(--tide-realm-red) 8%, transparent) 0%,
22
+ color-mix(in srgb, var(--tide-realm-red) 0%, transparent) 100%
23
+ ),
24
+ /* top */
25
+ radial-gradient(
26
+ 157.36% 151.94% at 19.69% -3.53%,
27
+ color-mix(in srgb, var(--tide-realm-steel-blue) 28%, transparent) 28.37%,
28
+ color-mix(in srgb, var(--tide-realm-steel-blue) 0%, transparent) 100%
37
29
  ),
38
30
  /* bottom left */
39
31
  radial-gradient(
40
32
  41.93% 63.48% at -2.12% 103.9%,
41
- rgba(228, 228, 229, 0.72) 0%,
42
- rgba(228, 228, 229, 0.00) 100%
33
+ color-mix(in srgb, var(--tide-realm-pure-black) 17%, transparent) 0%,
34
+ color-mix(in srgb, var(--tide-realm-pure-black) 0%, transparent) 100%
43
35
  );
44
-
45
- --tide-on-surface: var(--tide-black);
46
- --tide-on-surface-variant: var(--tide-gray-800);
47
- --tide-on-surface-brand: var(--tide-pure-black);
48
-
49
- --tide-on-surface-inverse: var(--tide-white);
50
- --tide-on-surface-inverse-variant: var(--tide-transparent-200);
51
-
52
- --tide-border: var(--tide-gray-400);
53
- --tide-border-low: var(--tide-gray-600);
54
- --tide-border-high: var(--tide-black);
55
- --tide-border-floating: var(--tide-gray-300);
56
36
  }
@@ -1,43 +1,37 @@
1
1
  /* Equipment Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-evergreen: #468200;
5
- --tide-steel: #494949;
6
- --tide-yellow: #FFCE34;
7
- --tide-moss: #EEF6D7;
8
-
9
- --tide-gradient: linear-gradient(
10
- to bottom right,
11
- var(--tide-evergreen) 50%,
12
- var(--tide-yellow) 150%
13
- );
14
-
15
- --tide-floating: rgba(255, 255, 255, 0);
4
+ --tide-realm-charcoal: #333333;
5
+ --tide-realm-evergreen: #468200;
6
+ --tide-realm-moss: #ECF6D4;
7
+ --tide-realm-steel: #494949;
8
+ --tide-realm-yellow: #FFCE34;
16
9
 
17
10
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
18
- --tide-primary: var(--tide-steel);
19
- --tide-on-primary: var(--tide-white);
20
-
21
- --tide-secondary: var(--tide-black);
22
- --tide-on-secondary: var(--tide-white);
23
-
24
- --tide-surface: var(--tide-white);
25
- --tide-surface-variant: var(--tide-gray-200);
26
- --tide-surface-brand: var(--tide-steel);
27
- --tide-surface-accent: var(--tide-moss);
28
- --tide-surface-accent-variant: var(--tide-evergreen);
29
- --tide-surface-gradient: var(--tide-gradient);
30
- --tide-surface-floating: var(--tide-floating);
31
-
32
- --tide-on-surface: var(--tide-black);
33
- --tide-on-surface-variant: var(--tide-gray-800);
34
- --tide-on-surface-brand: var(--tide-steel);
35
-
36
- --tide-on-surface-inverse: var(--tide-white);
37
- --tide-on-surface-inverse-variant: var(--tide-transparent-200);
38
-
39
- --tide-border: var(--tide-gray-400);
40
- --tide-border-low: var(--tide-gray-600);
41
- --tide-border-high: var(--tide-black);
42
- --tide-border-floating: var(--tide-gray-300);
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-surface-gradient:
19
+ /* bottom right */
20
+ radial-gradient(
21
+ 57.27% 60.26% at 100% 103.53%,
22
+ color-mix(in srgb, var(--tide-realm-evergreen) 22%, transparent) 0%,
23
+ color-mix(in srgb, var(--tide-realm-evergreen) 0%, transparent) 100%
24
+ ),
25
+ /* top */
26
+ radial-gradient(
27
+ 157.36% 151.94% at 19.69% -3.53%,
28
+ color-mix(in srgb, var(--tide-realm-yellow) 29%, transparent) 28.37%,
29
+ color-mix(in srgb, var(--tide-realm-yellow) 0%, transparent) 100%
30
+ ),
31
+ /* bottom left */
32
+ radial-gradient(
33
+ 41.93% 63.48% at -2.12% 103.9%,
34
+ color-mix(in srgb, var(--tide-realm-steel) 39%, transparent) 0%,
35
+ color-mix(in srgb, var(--tide-realm-steel) 0%, transparent) 100%
36
+ );
43
37
  }
@@ -1,43 +1,37 @@
1
1
  /* PWC Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-color1: #0B72B8;
5
- --tide-color2: #085487;
6
- --tide-color3: #59A0EB;
7
- --tide-foam: #E0EBF5;
8
-
9
- --tide-gradient: linear-gradient(
10
- to bottom right,
11
- var(--tide-color2) 50%,
12
- var(--tide-color3) 150%
13
- );
14
-
15
- --tide-floating: rgba(255, 255, 255, 0);
4
+ --tide-realm-baby-blue: #86C0F4;
5
+ --tide-realm-blue: #0B72B8;
6
+ --tide-realm-cantaloupe: #ECA26A;
7
+ --tide-realm-foam: #DDEBF6;
8
+ --tide-realm-midnight-blue: #002344;
16
9
 
17
10
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
18
- --tide-primary: var(--tide-color1);
19
- --tide-on-primary: var(--tide-gray-100);
20
-
21
- --tide-secondary: var(--tide-gray-900);
22
- --tide-on-secondary: var(--tide-gray-100);
23
-
24
- --tide-surface: var(--tide-gray-100);
25
- --tide-surface-variant: var(--tide-gray-200);
26
- --tide-surface-brand: var(--tide-color1);
27
- --tide-surface-accent: var(--tide-foam);
28
- --tide-surface-accent-variant: var(--tide-color2);
29
- --tide-surface-gradient: var(--tide-gradient);
30
- --tide-surface-floating: var(--tide-floating);
31
-
32
- --tide-on-surface: var(--tide-gray-900);
33
- --tide-on-surface-variant: var(--tide-gray-700);
34
- --tide-on-surface-brand: var(--tide-color1);
35
-
36
- --tide-on-surface-inverse: var(--tide-gray-100);
37
- --tide-on-surface-inverse-variant: var(--tide-transparent-200);
38
-
39
- --tide-border: var(--tide-gray-600);
40
- --tide-border-low: var(--tide-gray-400);
41
- --tide-border-high: var(--tide-gray-900);
42
- --tide-border-floating: var(--tide-gray-300);
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-surface-gradient:
19
+ /* bottom right */
20
+ radial-gradient(
21
+ 57.27% 60.26% at 100% 103.53%,
22
+ color-mix(in srgb, var(--tide-realm-cantaloupe) 22%, transparent) 0%,
23
+ color-mix(in srgb, var(--tide-realm-cantaloupe) 0%, transparent) 100%
24
+ ),
25
+ /* top */
26
+ radial-gradient(
27
+ 157.36% 151.94% at 19.69% -3.53%,
28
+ color-mix(in srgb, var(--tide-realm-baby-blue) 39%, transparent) 28.37%,
29
+ color-mix(in srgb, var(--tide-realm-baby-blue) 0%, transparent) 100%
30
+ ),
31
+ /* bottom left */
32
+ radial-gradient(
33
+ 41.93% 63.48% at -2.12% 103.9%,
34
+ color-mix(in srgb, var(--tide-realm-blue) 36%, transparent) 0%,
35
+ color-mix(in srgb, var(--tide-realm-blue) 0%, transparent) 100%
36
+ );
43
37
  }
@@ -1,56 +1,37 @@
1
1
  /* RV Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-green: #006836;
5
- --tide-green-dark: #004926;
6
- --tide-pistachio: #BFD9CD;
7
- --tide-yellow: #F2B203;
8
-
9
- --tide-floating: rgba(255, 255, 255, 0);
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;
10
9
 
11
10
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
12
- --tide-primary: var(--tide-green);
13
- --tide-on-primary: var(--tide-gray-100);
14
-
15
- --tide-secondary: var(--tide-gray-900);
16
- --tide-on-secondary: var(--tide-gray-100);
11
+ --tide-primary: var(--tide-realm-green);
12
+ --tide-surface-accent: var(--tide-realm-pistachio);
13
+ --tide-surface-brand: var(--tide-realm-dark-green);
17
14
 
18
- --tide-surface: var(--tide-gray-100);
19
- --tide-surface-variant: var(--tide-gray-200);
20
- --tide-surface-brand: var(--tide-green);
21
- --tide-surface-accent: var(--tide-pistachio);
22
- --tide-surface-accent-variant: var(--tide-pistachio);
23
- --tide-surface-floating: var(--tide-floating);
15
+ --tide-on-primary: var(--tide-gray-100);
16
+ --tide-on-surface-brand: var(--tide-realm-green);
24
17
 
25
18
  --tide-surface-gradient:
26
- /* top */
27
- radial-gradient(
28
- 157.36% 151.94% at 19.69% -3.53%,
29
- color-mix(in srgb, var(--tide-surface-accent-variant) 72%, transparent) 28.37%,
30
- color-mix(in srgb, var(--tide-surface-accent-variant) 0%, transparent) 100%
31
- ),
32
19
  /* bottom right */
33
20
  radial-gradient(
34
21
  57.27% 60.26% at 100% 103.53%,
35
- color-mix(in srgb, var(--tide-yellow) 22%, transparent) 0%,
36
- color-mix(in srgb, var(--tide-yellow) 0%, transparent) 100%
22
+ color-mix(in srgb, var(--tide-realm-yellow) 15%, transparent) 0%,
23
+ color-mix(in srgb, var(--tide-realm-yellow) 0%, transparent) 100%
24
+ ),
25
+ /* top */
26
+ radial-gradient(
27
+ 157.36% 151.94% at 19.69% -3.53%,
28
+ color-mix(in srgb, var(--tide-realm-pistachio) 42%, transparent) 28.37%,
29
+ color-mix(in srgb, var(--tide-realm-pistachio) 0%, transparent) 100%
37
30
  ),
38
31
  /* bottom left */
39
32
  radial-gradient(
40
33
  41.93% 63.48% at -2.12% 103.9%,
41
- color-mix(in srgb, var(--tide-surface-brand) 50%, transparent) 0%,
42
- color-mix(in srgb, var(--tide-surface-brand) 0%, transparent) 100%
34
+ color-mix(in srgb, var(--tide-realm-green) 36%, transparent) 0%,
35
+ color-mix(in srgb, var(--tide-realm-green) 0%, transparent) 100%
43
36
  );
44
-
45
- --tide-on-surface: var(--tide-gray-900);
46
- --tide-on-surface-variant: var(--tide-gray-700);
47
- --tide-on-surface-brand: var(--tide-green);
48
-
49
- --tide-on-surface-inverse: var(--tide-gray-100);
50
- --tide-on-surface-inverse-variant: var(--tide-transparent-200);
51
-
52
- --tide-border: var(--tide-gray-600);
53
- --tide-border-low: var(--tide-gray-400);
54
- --tide-border-high: var(--tide-gray-900);
55
- --tide-border-floating: var(--tide-gray-300);
56
37
  }