@snyk-mktg/brand-ui 2.5.9-canary.4 → 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 (34) hide show
  1. package/dist/scss/base/_baseline.scss +9 -4
  2. package/dist/scss/base/_color.scss +1 -1
  3. package/dist/scss/base/_layout.scss +33 -4
  4. package/dist/scss/base/_links.scss +3 -1
  5. package/dist/scss/base/decorations/_backgrounds.scss +21 -53
  6. package/dist/scss/base/mixins/_color-mode.scss +5 -0
  7. package/dist/scss/base/mixins/_glass.scss +36 -12
  8. package/dist/scss/base/mixins/_gradient-border.scss +49 -0
  9. package/dist/scss/base/mixins/index.scss +1 -0
  10. package/dist/scss/base/variables/_colors.scss +12 -11
  11. package/dist/scss/base/variables/_effects.scss +5 -5
  12. package/dist/scss/base/variables/_themes.scss +4 -4
  13. package/dist/scss/base/variables/_typography.scss +11 -11
  14. package/dist/scss/base.scss +1 -1
  15. package/dist/scss/components/atoms/_button.scss +11 -4
  16. package/dist/scss/components/atoms/_feature-checkmark.scss +3 -0
  17. package/dist/scss/components/atoms/_icons.scss +2 -2
  18. package/dist/scss/components/atoms/_tag.scss +3 -2
  19. package/dist/scss/components/molecules/_announcements.scss +12 -4
  20. package/dist/scss/components/molecules/_pagination.scss +2 -2
  21. package/dist/scss/components/molecules/_table-of-contents.scss +4 -4
  22. package/dist/scss/components/molecules/cards/_card-bg-image.scss +1 -1
  23. package/dist/scss/components/molecules/cards/_card.scss +7 -1
  24. package/dist/scss/components/organisms/_footer.scss +1 -1
  25. package/dist/scss/components/organisms/_navigation.scss +5 -5
  26. package/dist/scss/components/organisms/ctas/_body-cta.scss +16 -6
  27. package/dist/scss/components/organisms/ctas/_footer-cta.scss +20 -1
  28. package/dist/scss/evo/base/variables/_typography.scss +1 -0
  29. package/dist/scss/evo/components/atoms/_button.scss +4 -4
  30. package/dist/scss/labs/_components.scss +1 -1
  31. package/dist/scss/labs/base/_baseline.scss +2 -0
  32. package/dist/scss/labs/components/molecules/_table-of-contents.scss +14 -1
  33. package/dist/scss/labs/components/molecules/cards/_card-bg-image.scss +7 -0
  34. package/package.json +1 -1
@@ -27,11 +27,11 @@ body {
27
27
  body {
28
28
  font-size: 1rem;
29
29
  font-family: map.get($brandui-font-family, roboto), sans-serif;
30
- color: brandui-color-labels(ui-body);
30
+ color: brandui-color-labels(ui-text);
31
31
 
32
32
  &.dark-mode,
33
33
  & .dark-mode {
34
- color: brandui-color-labels(ui-body-dark);
34
+ color: brandui-color-labels(ui-text-dark);
35
35
  }
36
36
  -webkit-font-smoothing: antialiased;
37
37
  }
@@ -118,6 +118,11 @@ b {
118
118
  font-weight: 700;
119
119
  }
120
120
 
121
+ strong:not(a strong),
122
+ b:not(a b) {
123
+ @include colors.color-mode(color, brandui-color-labels(ui-body), brandui-color-labels(ui-body-dark));
124
+ }
125
+
121
126
  code:not([class]) {
122
127
  border-width: 0.0625rem;
123
128
  border-style: solid;
@@ -128,8 +133,8 @@ code:not([class]) {
128
133
  padding: 0 0.1875rem;
129
134
  position: relative;
130
135
  word-break: break-word;
131
- @include colors.color-mode(background-color, brandui-color-labels(neutral-5), brandui-color-labels(neutral-2));
132
- @include colors.color-mode(border-color, RGBA(brandi-rgb-labels(neutral-4), 0.1), RGBA(brandui-rgb-labels(neutral-2), 0.9));
136
+ @include colors.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
137
+ @include colors.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.1), RGBA(brandui-rgb-labels(ui-stroke-dark), 0.1));
133
138
  @include colors.color-mode(color, brandui-color-labels(fail), brandui-color-labels(fail-dark));
134
139
  }
135
140
 
@@ -10,7 +10,7 @@ $color-elements: (
10
10
  'background-color': 'bg',
11
11
  'border-color': 'border',
12
12
  );
13
- $action-colors: ('action', 'action-secondary');
13
+ $action-colors: ('action', 'action-secondary', 'action-tertiary');
14
14
  $state-colors: ('success', 'info', 'alert', 'warning', 'fail');
15
15
  $label-colors: (
16
16
  'default',
@@ -4,9 +4,11 @@
4
4
  @use '../base/variables/sizing' as *;
5
5
  @use '../base/variables/effects' as *;
6
6
  @use '../base/mixins/breakpoints' as breaks;
7
- @use '../base/mixins/glass' as glass;
8
7
  @use '../base/mixins/color-mode' as color;
8
+ @use '../base/mixins/glass' as glass;
9
+ @use '../base/mixins/gradient-border' as gradient;
9
10
  @use '../base/functions' as *;
11
+ @use './decorations/backgrounds' as *;
10
12
 
11
13
  $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large, extra-large, huge);
12
14
 
@@ -68,6 +70,10 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
68
70
  align-items: center;
69
71
  text-align: center;
70
72
 
73
+ &.solo-title {
74
+ margin-bottom: 0;
75
+ }
76
+
71
77
  &-left-aligned {
72
78
  @extend .section-intro;
73
79
  align-items: start;
@@ -96,10 +102,33 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
96
102
 
97
103
  .bg-boxed {
98
104
  padding: map.get($brandui-padding, extra-large);
99
- border-width: 1px;
100
- border-radius: map.get($brandui-radius, small);
105
+ display: flex;
106
+ flex-direction: column;
107
+ position: relative;
108
+ border-width: 0.1875rem;
101
109
  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));
110
+ border-width: map.get($brandui-padding, 'hairline');
111
+ border-radius: map.get($brandui-radius, 'small');
112
+ transition: map.get($brandui-transition, 'fast');
113
+ overflow: hidden;
114
+
115
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
116
+ @include glass.bg-glass(true, ui-fill);
117
+ @include glass.border-glass(ui-stroke);
118
+
119
+ &-decorated {
120
+ border: 0;
121
+ border-radius: map.get($brandui-radius, 'small');
122
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
123
+ @include glass.bg-glass(true, ui-fill);
124
+ @include gradient.gradient-border;
125
+ }
126
+ &-decorations {
127
+ position: absolute;
128
+ z-index: 1;
129
+ inset: 2px;
130
+ overflow: hidden;
131
+ }
103
132
  }
104
133
 
105
134
  .brandui-backdrop {
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  &:hover {
41
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
41
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
42
42
  }
43
43
  }
44
44
 
@@ -59,6 +59,8 @@
59
59
 
60
60
  &:hover,
61
61
  &:focus {
62
+ @include color.color-mode('color', brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
63
+ @include color.color-mode-pseudo('&::after', 'color', brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
62
64
  &::after {
63
65
  transform: translateX(-0.25rem);
64
66
  }
@@ -4,81 +4,49 @@
4
4
  .decoration-bg {
5
5
  pointer-events: none;
6
6
 
7
- &.circuit-tracks {
7
+ &.dot-wave {
8
8
  position: absolute;
9
- width: brandui-col-spacing(16);
10
- background: transparent url('#{$brandui-images}decorations/decoration-bg-circuit-track.svg') center no-repeat;
9
+ inset: 0;
11
10
  background-size: contain;
12
11
  mix-blend-mode: screen;
13
12
  z-index: -1;
14
13
  padding-bottom: 28rem;
15
14
 
15
+ &-1 {
16
+ background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave.svg') center no-repeat;
17
+ }
18
+
19
+ &-2 {
20
+ background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave-2.svg') center no-repeat;
21
+ }
22
+
23
+ &-3 {
24
+ background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave-3.svg') center no-repeat;
25
+ }
26
+
16
27
  // Tracks positon
17
28
  &-top-right {
18
29
  top: 0;
19
30
  right: -40rem;
20
31
  }
21
32
  &-bottom-right {
22
- bottom: -5rem;
33
+ bottom: -10rem;
23
34
  right: -40rem;
35
+ transform: rotate(180deg);
24
36
  }
25
37
  &-top-left {
26
- top: 0;
27
- left: -40rem;
28
- transform: rotate(180deg);
38
+ top: -60rem;
39
+ left: -50rem;
29
40
  }
30
41
  &-bottom-left {
31
42
  bottom: -5rem;
32
43
  left: -40rem;
33
44
  transform: rotate(180deg);
34
45
  }
35
- }
36
-
37
- &.code-lines {
38
- position: absolute;
39
- width: brandui-col-spacing(6);
40
- padding-bottom: 24rem;
41
- background-size: contain;
42
- z-index: -2;
43
-
44
- // Lines positon
45
- &-top-right {
46
- top: 0;
47
- right: -8rem;
48
- transform: rotate(180deg);
49
- }
50
- &-bottom-right {
51
- bottom: 0;
52
- right: -8rem;
53
- transform: rotate(180deg);
54
- }
55
- &-top-left {
56
- top: 0;
57
- left: -8rem;
58
- }
59
- &-bottom-left {
60
- bottom: 0;
61
- left: -8rem;
62
- }
63
46
 
64
- // Lines colors
65
- &-primary {
66
- background: transparent url('#{$brandui-images}decorations/decoration-bg-code-lines-primary.svg') center no-repeat;
67
- }
68
- &-secondary {
69
- background: transparent url('#{$brandui-images}decorations/decoration-bg-code-lines-secondary.svg') center no-repeat;
47
+ &-center-right {
48
+ top: 30rem;
49
+ right: -26rem;
70
50
  }
71
- &-tertiary {
72
- background: transparent url('#{$brandui-images}decorations/decoration-bg-code-lines-tertiary.svg') center no-repeat;
73
- }
74
- }
75
-
76
- &.hex-pattern {
77
- position: absolute;
78
- inset: 0;
79
- background: transparent url('#{$brandui-images}decorations/decoration-bg-hex-pattern.svg') center no-repeat;
80
- background-size: contain;
81
- transform: scale(1.5);
82
- z-index: -2;
83
51
  }
84
52
  }
@@ -1,3 +1,4 @@
1
+ @use './../functions' as *;
1
2
  @use './accessibility' as a11y;
2
3
  /* Mixins for light/dark modes */
3
4
  @mixin color-mode($property, $light-value, $dark-value) {
@@ -86,3 +87,7 @@
86
87
  @content;
87
88
  }
88
89
  }
90
+
91
+ @mixin transparent-border($property: border-color, $light-value: 'ui-body', $dark-value: 'ui-body-dark', $opacity: 0.3) {
92
+ @include color-mode($property, RGBA(brandui-rgb-labels($light-value), 0.3), RGBA(brandui-rgb-labels($dark-value), $opacity));
93
+ }
@@ -1,36 +1,60 @@
1
1
  @use '../../base/mixins/color-mode' as color;
2
2
  @use '../../base/functions' as *;
3
3
 
4
- @mixin bg-glass($dense: false) {
4
+ @mixin bg-glass($dense: false, $color-label: default) {
5
5
  @if $dense {
6
- backdrop-filter: blur(1.5rem);
7
- -webkit-backdrop-filter: blur(1.5rem);
8
- @include color.color-mode(background-color, RGBA(brandui-rgb-labels(default), 0.8), RGBA(brandui-rgb-labels(default-dark), 0.8));
6
+ & {
7
+ backdrop-filter: blur(1.5rem);
8
+ -webkit-backdrop-filter: blur(1.5rem);
9
+ }
10
+ @include color.color-mode(
11
+ background-color,
12
+ RGBA(brandui-rgb-labels(#{$color-label}), 0.8),
13
+ RGBA(brandui-rgb-labels(#{$color-label}-dark), 0.8)
14
+ );
9
15
  } @else {
10
- backdrop-filter: blur(1rem);
11
- -webkit-backdrop-filter: blur(1rem);
12
- @include color.color-mode(background-color, RGBA(brandui-rgb-labels(default), 0.5), RGBA(brandui-rgb-labels(default-dark), 0.5));
16
+ & {
17
+ backdrop-filter: blur(1rem);
18
+ -webkit-backdrop-filter: blur(1rem);
19
+ }
20
+ @include color.color-mode(
21
+ background-color,
22
+ RGBA(brandui-rgb-labels(#{$color-label}), 0.5),
23
+ RGBA(brandui-rgb-labels(#{$color-label}-dark), 0.5)
24
+ );
13
25
  }
14
26
 
15
27
  &.group {
16
28
  &:hover,
17
29
  &:focus {
18
30
  @if $dense {
19
- @include color.color-mode(background-color, RGBA(brandui-rgb-labels(default), 0.5), RGBA(brandui-rgb-labels(default-dark), 0.5));
31
+ @include color.color-mode(
32
+ background-color,
33
+ RGBA(brandui-rgb-labels(#{$color-label}), 0.5),
34
+ RGBA(brandui-rgb-labels(#{$color-label}-dark), 0.5)
35
+ );
20
36
  } @else {
21
- @include color.color-mode(background-color, RGBA(brandui-rgb-labels(default), 0.3), RGBA(brandui-rgb-labels(default-dark), 0.3));
37
+ @include color.color-mode(
38
+ background-color,
39
+ RGBA(brandui-rgb-labels(#{$color-label}), 0.3),
40
+ RGBA(brandui-rgb-labels(#{$color-label}-dark), 0.3)
41
+ );
22
42
  }
23
43
  }
24
44
  }
25
45
  }
26
46
 
27
- @mixin border-glass {
28
- @include color.color-mode(border-color, RGBA(brandui-rgb-labels(default), 0.7), RGBA(brandui-rgb-labels(default-dark), 0.7));
47
+ @mixin border-glass($color-label: default) {
48
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(#{$color-label}), 0.3), RGBA(brandui-rgb-labels(#{$color-label}-dark), 0.3));
29
49
 
30
50
  &.group {
31
51
  &:hover,
32
52
  &:focus {
33
- @include color.color-mode(border-color, RGBA(brandui-rgb-labels(default), 0.3), RGBA(brandui-rgb-labels(default-dark), 0.3));
53
+ @include color.color-mode(
54
+ border-color,
55
+ RGBA(brandui-rgb-labels(#{$color-label}), 0.3),
56
+ RGBA(brandui-rgb-labels(#{$color-label}-dark), 0.3)
57
+ );
34
58
  }
35
59
  }
36
60
  }
@@ -0,0 +1,49 @@
1
+ @use 'sass:map';
2
+ @use '../../base/variables/sizing' as *;
3
+ @use '../../base/variables/effects' as *;
4
+ @use '../../base/mixins/page-theme' as theme;
5
+ @use '../../base/mixins/breakpoints' as break;
6
+ @use '../../base/mixins/color-mode' as color;
7
+ @use '../../base/functions' as *;
8
+
9
+ @mixin gradient-border {
10
+ :first-child {
11
+ z-index: 2;
12
+ }
13
+ @include color.gradient-mode-pseudo(
14
+ '&:before',
15
+ 'background',
16
+ 'linear',
17
+ '90deg',
18
+ brandui-color-labels(neutral-2),
19
+ brandui-color-labels(neutral-3),
20
+ brandui-color-labels(neutral-3),
21
+ brandui-color-labels(neutral-2)
22
+ ) {
23
+ content: '';
24
+ position: absolute;
25
+ top: 1px;
26
+ left: 1px;
27
+ right: 1px;
28
+ bottom: 1px;
29
+ z-index: 0;
30
+ border-radius: map.get($brandui-radius, 'small');
31
+
32
+ @include break.max-mobile {
33
+ margin: 0;
34
+ }
35
+ }
36
+
37
+ &:after {
38
+ content: '';
39
+ z-index: 0;
40
+ position: absolute;
41
+ inset: 2px;
42
+ border-radius: map.get($brandui-radius, 'small');
43
+
44
+ @include break.max-mobile {
45
+ margin: 0;
46
+ }
47
+ }
48
+ @include color.color-mode-pseudo('&:after', background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
49
+ }
@@ -4,3 +4,4 @@
4
4
  @use '../../base/mixins/glass' as *;
5
5
  @use '../../base/mixins/breakpoints' as *;
6
6
  @use '../../base/mixins/typography' as *;
7
+ @use '../../base/mixins/gradient-border' as *;
@@ -33,15 +33,16 @@ $brandui-colors: (
33
33
  'dark-purple': #441c99,
34
34
  'purple': #8d1ff4,
35
35
  'lavender': #c481f3,
36
+ 'lavender-light': #d6a7f7,
36
37
  'black': #000,
37
38
  'space': #01011e,
38
39
  'midnight': #030328,
39
40
  'ocean': #181846,
40
- 'dark-grey': #202020,
41
+ 'dark-grey': #181818,
41
42
  'dawn': #383f76,
42
- 'steel': #c0bce5,
43
+ 'steel': #c0c0c0,
43
44
  'smoke': #6d6d9c,
44
- 'snow': #f6f7fb,
45
+ 'snow': #e9e9e9,
45
46
  'white': #fff,
46
47
  'rose': #c82d53,
47
48
  'salmon': #f97a99,
@@ -79,11 +80,11 @@ $brandui-color-labels: (
79
80
  'ui-headline': map.get($brandui-colors, 'black'),
80
81
  'ui-headline-dark': map.get($brandui-colors, 'snow'),
81
82
  'ui-body': map.get($brandui-colors, 'black'),
82
- 'ui-body-dark': map.get($brandui-colors, 'snow'),
83
+ 'ui-body-dark': map.get($brandui-colors, 'steel'),
83
84
  'ui-fill': map.get($brandui-colors, 'steel'),
84
85
  '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'),
86
+ 'ui-stroke': map.get($brandui-colors, 'dark-grey'),
87
+ 'ui-stroke-dark': map.get($brandui-colors, 'steel'),
87
88
  'ui-text': map.get($brandui-colors, 'black'),
88
89
  'ui-text-dark': map.get($brandui-colors, 'snow'),
89
90
  'action': map.get($brandui-colors, 'black'),
@@ -95,7 +96,7 @@ $brandui-color-labels: (
95
96
  'action-secondary-dark': map.get($brandui-colors, 'black'),
96
97
  'action-secondary-contrast': map.get($brandui-colors, 'black'),
97
98
  'action-secondary-contrast-dark': map.get($brandui-colors, 'snow'),
98
- 'action-tertiary': map.get($brandui-colors, 'purple'),
99
+ 'action-tertiary': map.get($brandui-colors, 'dark-purple'),
99
100
  'action-tertiary-dark': map.get($brandui-colors, 'lavender'),
100
101
  'action-tertiary-contrast': map.get($brandui-colors, 'black'),
101
102
  'action-tertiary-contrast-dark': map.get($brandui-colors, 'black'),
@@ -116,10 +117,10 @@ $brandui-color-labels: (
116
117
  'fail-contrast': map.get($brandui-colors, 'snow'),
117
118
  'fail-contrast-dark': map.get($brandui-colors, 'midnight'),
118
119
  'neutral-1': map.get($brandui-colors, 'black'),
119
- 'neutral-2': map.get($brandui-colors, 'black'),
120
- 'neutral-3': map.get($brandui-colors, 'black'),
121
- 'neutral-4': map.get($brandui-colors, 'smoke'),
122
- 'neutral-5': map.get($brandui-colors, 'snow'),
120
+ 'neutral-2': map.get($brandui-colors, 'dark-purple'),
121
+ 'neutral-3': map.get($brandui-colors, 'bubblegum'),
122
+ 'neutral-4': map.get($brandui-colors, 'lavender-light'),
123
+ 'neutral-5': map.get($brandui-colors, 'steel'),
123
124
  'neutral-6': map.get($brandui-colors, 'snow'),
124
125
  ) !default;
125
126
 
@@ -1,10 +1,10 @@
1
1
  /* Effects */
2
2
  $brandui-shadow: (
3
- far: 0 1.875rem 3.125rem RGBA(109, 109, 156, 0.3),
4
- mid: 0 0.625rem 0.938rem RGBA(109, 109, 156, 0.25),
5
- near: 0 0.1875rem 0.313rem RGBA(109, 109, 156, 0.15),
6
- faint: 0 0.1875rem 0.313rem RGBA(109, 109, 156, 0.05),
7
- outline: 0 1px 3px 1px RGBA(109, 109, 156, 0.3),
3
+ far: 0 0 3.75rem RGBA(68, 28, 153, 0.4),
4
+ mid: 0 0.625rem 0.938rem RGBA(68, 28, 153, 0.25),
5
+ near: 0 0.1875rem 0.313rem RGBA(68, 28, 153, 0.15),
6
+ faint: 0 0.1875rem 0.313rem RGBA(68, 28, 153, 0.05),
7
+ outline: 0 1px 3px 1px RGBA(68, 28, 153, 0.3),
8
8
  ) !default;
9
9
 
10
10
  $brandui-radius: (
@@ -42,10 +42,10 @@ $brandui-default-themes: (
42
42
  ),
43
43
  ),
44
44
  dark: (
45
- text-solid: map.get($brandui-colors, 'snow'),
45
+ text-solid: map.get($brandui-colors, 'steel'),
46
46
  // deprecate
47
47
  solid: map.get($brandui-colors, 'sky'),
48
- solid-primary: map.get($brandui-colors, 'bubblegum'),
48
+ solid-primary: map.get($brandui-colors, 'snow'),
49
49
  solid-secondary: map.get($brandui-colors, 'deep-sea'),
50
50
  solid-tertiary: map.get($brandui-colors, 'lavender'),
51
51
  contrast: map.get($brandui-colors, 'midnight'),
@@ -53,8 +53,8 @@ $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, 'steel'),
57
+ end: map.get($brandui-colors, 'steel'),
58
58
  ),
59
59
  gradient-primary: (
60
60
  start: map.get($brandui-colors, 'snow'),
@@ -10,8 +10,8 @@ $brandui-font-size: (
10
10
  hero-title-large: 3.625rem,
11
11
  hero-title-small: 2.125rem,
12
12
  page-title-large: 2.375rem,
13
- page-title: 2rem,
14
- section-title: 2rem,
13
+ page-title: 2.375rem,
14
+ section-title: 2.375rem,
15
15
  headline-large: 2.5rem,
16
16
  headline-small: 2rem,
17
17
  subhead: 1.5rem,
@@ -33,7 +33,7 @@ $brandui-line-height: (
33
33
  hero-title-small: 2.125rem,
34
34
  page-title-large: 2.75rem,
35
35
  page-title: 2.5rem,
36
- section-title: 2.5rem,
36
+ section-title: 2.75rem,
37
37
  headline-large: 3rem,
38
38
  headline-small: 2.5rem,
39
39
  subhead: 2.25rem,
@@ -213,14 +213,14 @@ $text-elements-responsive: (
213
213
  'hero-title-large': (
214
214
  'target': 'hero-title-small',
215
215
  'weight': 700,
216
- 'family': map.get($brandui-font-family, big-shoulders),
216
+ 'family': map.get($brandui-font-family, geist),
217
217
  'type': sans-serif,
218
218
  'letter-spacing': -0.01em,
219
219
  ),
220
220
  'hero-title-small': (
221
221
  'target': 'hero-title-small',
222
222
  'weight': 700,
223
- 'family': map.get($brandui-font-family, big-shoulders),
223
+ 'family': map.get($brandui-font-family, geist),
224
224
  'type': sans-serif,
225
225
  'letter-spacing': -0.01em,
226
226
  ),
@@ -228,7 +228,7 @@ $text-elements-responsive: (
228
228
  'target': 'hero-title-small',
229
229
  'weight': 700,
230
230
  // 'family': map.get($brandui-font-family, poppins),
231
- 'family': map.get($brandui-font-family, big-shoulders),
231
+ 'family': map.get($brandui-font-family, geist),
232
232
  'type': sans-serif,
233
233
  'letter-spacing': -0.01em,
234
234
  // 'text-transform': none,
@@ -236,14 +236,14 @@ $text-elements-responsive: (
236
236
  'page-title': (
237
237
  'target': 'hero-title-small',
238
238
  'weight': 700,
239
- 'family': map.get($brandui-font-family, big-shoulders),
239
+ 'family': map.get($brandui-font-family, geist),
240
240
  'type': sans-serif,
241
241
  'letter-spacing': -0.01em,
242
242
  ),
243
243
  'section-title': (
244
244
  'target': 'hero-title-small',
245
245
  'weight': 700,
246
- 'family': map.get($brandui-font-family, big-shoulders),
246
+ 'family': map.get($brandui-font-family, geist),
247
247
  'type': sans-serif,
248
248
  'letter-spacing': -0.01em,
249
249
  ),
@@ -251,7 +251,7 @@ $text-elements-responsive: (
251
251
  'target': 'headline-small',
252
252
  'weight': 700,
253
253
  // 'family': map.get($brandui-font-family, poppins),
254
- 'family': map.get($brandui-font-family, space-grotesk),
254
+ 'family': map.get($brandui-font-family, geist),
255
255
  'type': sans-serif,
256
256
  'letter-spacing': 0,
257
257
  'text-transform': none,
@@ -260,7 +260,7 @@ $text-elements-responsive: (
260
260
  'target': 'subhead',
261
261
  'weight': 700,
262
262
  // 'family': map.get($brandui-font-family, poppins),
263
- 'family': map.get($brandui-font-family, space-grotesk),
263
+ 'family': map.get($brandui-font-family, geist),
264
264
  'type': sans-serif,
265
265
  'letter-spacing': 0,
266
266
  'text-transform': none,
@@ -269,7 +269,7 @@ $text-elements-responsive: (
269
269
  'target': 'subhead-small',
270
270
  'weight': 700,
271
271
  // 'family': map.get($brandui-font-family, poppins),
272
- 'family': map.get($brandui-font-family, space-grotesk),
272
+ 'family': map.get($brandui-font-family, geist),
273
273
  'type': sans-serif,
274
274
  'letter-spacing': 0,
275
275
  'text-transform': none,
@@ -13,7 +13,7 @@
13
13
  @use '../scss/base/decorations/decorations' as *;
14
14
 
15
15
  // Note, we want to keep these files around as they are in use for Evo and labs. However, we are probably done with them on the main theme
16
- // @use '../scss/base/decorations/backgrounds' as *;
16
+ @use '../scss/base/decorations/backgrounds' as *;
17
17
  // @use '../scss/base/decorations/glows' as *;
18
18
  @use '../scss/base/decorations/flourishes' as *;
19
19
  @use '../scss/base/decorations/markers' as *;
@@ -30,7 +30,7 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
30
30
  align-items: center;
31
31
  border-radius: map.get($brandui-radius, small);
32
32
  display: inline-flex;
33
- font-family: map.get($brandui-font-family, space-grotesk), sans-serif;
33
+ font-family: map.get($brandui-font-family, geist), sans-serif;
34
34
  font-size: map.get($brandui-font-size, body);
35
35
  font-weight: 700;
36
36
  letter-spacing: 0.005em;
@@ -85,10 +85,12 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
85
85
  position: relative;
86
86
  border: 1px;
87
87
  border-style: solid;
88
- border-color: white;
89
88
  @include color.color-mode(color, brandui-color-labels(action-contrast), brandui-color-labels(action-contrast-dark));
90
89
  @include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
91
90
  @include color.color-mode(background-color, brandui-color-labels(action), brandui-color-labels(action-dark));
91
+
92
+ @include color.color-mode-pseudo('&:hover, &:focus', border-color, brandui-color-labels(neutral-2), brandui-color-labels(neutral-4));
93
+ @include color.color-mode-pseudo('&:hover, &:focus', background-color, brandui-color-labels(neutral-2), brandui-color-labels(neutral-4));
92
94
  }
93
95
 
94
96
  &.secondary {
@@ -96,8 +98,13 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
96
98
  border: 1px;
97
99
  border-style: solid;
98
100
  transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast);
99
- @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
100
- @include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
101
+ @include color.color-mode(color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
102
+ @include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
103
+
104
+ &:hover {
105
+ @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
106
+ @include color.color-mode(color, brandui-color-labels(ui-text), brandui-color-labels(ui-text-dark));
107
+ }
101
108
  }
102
109
 
103
110
  &.destroy {
@@ -1,6 +1,8 @@
1
1
  @use 'sass:map';
2
+ @use './../../base/functions' as *;
2
3
  @use '../../base/variables/sizing' as *;
3
4
  @use '../../base/mixins/page-theme' as theme;
5
+ @use '../../base/mixins/color-mode' as color;
4
6
  @use '../../base/decorations/markers' as *;
5
7
 
6
8
  .feature-checkmark {
@@ -25,4 +27,5 @@
25
27
  line-height: 1;
26
28
  -webkit-font-smoothing: antialiased;
27
29
  }
30
+ @include color.color-mode-pseudo('&:after', color, brandui-color-labels(action), brandui-color-labels(action-dark));
28
31
  }
@@ -34,7 +34,7 @@
34
34
  border-style: solid;
35
35
  border-radius: map.get($brandui-radius, 'medium');
36
36
  padding: map.get($brandui-padding, 'slim');
37
- @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-3), 0.3), RGBA(brandui-rgb-labels(neutral-3), 0.7));
37
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-5), 0.3), RGBA(brandui-rgb-labels(neutral-5), 0.7));
38
38
  }
39
39
 
40
40
  @each $icon-key, $icon-val in $snyk-icons {
@@ -76,7 +76,7 @@
76
76
  mask-repeat: no-repeat;
77
77
 
78
78
  background-color: currentColor;
79
- // @include color.color-mode(background-color, brandui-color-labels(default), brandui-color-labels(default-dark));
79
+ @include color.color-mode(background-color, brandui-color-labels(default), brandui-color-labels(default-dark));
80
80
  }
81
81
  }
82
82
  }
@@ -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),
@@ -11,7 +11,7 @@
11
11
  .announcement {
12
12
  &-bar {
13
13
  border: 1px solid;
14
- border-radius: map.get($brandui-radius, pill);
14
+ border-radius: map.get($brandui-radius, small);
15
15
  cursor: pointer;
16
16
  display: inline-block;
17
17
  align-items: center;
@@ -20,13 +20,19 @@
20
20
  padding: 0.5rem 1.5rem;
21
21
  position: relative;
22
22
  transition: map.get($brandui-transition, fast);
23
- @include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
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));
24
25
 
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);
@@ -36,8 +36,8 @@
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));
@@ -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 {
@@ -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;
@@ -8,11 +8,17 @@
8
8
  .card {
9
9
  display: flex;
10
10
  flex-direction: column;
11
- border-radius: map.get($brandui-radius, 'extra-small');
11
+ position: relative;
12
+ border-width: 0.1875rem;
13
+ border-style: solid;
14
+ border-width: map.get($brandui-padding, 'hairline');
15
+ border-radius: map.get($brandui-radius, 'small');
12
16
  transition: map.get($brandui-transition, 'fast');
13
17
  overflow: hidden;
14
18
 
15
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);
16
22
 
17
23
  &-wrapper {
18
24
  position: relative;
@@ -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
 
@@ -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 {
@@ -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
  }
@@ -23,6 +23,7 @@ $evoui-line-height: (
23
23
  page-title-large: 5rem,
24
24
  page-title: 5rem,
25
25
  page-title-small: 4rem,
26
+ section-title: 4rem,
26
27
  section-title-small: 3rem,
27
28
  );
28
29
  $brandui-line-height: map.merge(font.$brandui-line-height, $evoui-line-height);
@@ -16,10 +16,10 @@ $fail-hover: brandui-color-labels(fail);
16
16
  $fail-hover-dark: brandui-color-labels(fail-dark);
17
17
  $neutral: brandui-color-labels(neutral-3);
18
18
  $neutral-hover: brandui-color-labels(neutral-6);
19
- $primary-conic-light-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(brandui-rgb-labels(action-dark), 0.3),
20
- RGBA(brandui-rgb-labels(action-secondary-dark), 0.3), RGBA(brandui-rgb-labels(action-secondary-dark), 1);
21
- $primary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(brandui-rgb-labels(action-dark), 0.3),
22
- RGBA(brandui-rgb-labels(action-secondary-dark), 0.3), RGBA(brandui-rgb-labels(action-secondary-dark), 1);
19
+ $primary-conic-light-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(brandui-rgb-labels(action-dark), 0.7),
20
+ RGBA(brandui-rgb-labels(action-secondary-dark), 0.7), RGBA(brandui-rgb-labels(action-secondary-dark), 1);
21
+ $primary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(brandui-rgb-labels(action-dark), 0.7),
22
+ RGBA(brandui-rgb-labels(action-secondary-dark), 0.7), RGBA(brandui-rgb-labels(action-secondary-dark), 1);
23
23
  $secondary-conic-light-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(brandui-rgb-labels(action-dark), 0.3),
24
24
  RGBA(brandui-rgb-labels(action-secondary-dark), 0.3), RGBA(brandui-rgb-labels(action-secondary-dark), 1);
25
25
  $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(brandui-rgb-labels(action-dark), 0.3),
@@ -28,7 +28,6 @@
28
28
  @use '../components/molecules/alert' as *;
29
29
  @use '../components/molecules/avatar-grid-item' as *;
30
30
  @use '../components/molecules/avatar-username' as *;
31
- @use '../components/molecules/cards/card-bg-image' as *;
32
31
  @use '../components/molecules/charts/charts' as *;
33
32
  @use '../components/molecules/charts/vertical-chart' as *;
34
33
  @use '../components/molecules/charts/horizontal-chart' as *;
@@ -60,6 +59,7 @@
60
59
  @use './components/atoms/tooltip' as *;
61
60
  @use './components/molecules/announcements' as *;
62
61
  @use './components/molecules/cards/card' as *;
62
+ @use './components/molecules/cards/card-bg-image' as *;
63
63
  @use './components/molecules/cards/card-repo' as *;
64
64
  @use './components/molecules/pagination' as *;
65
65
  @use './components/molecules/share-this' as *;
@@ -20,6 +20,8 @@ h6 {
20
20
 
21
21
  code:not([class]) {
22
22
  font-family: map.get($brandui-font-family, space-mono), monospace;
23
+ @include color.color-mode(background-color, brandui-color-labels(neutral-5), brandui-color-labels(neutral-2));
24
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-4), 0.1), RGBA(brandui-rgb-labels(neutral-2), 0.1));
23
25
  }
24
26
 
25
27
  hr {
@@ -1,11 +1,24 @@
1
+ @use 'sass:map';
1
2
  @use '../../../components/molecules/table-of-contents';
2
-
3
+ @use '../../../base/variables/effects' as *;
4
+ @use '../../../base/mixins/color-mode' as color;
3
5
  @use '../../base/mixins/typography' as font;
4
6
 
5
7
  .toc {
8
+ border-radius: map.get($brandui-radius, extra-large);
9
+ @include color.color-mode(border-color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
10
+
11
+ &-title {
12
+ @include color.color-mode(border-bottom-color, brandui-color-labels(ui-stroke), brandui-color-labels(ui-stroke-dark));
13
+ }
14
+
6
15
  &-item {
7
16
  &-link {
8
17
  @include font.get-typography(body-small);
9
18
  }
10
19
  }
20
+
21
+ &.active {
22
+ @include color.color-mode(background-color, brandui-color-labels(neutral-5), brandui-color-labels(neutral-2));
23
+ }
11
24
  }
@@ -0,0 +1,7 @@
1
+ @use 'sass:map';
2
+ @use '../../../../components/molecules/cards/card-bg-image' as *;
3
+ @use '../../../../base/variables/effects' as *;
4
+
5
+ .card-bg-image {
6
+ border-radius: map.get($brandui-radius, large);
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk-mktg/brand-ui",
3
- "version": "2.5.9-canary.4",
3
+ "version": "2.5.10-canary.0",
4
4
  "description": "The official style library for Snyk’s BrandUI Design System",
5
5
  "scripts": {
6
6
  "dev:css": "gulp devCss",