@snyk-mktg/brand-ui 2.5.9 → 2.5.10-canary.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 (81) hide show
  1. package/dist/css/bundle.css +82 -1
  2. package/dist/css/bundle.css.map +1 -1
  3. package/dist/css/components.css +82 -1
  4. package/dist/css/components.css.map +1 -1
  5. package/dist/css/evo-bundle.css +31 -1
  6. package/dist/css/evo-bundle.css.map +1 -1
  7. package/dist/css/labs-bundle.css +31 -1
  8. package/dist/css/labs-bundle.css.map +1 -1
  9. package/dist/scss/base/_baseline.scss +9 -4
  10. package/dist/scss/base/_color.scss +2 -17
  11. package/dist/scss/base/_layout.scss +35 -10
  12. package/dist/scss/base/_links.scss +3 -1
  13. package/dist/scss/base/decorations/_backgrounds.scss +21 -53
  14. package/dist/scss/base/decorations/_markers.scss +28 -26
  15. package/dist/scss/base/mixins/_accessibility.scss +6 -0
  16. package/dist/scss/base/mixins/_color-mode.scss +12 -0
  17. package/dist/scss/base/mixins/_glass.scss +36 -12
  18. package/dist/scss/base/mixins/_gradient-border.scss +49 -0
  19. package/dist/scss/base/mixins/index.scss +1 -0
  20. package/dist/scss/base/variables/_colors.scss +39 -33
  21. package/dist/scss/base/variables/_effects.scss +5 -5
  22. package/dist/scss/base/variables/_themes.scss +18 -18
  23. package/dist/scss/base/variables/_typography.scss +49 -57
  24. package/dist/scss/base.scss +3 -1
  25. package/dist/scss/components/atoms/_badge.scss +1 -1
  26. package/dist/scss/components/atoms/_button.scss +17 -115
  27. package/dist/scss/components/atoms/_checkbox.scss +12 -2
  28. package/dist/scss/components/atoms/_dropdown.scss +3 -3
  29. package/dist/scss/components/atoms/_feature-checkmark.scss +3 -1
  30. package/dist/scss/components/atoms/_icons.scss +6 -3
  31. package/dist/scss/components/atoms/_tabs.scss +4 -4
  32. package/dist/scss/components/atoms/_tag.scss +3 -2
  33. package/dist/scss/components/atoms/triggers/_filter.scss +1 -1
  34. package/dist/scss/components/molecules/_announcements.scss +15 -7
  35. package/dist/scss/components/molecules/_pagination.scss +5 -5
  36. package/dist/scss/components/molecules/_search.scss +1 -11
  37. package/dist/scss/components/molecules/_share-this.scss +2 -1
  38. package/dist/scss/components/molecules/_table-of-contents.scss +4 -4
  39. package/dist/scss/components/molecules/_tables.scss +59 -2
  40. package/dist/scss/components/molecules/cards/_card-bg-image.scss +1 -1
  41. package/dist/scss/components/molecules/cards/_card.scss +11 -6
  42. package/dist/scss/components/organisms/_footer.scss +1 -1
  43. package/dist/scss/components/organisms/_glossary.scss +7 -0
  44. package/dist/scss/components/organisms/_navigation.scss +5 -5
  45. package/dist/scss/components/organisms/_split-content.scss +0 -4
  46. package/dist/scss/components/organisms/_sub-navigation.scss +1 -1
  47. package/dist/scss/components/organisms/ctas/_basic-cta.scss +6 -4
  48. package/dist/scss/components/organisms/ctas/_body-cta.scss +16 -6
  49. package/dist/scss/components/organisms/ctas/_footer-cta.scss +20 -1
  50. package/dist/scss/components/organisms/heroes/_hero-case-study.scss +4 -7
  51. package/dist/scss/evo/_components.scss +1 -1
  52. package/dist/scss/evo/base/variables/_typography.scss +2 -0
  53. package/dist/scss/evo/components/atoms/_button.scss +92 -4
  54. package/dist/scss/evo/components/molecules/_share-this.scss +44 -0
  55. package/dist/scss/evo/components/molecules/cards/_card.scss +3 -0
  56. package/dist/scss/evo/components/organisms/_footer.scss +14 -0
  57. package/dist/scss/evo/components/organisms/ctas/_basic-cta.scss +1 -0
  58. package/dist/scss/labs/_components.scss +1 -1
  59. package/dist/scss/labs/base/_baseline.scss +2 -0
  60. package/dist/scss/labs/base/variables/_colors.scss +8 -0
  61. package/dist/scss/labs/base/variables/_typography.scss +44 -0
  62. package/dist/scss/labs/components/atoms/_button.scss +12 -0
  63. package/dist/scss/labs/components/atoms/triggers/_play.scss +1 -1
  64. package/dist/scss/labs/components/molecules/_pagination.scss +5 -0
  65. package/dist/scss/labs/components/molecules/_table-of-contents.scss +14 -1
  66. package/dist/scss/labs/components/molecules/cards/_card-bg-image.scss +7 -0
  67. package/dist/scss/labs/components/molecules/cards/_card.scss +10 -0
  68. package/dist/scss/labs/components/organisms/ctas/_basic-cta.scss +2 -0
  69. package/dist/scss/labs/utilities/_rich-text.scss +13 -0
  70. package/dist/scss/utilities/_rich-text.scss +1 -1
  71. package/package.json +3 -2
  72. package/dist/js/helpers/caseFormats.test.d.ts +0 -1
  73. package/dist/js/helpers/caseFormats.test.js +0 -59
  74. package/dist/js/helpers/classnames.test.d.ts +0 -1
  75. package/dist/js/helpers/classnames.test.js +0 -13
  76. package/dist/js/helpers/getInitials.test.d.ts +0 -1
  77. package/dist/js/helpers/getInitials.test.js +0 -29
  78. package/dist/js/helpers/grid.test.d.ts +0 -1
  79. package/dist/js/helpers/grid.test.js +0 -44
  80. package/dist/js/helpers/range.test.d.ts +0 -1
  81. package/dist/js/helpers/range.test.js +0 -24
@@ -14,13 +14,13 @@
14
14
  padding: map.get($brandui-padding, extra-small);
15
15
  display: flex;
16
16
  gap: map.get($brandui-padding, medium);
17
- border-radius: map.get($brandui-radius, pill);
18
- border-width: 0.0625rem;
17
+ border-radius: map.get($brandui-radius, small);
18
+ border-width: 1px;
19
19
  border-style: solid;
20
20
  cursor: default;
21
21
  overflow-x: auto;
22
22
  scroll-snap-type: x mandatory;
23
- @include color.color-mode(border-color, brandui-color-labels(neutral-4), brandui-color-labels(neutral-3));
23
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-3), 0.3), RGBA(brandui-rgb-labels(neutral-5), 0.3));
24
24
 
25
25
  &-body {
26
26
  display: flex;
@@ -29,7 +29,7 @@
29
29
 
30
30
  .tab {
31
31
  border: 0.0625rem solid transparent;
32
- border-radius: map.get($brandui-radius, pill);
32
+ border-radius: map.get($brandui-radius, extra-small);
33
33
  cursor: pointer;
34
34
  display: flex;
35
35
  flex-direction: column;
@@ -24,12 +24,13 @@
24
24
 
25
25
  a.tag {
26
26
  text-decoration: none;
27
- transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast);
27
+ transition: color map.get($brandui-transition, fast), border-color map.get($brandui-transition, fast);
28
28
  outline-color: transparent;
29
29
  @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
30
30
 
31
31
  &:hover {
32
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
32
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
33
+ @include color.color-mode(border-color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
33
34
  @include color.color-mode(
34
35
  background-color,
35
36
  RGBA(brandui-rgb-labels(action-secondary), 0.1),
@@ -36,6 +36,6 @@
36
36
  &:hover,
37
37
  &:focus-within,
38
38
  &.open {
39
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
39
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
40
40
  }
41
41
  }
@@ -10,8 +10,8 @@
10
10
 
11
11
  .announcement {
12
12
  &-bar {
13
- border: 4px solid;
14
- border-radius: map.get($brandui-radius, pill);
13
+ border: 1px solid;
14
+ border-radius: map.get($brandui-radius, small);
15
15
  cursor: pointer;
16
16
  display: inline-block;
17
17
  align-items: center;
@@ -19,14 +19,20 @@
19
19
  max-width: max-content;
20
20
  padding: 0.5rem 1.5rem;
21
21
  position: relative;
22
- box-shadow: map.get($brandui-shadow, outline);
23
22
  transition: map.get($brandui-transition, fast);
24
- @include glass.bg-glass;
25
- @include glass.border-glass;
23
+ @include color.color-mode(background-color, brandui-color-labels(default), brandui-color-labels(default-dark));
24
+ @include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
25
+
26
+ // @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-3), 0.3), RGBA(brandui-rgb-labels(neutral-5), 0.3));
26
27
 
27
28
  .badge {
28
29
  margin-right: map.get($brandui-padding, 'extra-small');
29
30
  }
31
+
32
+ &:hover,
33
+ &:focus {
34
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
35
+ }
30
36
  }
31
37
 
32
38
  &-message {
@@ -37,13 +43,15 @@
37
43
  &-link {
38
44
  @extend .link-stretched;
39
45
  @include font.get-typography(body-bold);
40
- @include color.color-mode(color, brandui-color-labels(ui-headline), brandui-color-labels(ui-headline-dark));
46
+ @include color.color-mode(color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
47
+ @include color.color-mode-pseudo('&:after', color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
41
48
 
42
49
  &:hover,
43
50
  &:focus {
44
51
  text-decoration: none;
45
52
  transition: map.get($brandui-transition, fast);
46
53
  @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
54
+ @include color.color-mode-pseudo('&:after', color, brandui-color-labels(action), brandui-color-labels(action-dark));
47
55
  }
48
56
  }
49
57
 
@@ -58,7 +66,7 @@
58
66
  border-radius: map.get($brandui-radius, 'large');
59
67
  box-shadow: map.get($brandui-shadow, outline);
60
68
  @include glass.bg-glass($dense: true);
61
- @include glass.border-glass;
69
+ @include glass.border-glass(ui-stroke);
62
70
 
63
71
  @include break.max-mobile {
64
72
  padding: map.get($brandui-padding, small);
@@ -30,19 +30,19 @@
30
30
  padding: map.get($brandui-padding, extra-small) map.get($brandui-padding, small);
31
31
  border-width: 0.0625rem;
32
32
  border-style: solid;
33
- border-radius: map.get($brandui-radius, pill);
33
+ border-radius: map.get($brandui-radius, small);
34
34
  text-decoration: none;
35
35
  transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, 'fast'),
36
36
  border-color map.get($brandui-transition, fast);
37
37
  @include font.get-typography(body-lead);
38
38
  @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
39
- @include color.color-mode(background-color, brandui-color-labels(neutral-5), brandui-color-labels(neutral-2));
40
- @include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
39
+ @include color.color-mode(background-color, brandui-color-labels(neutral-5), brandui-color-labels(neutral-1));
40
+ @include color.transparent-border;
41
41
 
42
42
  &:hover {
43
43
  @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
44
- @include color.color-mode(background-color, brandui-color-labels(neutral-6), brandui-color-labels(neutral-1));
45
- @include color.color-mode(border-color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
44
+ @include color.color-mode(background-color, brandui-color-labels(action), brandui-color-labels(action-dark));
45
+ @include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
46
46
  }
47
47
  }
48
48
 
@@ -41,19 +41,9 @@
41
41
  }
42
42
  }
43
43
 
44
- &-actions {
44
+ &-submit {
45
45
  position: absolute;
46
46
  right: 0;
47
- display: flex;
48
- flex-direction: row-reverse;
49
- align-items: center;
50
-
51
- hr {
52
- width: 1px;
53
- height: 20px;
54
- margin: 0 10px;
55
- background-color: map.get($brandui-colors, 'midnight');
56
- }
57
47
  }
58
48
  }
59
49
 
@@ -38,7 +38,8 @@
38
38
  RGBA(brandui-rgb-labels(action-secondary), 0.1),
39
39
  RGBA(brandui-rgb-labels(action-secondary-dark), 0.1)
40
40
  );
41
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
41
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
42
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
42
43
  }
43
44
  }
44
45
  }
@@ -8,11 +8,11 @@
8
8
  @use '../../base/mixins/typography' as font;
9
9
 
10
10
  .toc {
11
- border-radius: map.get($brandui-radius, extra-large);
11
+ border-radius: map.get($brandui-radius, small);
12
12
  border-width: 1px;
13
13
  border-style: solid;
14
14
  padding-bottom: brandui-padding(medium);
15
- @include color.color-mode(border-color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
15
+ @include color.transparent-border;
16
16
  @include break.max-mobile {
17
17
  display: none;
18
18
  }
@@ -22,8 +22,8 @@
22
22
  padding-bottom: brandui-padding(small);
23
23
  border-bottom-width: 1px;
24
24
  border-bottom-style: solid;
25
- @include color.color-mode(border-bottom-color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
26
25
  @include color.color-mode(color, brandui-color-labels(ui-headline), brandui-color-labels(ui-headline-dark));
26
+ @include color.transparent-border(border-bottom-color);
27
27
  }
28
28
 
29
29
  &-item {
@@ -72,7 +72,7 @@
72
72
  border-radius: 0 map.get($brandui-radius, small) map.get($brandui-radius, small) 0;
73
73
 
74
74
  @include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
75
- @include color.color-mode(background-color, brandui-color-labels(neutral-5), brandui-color-labels(neutral-2));
75
+ @include color.color-mode(background-color, RBGA(brandui-rgb-labels(action), 0.1), RGBA(brandui-rgb-labels(action-dark), 0.1));
76
76
  @include color.color-mode-pseudo('&:after', border-left-color, brandui-color-labels(action), brandui-color-labels(action-dark));
77
77
 
78
78
  &:after {
@@ -10,6 +10,64 @@
10
10
  @use '../../base/functions' as *;
11
11
 
12
12
  .table {
13
+ &-basic {
14
+ border-collapse: collapse;
15
+ min-width: brandui-col-spacing(6);
16
+
17
+ &-wrapper {
18
+ border-radius: map.get($brandui-padding, extra-small);
19
+ border-width: 1px;
20
+ border-style: solid;
21
+ overflow-y: hidden;
22
+ @include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
23
+ }
24
+
25
+ tr:nth-child(even) {
26
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
27
+ }
28
+
29
+ &-caption {
30
+ width: brandui-col-spacing(6);
31
+
32
+ &-content {
33
+ max-width: brandui-col-spacing(3);
34
+
35
+ @include break.max-mobile {
36
+ max-width: 100%;
37
+ }
38
+ }
39
+
40
+ @include break.max-mobile {
41
+ width: brandui-col-spacing(12);
42
+ text-align: center;
43
+ }
44
+ }
45
+
46
+ &-col-header {
47
+ min-width: 200px;
48
+ padding: map.get($brandui-padding, small);
49
+
50
+ @include font.get-typography(subhead-small);
51
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
52
+ &-wrapper {
53
+ vertical-align: top;
54
+ }
55
+ }
56
+
57
+ &-row-header {
58
+ vertical-align: middle;
59
+ @include color.color-mode(background-color, brandui-color-labels(ui-body-dark), brandui-color-labels(ui-body));
60
+ &-content {
61
+ padding: map.get($brandui-padding, small);
62
+ }
63
+ }
64
+
65
+ &-row-data {
66
+ &-content {
67
+ padding: map.get($brandui-padding, small);
68
+ }
69
+ }
70
+ }
13
71
  &-comparison {
14
72
  &-caption {
15
73
  width: brandui-col-spacing(6);
@@ -48,8 +106,7 @@
48
106
  padding: map.get($brandui-padding, small);
49
107
  text-align: left;
50
108
  @include font.get-typography(body-bold);
51
- @include theme.theme-color(background-color, base);
52
- @include theme.theme-color(color, ui-body);
109
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
53
110
  }
54
111
  }
55
112
  }
@@ -6,7 +6,7 @@
6
6
  .card-bg-image {
7
7
  position: relative;
8
8
  overflow: clip;
9
- border-radius: map.get($brandui-radius, large);
9
+ border-radius: map.get($brandui-radius, small);
10
10
  isolation: isolate;
11
11
  display: flex;
12
12
  flex-direction: column;
@@ -1,19 +1,24 @@
1
1
  @use 'sass:map';
2
+ @use '../../../base/mixins/glass' as glass;
3
+ @use '../../../base/mixins/color-mode' as color;
2
4
  @use '../../../base/variables/effects' as *;
3
5
  @use '../../../base/variables/sizing' as *;
4
- @use '../../../base/mixins/glass' as glass;
6
+ @use '../../../base/functions' as *;
5
7
 
6
8
  .card {
7
9
  display: flex;
8
10
  flex-direction: column;
11
+ position: relative;
9
12
  border-width: 0.1875rem;
10
13
  border-style: solid;
11
- border-radius: map.get($brandui-radius, 'large');
12
- box-shadow: map.get($brandui-shadow, 'outline');
14
+ border-width: map.get($brandui-padding, 'hairline');
15
+ border-radius: map.get($brandui-radius, 'small');
13
16
  transition: map.get($brandui-transition, 'fast');
14
17
  overflow: hidden;
15
- @include glass.bg-glass;
16
- @include glass.border-glass;
18
+
19
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
20
+ @include glass.bg-glass(true, ui-fill);
21
+ @include glass.border-glass(ui-stroke);
17
22
 
18
23
  &-wrapper {
19
24
  position: relative;
@@ -21,7 +26,7 @@
21
26
 
22
27
  &-banner {
23
28
  overflow: hidden;
24
- border-radius: map.get($brandui-radius, 'medium') map.get($brandui-radius, 'medium') 0 0;
29
+ border-radius: map.get($brandui-radius, 'extra-small') map.get($brandui-radius, 'extra-small') 0 0;
25
30
  }
26
31
 
27
32
  &-headshot {
@@ -50,7 +50,7 @@
50
50
 
51
51
  &-title {
52
52
  margin-bottom: map.get($brandui-padding, 'small');
53
- @include theme.theme-color(color, 'text-solid');
53
+ @include color.color-mode(color, brandui-color-labels(ui-text), brandui-color-labels(ui-text-dark));
54
54
  }
55
55
  }
56
56
 
@@ -8,6 +8,13 @@
8
8
  @use '../../base/functions' as *;
9
9
 
10
10
  .glossary {
11
+ &-highlight {
12
+ @include color.color-mode(
13
+ background-color,
14
+ RGBA(brandui-rgb-labels(action-tertiary), 0.3),
15
+ RGBA(brandui-rgb-labels(action-tertiary-dark), 0.3)
16
+ );
17
+ }
11
18
  &-nav {
12
19
  padding: map.get($brandui-padding, small);
13
20
  border-width: 0.1875rem;
@@ -152,7 +152,7 @@
152
152
  align-items: center;
153
153
  border-radius: map.get($brandui-radius, 'small');
154
154
  border: 1px solid transparent;
155
- font-family: map.get($brandui-font-family, space-grotesk), sans-serif;
155
+ font-family: map.get($brandui-font-family, geist), sans-serif;
156
156
  font-size: map.get($brandui-font-size, body);
157
157
  font-weight: 700;
158
158
  letter-spacing: 0.005em;
@@ -325,8 +325,8 @@
325
325
  border-top-style: solid;
326
326
  @include color.color-mode(
327
327
  border-top-color,
328
- RGBA(brandui-rgb-labels(neutral-3), 0.3),
329
- RGBA(brandui-rgb-labels(neutral-3), 0.7)
328
+ RGBA(brandui-rgb-labels(neutral-5), 0.3),
329
+ RGBA(brandui-rgb-labels(neutral-5), 0.7)
330
330
  );
331
331
 
332
332
  &:has(.submenu-column-label) {
@@ -499,7 +499,7 @@
499
499
  transition: map.get($brandui-transition, 'fast');
500
500
  display: flex;
501
501
  gap: map.get($brandui-padding, 'extra-small');
502
- font-family: map.get($brandui-font-family, space-grotesk), sans-serif;
502
+ font-family: map.get($brandui-font-family, geist), sans-serif;
503
503
  font-size: map.get($brandui-font-size, body);
504
504
  font-weight: 700;
505
505
  letter-spacing: 0.005em;
@@ -607,7 +607,7 @@
607
607
  padding-top: map.get($brandui-padding, 'small');
608
608
  border-top-width: 1px;
609
609
  border-top-style: solid;
610
- @include color.color-mode(border-top-color, RGBA(brandui-rgb-labels(neutral-3), 0.3), RGBA(brandui-rgb-labels(neutral-3), 0.7));
610
+ @include color.color-mode(border-top-color, RGBA(brandui-rgb-labels(neutral-5), 0.3), RGBA(brandui-rgb-labels(neutral-5), 0.7));
611
611
  }
612
612
 
613
613
  &-content {
@@ -9,10 +9,6 @@
9
9
  display: flex;
10
10
  gap: brandui-padding(huge);
11
11
  padding: brandui-padding(large);
12
- border-radius: brandui-radius(large);
13
- box-shadow: brandui-shadow(outline);
14
- @include glass.bg-glass;
15
- @include glass.border-glass;
16
12
 
17
13
  @include break.max-tablet {
18
14
  flex-direction: column;
@@ -69,7 +69,7 @@
69
69
  @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
70
70
 
71
71
  &:hover {
72
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
72
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
73
73
  @include color.color-mode(
74
74
  background-color,
75
75
  RGBA(brandui-rgb-labels(action-secondary), 0.1),
@@ -4,6 +4,7 @@
4
4
  @use '../../../base/mixins/page-theme' as theme;
5
5
  @use '../../../base/mixins/glass' as glass;
6
6
  @use '../../../base/mixins/breakpoints' as break;
7
+ @use '../../../base/mixins/color-mode' as color;
7
8
  @use '../../../base/functions' as *;
8
9
 
9
10
  .basic-cta {
@@ -15,12 +16,13 @@
15
16
  align-items: center;
16
17
  justify-content: space-between;
17
18
  gap: map.get($brandui-padding, huge);
18
- border-width: 0.1875rem;
19
+ border-width: 1px;
19
20
  border-style: solid;
20
21
  border-radius: map.get($brandui-radius, large);
21
- box-shadow: map.get($brandui-shadow, outline);
22
- @include theme.theme-color(background-color, base);
23
- @include glass.border-glass;
22
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-1), 0.3), RGBA(brandui-rgb-labels(neutral-6), 0.3));
23
+
24
+ // @include theme.theme-color(background-color, base);
25
+ // @include glass.border-glass;
24
26
 
25
27
  &-content {
26
28
  max-width: brandui-col-spacing(7);
@@ -2,7 +2,9 @@
2
2
  @use '../../../base/variables/sizing' as *;
3
3
  @use '../../../base/variables/effects' as *;
4
4
  @use '../../../base/mixins/page-theme' as theme;
5
+ @use '../../../base/mixins/color-mode' as color;
5
6
  @use '../../../base/mixins/glass' as glass;
7
+ @use '../../../base/mixins/gradient-border' as gradient;
6
8
  @use '../../../base/mixins/breakpoints' as break;
7
9
  @use '../../../base/functions' as *;
8
10
 
@@ -15,12 +17,13 @@
15
17
  align-items: center;
16
18
  justify-content: space-between;
17
19
  gap: map.get($brandui-padding, huge);
18
- border-width: 0.1875rem;
19
- border-style: solid;
20
- border-radius: map.get($brandui-radius, large);
21
- box-shadow: map.get($brandui-shadow, outline);
22
- @include theme.theme-color(background-color, base);
23
- @include glass.border-glass;
20
+ border-radius: map.get($brandui-radius, small);
21
+ box-shadow: map.get($brandui-shadow, far);
22
+ overflow: hidden;
23
+
24
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
25
+ @include glass.bg-glass(true, ui-fill);
26
+ @include gradient.gradient-border;
24
27
 
25
28
  &-content {
26
29
  max-width: brandui-col-spacing(8);
@@ -50,6 +53,13 @@
50
53
  }
51
54
  }
52
55
 
56
+ &-decorations {
57
+ position: absolute;
58
+ z-index: 1;
59
+ inset: 2px;
60
+ overflow: hidden;
61
+ }
62
+
53
63
  @include break.max-mobile {
54
64
  flex-direction: column;
55
65
  gap: map.get($brandui-padding, extra-large);
@@ -1,8 +1,12 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:string';
3
3
  @use '../../../base/variables/sizing' as *;
4
+ @use '../../../base/variables/effects' as *;
4
5
  @use '../../../base/mixins/page-theme' as theme;
5
6
  @use '../../../base/mixins/breakpoints' as break;
7
+ @use '../../../base/mixins/glass' as glass;
8
+ @use '../../../base/mixins/color-mode' as color;
9
+ @use '../../../base/mixins/gradient-border' as gradient;
6
10
  @use '../../../base/functions' as *;
7
11
  @use '../../../base/layout' as *;
8
12
  @use '../../../base/links' as *;
@@ -10,7 +14,13 @@
10
14
  .footer-cta {
11
15
  @extend .brandui-section;
12
16
  margin-bottom: string.unquote('-#{map.get($brandui-padding, huge)}');
13
- padding-top: map.get($brandui-padding, huge);
17
+ max-width: brandui-col-spacing(12);
18
+ border-radius: map.get($brandui-radius, 'small');
19
+ overflow: hidden;
20
+
21
+ box-shadow: map.get($brandui-shadow, far);
22
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
23
+ @include glass.bg-glass(true, ui-fill);
14
24
 
15
25
  &-content {
16
26
  max-width: brandui-col-spacing(7);
@@ -61,4 +71,13 @@
61
71
  max-width: 100%;
62
72
  }
63
73
  }
74
+
75
+ &-decorations {
76
+ position: absolute;
77
+ z-index: 1;
78
+ inset: 2px;
79
+ overflow: hidden;
80
+ }
81
+
82
+ @include gradient.gradient-border;
64
83
  }
@@ -52,15 +52,11 @@
52
52
  max-width: brandui-col-spacing(4);
53
53
  width: 100%;
54
54
  padding: map.get($brandui-padding, medium);
55
- border-width: 0.1875rem;
56
- border-style: solid;
57
- border-radius: map.get($brandui-radius, large);
58
- box-shadow: map.get($brandui-shadow, outline);
59
55
  display: flex;
60
56
  flex-direction: column;
61
57
  gap: map.get($brandui-padding, medium);
62
- @include glass.bg-glass;
63
- @include glass.border-glass;
58
+
59
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
64
60
 
65
61
  .company-info {
66
62
  display: flex;
@@ -74,7 +70,8 @@
74
70
  gap: map.get($brandui-padding, small);
75
71
  border-bottom-width: 0.0625rem;
76
72
  border-bottom-style: solid;
77
- @include color.color-mode(border-bottom-color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
73
+
74
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-1), 0.3), RGBA(brandui-rgb-labels(neutral-6), 0.3));
78
75
  }
79
76
  }
80
77
 
@@ -40,7 +40,6 @@
40
40
  @use '../components/molecules/modal' as *;
41
41
  @use '../components/molecules/notification' as *;
42
42
  @use '../components/molecules/pagination' as *;
43
- @use '../components/molecules/share-this' as *;
44
43
  @use '../components/molecules/tables' as *;
45
44
  @use '../components/molecules/table-of-contents' as *;
46
45
  @use '../components/molecules/title-text' as *;
@@ -74,6 +73,7 @@
74
73
  @use './components/molecules/cards/card' as *;
75
74
  @use './components/molecules/text-grid-item' as *;
76
75
  @use './components/molecules/text-media' as *;
76
+ @use './components/molecules/share-this' as *;
77
77
  @use './components/organisms/ctas/basic-cta' as *;
78
78
  @use './components/organisms/heroes/hero-title-text' as *;
79
79
  @use './components/organisms/footer' as *;
@@ -14,6 +14,7 @@ $evoui-font-size: (
14
14
  page-title-small: 3.5rem,
15
15
  hero-title-large: 4.375rem,
16
16
  hero-title-small: 3.75rem,
17
+ section-title: 3rem,
17
18
  section-title-small: 2.5rem,
18
19
  );
19
20
  $brandui-font-size: map.merge(font.$brandui-font-size, $evoui-font-size);
@@ -22,6 +23,7 @@ $evoui-line-height: (
22
23
  page-title-large: 5rem,
23
24
  page-title: 5rem,
24
25
  page-title-small: 4rem,
26
+ section-title: 4rem,
25
27
  section-title-small: 3rem,
26
28
  );
27
29
  $brandui-line-height: map.merge(font.$brandui-line-height, $evoui-line-height);