@snyk-mktg/brand-ui 2.5.9-canary.2 → 2.5.9

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 (63) hide show
  1. package/dist/css/bundle.css +1 -82
  2. package/dist/css/bundle.css.map +1 -1
  3. package/dist/css/components.css +1 -82
  4. package/dist/css/components.css.map +1 -1
  5. package/dist/css/evo-bundle.css +1 -31
  6. package/dist/css/evo-bundle.css.map +1 -1
  7. package/dist/css/labs-bundle.css +1 -31
  8. package/dist/css/labs-bundle.css.map +1 -1
  9. package/dist/js/helpers/caseFormats.test.d.ts +1 -0
  10. package/dist/js/helpers/caseFormats.test.js +59 -0
  11. package/dist/js/helpers/classnames.test.d.ts +1 -0
  12. package/dist/js/helpers/classnames.test.js +13 -0
  13. package/dist/js/helpers/getInitials.test.d.ts +1 -0
  14. package/dist/js/helpers/getInitials.test.js +29 -0
  15. package/dist/js/helpers/grid.test.d.ts +1 -0
  16. package/dist/js/helpers/grid.test.js +44 -0
  17. package/dist/js/helpers/range.test.d.ts +1 -0
  18. package/dist/js/helpers/range.test.js +24 -0
  19. package/dist/scss/base/_color.scss +16 -1
  20. package/dist/scss/base/_layout.scss +11 -7
  21. package/dist/scss/base/decorations/_markers.scss +26 -28
  22. package/dist/scss/base/mixins/_accessibility.scss +0 -6
  23. package/dist/scss/base/mixins/_color-mode.scss +0 -7
  24. package/dist/scss/base/variables/_colors.scss +29 -34
  25. package/dist/scss/base/variables/_themes.scss +17 -17
  26. package/dist/scss/base/variables/_typography.scss +49 -41
  27. package/dist/scss/base.scss +2 -4
  28. package/dist/scss/components/atoms/_badge.scss +1 -1
  29. package/dist/scss/components/atoms/_button.scss +116 -11
  30. package/dist/scss/components/atoms/_checkbox.scss +2 -12
  31. package/dist/scss/components/atoms/_dropdown.scss +3 -3
  32. package/dist/scss/components/atoms/_feature-checkmark.scss +1 -0
  33. package/dist/scss/components/atoms/_icons.scss +2 -5
  34. package/dist/scss/components/atoms/_tabs.scss +4 -4
  35. package/dist/scss/components/atoms/triggers/_filter.scss +1 -1
  36. package/dist/scss/components/molecules/_announcements.scss +4 -4
  37. package/dist/scss/components/molecules/_pagination.scss +3 -3
  38. package/dist/scss/components/molecules/_search.scss +11 -1
  39. package/dist/scss/components/molecules/_share-this.scss +1 -2
  40. package/dist/scss/components/molecules/_tables.scss +2 -59
  41. package/dist/scss/components/molecules/cards/_card.scss +8 -7
  42. package/dist/scss/components/organisms/_glossary.scss +0 -7
  43. package/dist/scss/components/organisms/_split-content.scss +4 -0
  44. package/dist/scss/components/organisms/_sub-navigation.scss +1 -1
  45. package/dist/scss/components/organisms/ctas/_basic-cta.scss +4 -6
  46. package/dist/scss/components/organisms/heroes/_hero-case-study.scss +7 -4
  47. package/dist/scss/evo/_components.scss +1 -1
  48. package/dist/scss/evo/base/variables/_typography.scss +0 -1
  49. package/dist/scss/evo/components/atoms/_button.scss +0 -88
  50. package/dist/scss/evo/components/molecules/cards/_card.scss +0 -3
  51. package/dist/scss/evo/components/organisms/_footer.scss +0 -14
  52. package/dist/scss/evo/components/organisms/ctas/_basic-cta.scss +0 -1
  53. package/dist/scss/labs/base/variables/_colors.scss +0 -8
  54. package/dist/scss/labs/base/variables/_typography.scss +0 -44
  55. package/dist/scss/labs/components/atoms/_button.scss +0 -12
  56. package/dist/scss/labs/components/atoms/triggers/_play.scss +1 -1
  57. package/dist/scss/labs/components/molecules/_pagination.scss +0 -5
  58. package/dist/scss/labs/components/molecules/cards/_card.scss +0 -10
  59. package/dist/scss/labs/components/organisms/ctas/_basic-cta.scss +0 -2
  60. package/dist/scss/labs/utilities/_rich-text.scss +0 -13
  61. package/dist/scss/utilities/_rich-text.scss +1 -1
  62. package/package.json +2 -3
  63. package/dist/scss/evo/components/molecules/_share-this.scss +0 -44
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,59 @@
1
+ import { expect, describe, it } from '@jest/globals';
2
+ import { formatCase } from './';
3
+ describe('formatCase', () => {
4
+ it('should convert text to kebab case', () => {
5
+ const text = 'helloWorld';
6
+ const result = formatCase(text, 'kebab');
7
+ expect(result).toBe('hello-world');
8
+ });
9
+ it('should convert text to snake case', () => {
10
+ const text = 'helloWorld';
11
+ const result = formatCase(text, 'snake');
12
+ expect(result).toBe('hello_world');
13
+ });
14
+ it('should convert text to space case', () => {
15
+ const text = 'helloWorld';
16
+ const result = formatCase(text, 'space');
17
+ expect(result).toBe('hello world');
18
+ });
19
+ it('should convert text to camel case', () => {
20
+ const text = 'hello world';
21
+ const result = formatCase(text, 'camel');
22
+ expect(result).toBe('helloWorld');
23
+ });
24
+ it('should convert text to sentence case', () => {
25
+ const text = 'hello world';
26
+ const result = formatCase(text, 'sentence');
27
+ expect(result).toBe('Hello world');
28
+ });
29
+ it('should capitalize the first letter', () => {
30
+ const text = 'hello world';
31
+ const result = formatCase(text, 'capitalize');
32
+ expect(result).toBe('Hello world');
33
+ });
34
+ it('should capitalize the first letter of each word', () => {
35
+ const text = 'hello world';
36
+ const result = formatCase(text, 'capitalizeSentence');
37
+ expect(result).toBe('Hello World');
38
+ });
39
+ it('should handle empty text', () => {
40
+ const text = '';
41
+ const result = formatCase(text, 'kebab');
42
+ expect(result).toBe('');
43
+ });
44
+ it('should handle invalid convertCase', () => {
45
+ const text = 'hello world';
46
+ const result = formatCase(text, 'invalid');
47
+ expect(result).toBe('hello world');
48
+ });
49
+ it('should handle text with special characters', () => {
50
+ const text = 'hello-world123';
51
+ const result = formatCase(text, 'kebab');
52
+ expect(result).toBe('hello-world123');
53
+ });
54
+ it('should handle text with mixed case', () => {
55
+ const text = 'HelloWorld';
56
+ const result = formatCase(text, 'camel');
57
+ expect(result).toBe('helloWorld');
58
+ });
59
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import { expect, describe, it } from '@jest/globals';
2
+ import { classNames } from './'; // Replace with the correct import path
3
+ describe('classNames', () => {
4
+ it('should return an empty string with no classes', () => {
5
+ expect(classNames()).toBe('');
6
+ });
7
+ it('should return a single class', () => {
8
+ expect(classNames('class1')).toBe('class1');
9
+ });
10
+ it('should return multiple classes joined by spaces', () => {
11
+ expect(classNames('class1', 'class2', 'class3')).toBe('class1 class2 class3');
12
+ });
13
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,29 @@
1
+ import { expect, describe, it } from '@jest/globals';
2
+ import { getInitials } from './';
3
+ describe('getInitials', () => {
4
+ it('should return the first and last initials for a full name', () => {
5
+ const fullName = 'John Doe';
6
+ const initials = getInitials(fullName);
7
+ expect(initials).toBe('JD');
8
+ });
9
+ it('should return the first initial for a single name', () => {
10
+ const fullName = 'John';
11
+ const initials = getInitials(fullName);
12
+ expect(initials).toBe('J');
13
+ });
14
+ it('should handle empty string input', () => {
15
+ const fullName = '';
16
+ const initials = getInitials(fullName);
17
+ expect(initials).toBe('');
18
+ });
19
+ it('should handle multiple middle names', () => {
20
+ const fullName = 'John William Doe Smith';
21
+ const initials = getInitials(fullName);
22
+ expect(initials).toBe('JS');
23
+ });
24
+ it('should handle names with special characters', () => {
25
+ const fullName = 'John O\'Brien Smith';
26
+ const initials = getInitials(fullName);
27
+ expect(initials).toBe('JS');
28
+ });
29
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,44 @@
1
+ import { expect, describe, it } from '@jest/globals';
2
+ import { gridSplit, gridSpacing } from './';
3
+ describe('gridSplit', () => {
4
+ it('should return the count when count is less than maxCols', () => {
5
+ expect(gridSplit(3)).toBe(3);
6
+ expect(gridSplit(4, 10)).toBe(4);
7
+ });
8
+ it('should return maxCols when count is greater than or equal to maxCols', () => {
9
+ expect(gridSplit(6)).toBe(5); // Default maxCols is 5
10
+ expect(gridSplit(10, 8)).toBe(8);
11
+ });
12
+ it('should return 12 when maxCols is greater than or equal to 12 and sount is 0', () => {
13
+ expect(gridSplit(0, 15)).toBe(12);
14
+ expect(gridSplit(0, 13)).toBe(12);
15
+ });
16
+ it('should return 1 for invalid or zero count', () => {
17
+ expect(gridSplit(0)).toBe(1);
18
+ expect(gridSplit(-2)).toBe(1);
19
+ });
20
+ });
21
+ describe('gridSpacing', () => {
22
+ it('should return max width for 2 or less columns', () => {
23
+ const spacing2 = gridSpacing(2);
24
+ expect(spacing2.hasMaxWidth).toBe(true);
25
+ const spacing1 = gridSpacing(1);
26
+ expect(spacing1.hasMaxWidth).toBe(true);
27
+ });
28
+ it('should adjust padding and gap for 4 columns', () => {
29
+ const spacing = gridSpacing(4);
30
+ expect(spacing).toEqual({
31
+ hasMaxWidth: false,
32
+ itemPadding: 'medium',
33
+ gap: 'medium',
34
+ });
35
+ });
36
+ it('should adjust padding and gap for more than 4 columns', () => {
37
+ const spacing = gridSpacing(5);
38
+ expect(spacing).toEqual({
39
+ hasMaxWidth: false,
40
+ itemPadding: 'medium',
41
+ gap: 'small',
42
+ });
43
+ });
44
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,24 @@
1
+ import { expect, describe, it } from '@jest/globals';
2
+ import { range } from './';
3
+ describe('range', () => {
4
+ it('should generate a simple range', () => {
5
+ const result = range(1, 5, 1);
6
+ expect(result).toEqual([1, 2, 3, 4, 5]);
7
+ });
8
+ it('should generate a range with a step of 2', () => {
9
+ const result = range(1, 10, 2);
10
+ expect(result).toEqual([1, 3, 5, 7, 9]);
11
+ });
12
+ it('should handle negative step', () => {
13
+ const result = range(5, 1, -1);
14
+ expect(result).toEqual([5, 4, 3, 2, 1]);
15
+ });
16
+ it('should handle zero step', () => {
17
+ const result = range(1, 5, 0);
18
+ expect(result).toEqual([]);
19
+ });
20
+ it('should handle empty range', () => {
21
+ const result = range(5, 1, 1);
22
+ expect(result).toEqual([]);
23
+ });
24
+ });
@@ -45,7 +45,18 @@ $label-colors: (
45
45
 
46
46
  .txt-ui-hero {
47
47
  max-width: max-content;
48
- @include colors.color-mode(color, brandui-color-labels(ui-headline), brandui-color-labels(ui-headline-dark));
48
+ @include colors.gradient-mode(
49
+ background-image,
50
+ 'linear',
51
+ 140deg,
52
+ RGBA(brandui-rgb-labels(ui-headline), 1),
53
+ RGBA(brandui-rgb-labels(ui-headline), 0.5),
54
+ RGBA(brandui-rgb-labels(ui-headline-dark), 1),
55
+ RGBA(brandui-rgb-labels(ui-headline-dark), 0.7)
56
+ ) {
57
+ background-clip: text;
58
+ color: transparent;
59
+ }
49
60
  }
50
61
 
51
62
  .txt-theme-solid {
@@ -121,6 +132,10 @@ $label-colors: (
121
132
  @include theme.theme-gradient(background, linear, 140deg, gradient-secondary);
122
133
  }
123
134
 
135
+ .spotlight {
136
+ @include theme.theme-color(background-color, spotlight);
137
+ }
138
+
124
139
  .bg-gradient-midnight-overlay {
125
140
  height: 130%;
126
141
  background: linear-gradient(
@@ -5,7 +5,6 @@
5
5
  @use '../base/variables/effects' as *;
6
6
  @use '../base/mixins/breakpoints' as breaks;
7
7
  @use '../base/mixins/glass' as glass;
8
- @use '../base/mixins/color-mode' as color;
9
8
  @use '../base/functions' as *;
10
9
 
11
10
  $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large, extra-large, huge);
@@ -94,12 +93,17 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
94
93
  margin-right: auto;
95
94
  }
96
95
 
97
- .bg-boxed {
98
- padding: map.get($brandui-padding, extra-large);
99
- border-width: 1px;
100
- border-radius: map.get($brandui-radius, small);
101
- border-style: solid;
102
- @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-1), 0.3), RGBA(brandui-rgb-labels(neutral-6), 0.3));
96
+ .brandui-container,
97
+ .content-block {
98
+ &.bg-boxed {
99
+ padding: map.get($brandui-padding, extra-large);
100
+ border-width: 0.1875rem;
101
+ border-style: solid;
102
+ border-radius: map.get($brandui-radius, large);
103
+ box-shadow: map.get($brandui-shadow, outline);
104
+ @include glass.bg-glass;
105
+ @include glass.border-glass;
106
+ }
103
107
  }
104
108
 
105
109
  .brandui-backdrop {
@@ -3,8 +3,6 @@
3
3
  @use '../../base/mixins/color-mode' as colors;
4
4
  @use '../../base/functions' as *;
5
5
 
6
- // TODO, remove once we have confirmed that new brand is real
7
-
8
6
  /**
9
7
  * Note >> The markers are all PNGs that use the Cloudinary transformations
10
8
  * to add the proper color-mode color and then convert to SVG. This is the
@@ -12,30 +10,30 @@
12
10
  * See the Transformation Center in Cloudinary for the custom marker
13
11
  * transformations.
14
12
  */
15
- // @each $marker-key, $marker-url in $brandui-marker-highlight-styles {
16
- // .marker-highlight-#{$marker-key} {
17
- // color: inherit;
18
- // background-color: transparent;
19
- // position: relative;
20
- // display: inline;
21
- // // Adds a little space around the text relative to the font size
22
- // padding: 0.1em 0.3em;
23
- // background-position: 100%;
24
- // background-size: 100% 100%;
25
- // background-repeat: no-repeat;
26
- // @include colors.color-mode(background-image, url('#{$brandui-marker-light}#{$marker-url}'), url('#{$brandui-marker-dark}#{$marker-url}'));
27
- // }
28
- // }
13
+ @each $marker-key, $marker-url in $brandui-marker-highlight-styles {
14
+ .marker-highlight-#{$marker-key} {
15
+ color: inherit;
16
+ background-color: transparent;
17
+ position: relative;
18
+ display: inline;
19
+ // Adds a little space around the text relative to the font size
20
+ padding: 0.1em 0.3em;
21
+ background-position: 100%;
22
+ background-size: 100% 100%;
23
+ background-repeat: no-repeat;
24
+ @include colors.color-mode(background-image, url('#{$brandui-marker-light}#{$marker-url}'), url('#{$brandui-marker-dark}#{$marker-url}'));
25
+ }
26
+ }
29
27
 
30
- // @each $marker-key, $marker-url in $brandui-marker-line-styles {
31
- // .marker-line-#{$marker-key} {
32
- // max-width: brandui-col-spacing(2);
33
- // width: 100%;
34
- // height: 3rem;
35
- // position: relative;
36
- // display: block;
37
- // background-size: 100%;
38
- // background-repeat: no-repeat;
39
- // @include colors.color-mode(background-image, url('#{$brandui-marker-light}#{$marker-url}'), url('#{$brandui-marker-dark}#{$marker-url}'));
40
- // }
41
- // }
28
+ @each $marker-key, $marker-url in $brandui-marker-line-styles {
29
+ .marker-line-#{$marker-key} {
30
+ max-width: brandui-col-spacing(2);
31
+ width: 100%;
32
+ height: 3rem;
33
+ position: relative;
34
+ display: block;
35
+ background-size: 100%;
36
+ background-repeat: no-repeat;
37
+ @include colors.color-mode(background-image, url('#{$brandui-marker-light}#{$marker-url}'), url('#{$brandui-marker-dark}#{$marker-url}'));
38
+ }
39
+ }
@@ -3,9 +3,3 @@
3
3
  @content;
4
4
  }
5
5
  }
6
-
7
- @mixin prefers-dark {
8
- @media (prefers-color-scheme: dark) {
9
- @content;
10
- }
11
- }
@@ -1,4 +1,3 @@
1
- @use './accessibility' as a11y;
2
1
  /* Mixins for light/dark modes */
3
2
  @mixin color-mode($property, $light-value, $dark-value) {
4
3
  // Default light mode
@@ -12,12 +11,6 @@
12
11
  #{$property}: $dark-value;
13
12
  @content;
14
13
  }
15
-
16
- // Uncomment this when we are ready to offer dark mode toggle support
17
- // @include a11y.prefers-dark {
18
- // #{$property}: $dark-value;
19
- // @content;
20
- // }
21
14
  }
22
15
 
23
16
  // Because mixins can sometime be invalid when chaining to pseudo-classes, we need to manually do this
@@ -31,15 +31,14 @@ $evoui-colors: (
31
31
  /* Color variables */
32
32
  $brandui-colors: (
33
33
  'dark-purple': #441c99,
34
- 'purple': #8d1ff4,
34
+ 'purple': #9043c6,
35
35
  'lavender': #c481f3,
36
36
  'black': #000,
37
37
  'space': #01011e,
38
38
  'midnight': #030328,
39
39
  'ocean': #181846,
40
- 'dark-grey': #202020,
41
40
  'dawn': #383f76,
42
- 'steel': #c0bce5,
41
+ 'steel': #555463,
43
42
  'smoke': #6d6d9c,
44
43
  'snow': #f6f7fb,
45
44
  'white': #fff,
@@ -74,53 +73,49 @@ $brandui-colors: map.merge($brandui-colors, $custom-theme);
74
73
 
75
74
  // 2.0 Standardized color labels for theming
76
75
  $brandui-color-labels: (
77
- 'default': map.get($brandui-colors, 'snow'),
78
- 'default-dark': map.get($brandui-colors, 'black'),
79
- 'ui-headline': map.get($brandui-colors, 'black'),
80
- 'ui-headline-dark': map.get($brandui-colors, 'snow'),
81
- 'ui-body': map.get($brandui-colors, 'black'),
76
+ 'default': map.get($brandui-colors, 'white'),
77
+ 'default-dark': map.get($brandui-colors, 'midnight'),
78
+ 'ui-headline': map.get($brandui-colors, 'midnight'),
79
+ 'ui-headline-dark': map.get($brandui-colors, 'white'),
80
+ 'ui-body': map.get($brandui-colors, 'dawn'),
82
81
  'ui-body-dark': map.get($brandui-colors, 'snow'),
83
- 'ui-fill': map.get($brandui-colors, 'steel'),
84
- 'ui-fill-dark': map.get($brandui-colors, 'dark-grey'),
85
- 'ui-stroke': map.get($brandui-colors, 'snow'),
86
- 'ui-stroke-dark': map.get($brandui-colors, 'black'),
87
- 'ui-text': map.get($brandui-colors, 'black'),
82
+ 'ui-fill': map.get($brandui-colors, 'white'),
83
+ 'ui-fill-dark': map.get($brandui-colors, 'midnight'),
84
+ 'ui-stroke': map.get($brandui-colors, 'smoke'),
85
+ 'ui-stroke-dark': map.get($brandui-colors, 'dawn'),
86
+ 'ui-text': map.get($brandui-colors, 'dawn'),
88
87
  'ui-text-dark': map.get($brandui-colors, 'snow'),
89
- 'action': map.get($brandui-colors, 'black'),
90
- 'action-dark': map.get($brandui-colors, 'snow'),
91
- 'action-outline': map.get($brandui-colors, 'snow'),
92
- 'action-contrast': map.get($brandui-colors, 'snow'),
93
- 'action-contrast-dark': map.get($brandui-colors, 'black'),
94
- 'action-secondary': map.get($brandui-colors, 'snow'),
95
- 'action-secondary-dark': map.get($brandui-colors, 'black'),
96
- 'action-secondary-contrast': map.get($brandui-colors, 'black'),
97
- 'action-secondary-contrast-dark': map.get($brandui-colors, 'snow'),
98
- 'action-tertiary': map.get($brandui-colors, 'purple'),
99
- 'action-tertiary-dark': map.get($brandui-colors, 'lavender'),
100
- 'action-tertiary-contrast': map.get($brandui-colors, 'black'),
101
- 'action-tertiary-contrast-dark': map.get($brandui-colors, 'black'),
88
+ 'action': map.get($brandui-colors, 'electric-blue'),
89
+ 'action-dark': map.get($brandui-colors, 'periwinkle'),
90
+ 'action-outline': map.get($brandui-colors, 'sky'),
91
+ 'action-contrast': map.get($brandui-colors, 'white'),
92
+ 'action-contrast-dark': map.get($brandui-colors, 'midnight'),
93
+ 'action-secondary': map.get($brandui-colors, 'deep-sea'),
94
+ 'action-secondary-dark': map.get($brandui-colors, 'electric-blue-dark'),
95
+ 'action-secondary-contrast': map.get($brandui-colors, 'white'),
96
+ 'action-secondary-contrast-dark': map.get($brandui-colors, 'midnight'),
102
97
  'info': map.get($brandui-colors, 'dark-purple'),
103
98
  'info-dark': map.get($brandui-colors, 'lavender'),
104
- 'info-contrast': map.get($brandui-colors, 'snow'),
99
+ 'info-contrast': map.get($brandui-colors, 'white'),
105
100
  'info-contrast-dark': map.get($brandui-colors, 'midnight'),
106
101
  'success': map.get($brandui-colors, 'dark-teal'),
107
102
  'success-dark': map.get($brandui-colors, 'vibe'),
108
- 'success-contrast': map.get($brandui-colors, 'snow'),
103
+ 'success-contrast': map.get($brandui-colors, 'white'),
109
104
  'success-contrast-dark': map.get($brandui-colors, 'midnight'),
110
105
  'warning': map.get($brandui-colors, 'autumn'),
111
106
  'warning-dark': map.get($brandui-colors, 'tiger'),
112
- 'warning-contrast': map.get($brandui-colors, 'snow'),
107
+ 'warning-contrast': map.get($brandui-colors, 'white'),
113
108
  'warning-contrast-dark': map.get($brandui-colors, 'midnight'),
114
109
  'fail': map.get($brandui-colors, 'rose'),
115
110
  'fail-dark': map.get($brandui-colors, 'salmon'),
116
- 'fail-contrast': map.get($brandui-colors, 'snow'),
111
+ 'fail-contrast': map.get($brandui-colors, 'white'),
117
112
  'fail-contrast-dark': map.get($brandui-colors, 'midnight'),
118
- 'neutral-1': map.get($brandui-colors, 'black'),
119
- 'neutral-2': map.get($brandui-colors, 'black'),
120
- 'neutral-3': map.get($brandui-colors, 'black'),
113
+ 'neutral-1': map.get($brandui-colors, 'midnight'),
114
+ 'neutral-2': map.get($brandui-colors, 'ocean'),
115
+ 'neutral-3': map.get($brandui-colors, 'dawn'),
121
116
  'neutral-4': map.get($brandui-colors, 'smoke'),
122
117
  'neutral-5': map.get($brandui-colors, 'snow'),
123
- 'neutral-6': map.get($brandui-colors, 'snow'),
118
+ 'neutral-6': map.get($brandui-colors, 'white'),
124
119
  ) !default;
125
120
 
126
121
  $brandui-tag-colors: (
@@ -14,35 +14,35 @@
14
14
  $brandui-default-themes: (
15
15
  default: (
16
16
  light: (
17
- text-solid: map.get($brandui-colors, 'black'),
17
+ text-solid: map.get($brandui-colors, 'dark-purple'),
18
18
  // deprecate
19
19
  solid: map.get($brandui-colors, 'dark-purple'),
20
20
  solid-primary: map.get($brandui-colors, 'purple'),
21
21
  solid-secondary: map.get($brandui-colors, 'dark-purple'),
22
22
  solid-tertiary: map.get($brandui-colors, 'dark-purple'),
23
- contrast: map.get($brandui-colors, 'snow'),
23
+ contrast: map.get($brandui-colors, 'white'),
24
24
  base: map.get($brandui-base-colors, 'dark-purple'),
25
25
  spotlight: map.get($brandui-base-colors, 'dark-purple'),
26
26
  highlight: map.get($brandui-colors, 'bubblegum'),
27
27
  text-gradient: (
28
- start: map.get($brandui-colors, 'black'),
29
- end: map.get($brandui-colors, 'black'),
28
+ start: map.get($brandui-colors, 'electric-blue'),
29
+ end: map.get($brandui-colors, 'midnight'),
30
30
  ),
31
31
  gradient-primary: (
32
32
  start: map.get($brandui-colors, 'hot-pink'),
33
33
  end: map.get($brandui-colors, 'hot-pink'),
34
34
  ),
35
35
  gradient-secondary: (
36
- start: map.get($brandui-colors, 'black'),
37
- end: map.get($brandui-colors, 'black'),
36
+ start: map.get($brandui-colors, 'electric-blue'),
37
+ end: map.get($brandui-colors, 'electric-blue'),
38
38
  ),
39
39
  gradient-tertiary: (
40
- start: map.get($brandui-colors, 'black'),
41
- end: map.get($brandui-colors, 'black'),
40
+ start: map.get($brandui-colors, 'electric-blue'),
41
+ end: map.get($brandui-colors, 'electric-blue'),
42
42
  ),
43
43
  ),
44
44
  dark: (
45
- text-solid: map.get($brandui-colors, 'snow'),
45
+ text-solid: map.get($brandui-colors, 'periwinkle'),
46
46
  // deprecate
47
47
  solid: map.get($brandui-colors, 'sky'),
48
48
  solid-primary: map.get($brandui-colors, 'bubblegum'),
@@ -53,20 +53,20 @@ $brandui-default-themes: (
53
53
  spotlight: map.get($brandui-colors, 'dark-purple'),
54
54
  highlight: map.get($brandui-colors, 'hot-pink'),
55
55
  text-gradient: (
56
- start: map.get($brandui-colors, 'snow'),
57
- end: map.get($brandui-colors, 'snow'),
56
+ start: map.get($brandui-colors, 'periwinkle'),
57
+ end: map.get($brandui-colors, 'white'),
58
58
  ),
59
59
  gradient-primary: (
60
- start: map.get($brandui-colors, 'snow'),
61
- end: map.get($brandui-colors, 'snow'),
60
+ start: map.get($brandui-colors, 'hot-pink'),
61
+ end: map.get($brandui-colors, 'dark-purple'),
62
62
  ),
63
63
  gradient-secondary: (
64
- start: map.get($brandui-colors, 'snow'),
65
- end: map.get($brandui-colors, 'snow'),
64
+ start: map.get($brandui-colors, 'electric-blue'),
65
+ end: map.get($brandui-colors, 'periwinkle'),
66
66
  ),
67
67
  gradient-tertiary: (
68
- start: map.get($brandui-colors, 'snow'),
69
- end: map.get($brandui-colors, 'snow'),
68
+ start: map.get($brandui-colors, 'purple'),
69
+ end: map.get($brandui-colors, 'bubblegum'),
70
70
  ),
71
71
  ),
72
72
  ),