@kaizen/components 1.56.1 → 1.57.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 (48) hide show
  1. package/dist/cjs/Card/Card.module.scss.cjs +1 -0
  2. package/dist/cjs/Collapsible/Collapsible/Collapsible.cjs +6 -5
  3. package/dist/cjs/Collapsible/Collapsible/Collapsible.module.scss.cjs +1 -2
  4. package/dist/cjs/EmptyState/EmptyState.cjs +1 -1
  5. package/dist/cjs/GuidanceBlock/GuidanceBlock.module.scss.cjs +2 -1
  6. package/dist/cjs/Modal/ConfirmationModal/ConfirmationModal.module.scss.cjs +1 -2
  7. package/dist/cjs/Tile/subcomponents/GenericTile/GenericTile.module.scss.cjs +1 -1
  8. package/dist/cjs/Well/Well.module.scss.cjs +1 -1
  9. package/dist/esm/Card/Card.module.scss.mjs +1 -0
  10. package/dist/esm/Collapsible/Collapsible/Collapsible.mjs +6 -5
  11. package/dist/esm/Collapsible/Collapsible/Collapsible.module.scss.mjs +1 -2
  12. package/dist/esm/EmptyState/EmptyState.mjs +2 -2
  13. package/dist/esm/GuidanceBlock/GuidanceBlock.module.scss.mjs +2 -1
  14. package/dist/esm/Modal/ConfirmationModal/ConfirmationModal.module.scss.mjs +1 -2
  15. package/dist/esm/Tile/subcomponents/GenericTile/GenericTile.module.scss.mjs +1 -1
  16. package/dist/esm/Well/Well.module.scss.mjs +1 -1
  17. package/dist/styles.css +18 -18
  18. package/package.json +2 -2
  19. package/src/Card/Card.module.scss +12 -1
  20. package/src/Card/_docs/Card.stickersheet.stories.tsx +0 -7
  21. package/src/Collapsible/Collapsible/Collapsible.module.scss +27 -31
  22. package/src/Collapsible/Collapsible/Collapsible.tsx +2 -4
  23. package/src/Collapsible/Collapsible/_docs/Collapsible.stickersheet.stories.tsx +4 -1
  24. package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +2 -0
  25. package/src/Collapsible/CollapsibleGroup/_docs/CollapsibleGroup.stickersheet.stories.tsx +8 -1
  26. package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +2 -1
  27. package/src/EmptyState/EmptyState.module.scss +23 -21
  28. package/src/EmptyState/EmptyState.tsx +1 -2
  29. package/src/FieldMessage/FieldMessage.module.scss +1 -1
  30. package/src/GuidanceBlock/GuidanceBlock.module.scss +16 -9
  31. package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +9 -23
  32. package/src/Notification/GlobalNotification/_docs/GlobalNotification.mdx +1 -1
  33. package/src/Notification/GlobalNotification/_docs/GlobalNotification.stickersheet.stories.tsx +2 -2
  34. package/src/Notification/GlobalNotification/_docs/GlobalNotification.stories.tsx +1 -1
  35. package/src/Notification/InlineNotification/_docs/InlineNotification.mdx +2 -2
  36. package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +2 -2
  37. package/src/Notification/InlineNotification/_docs/InlineNotification.stories.tsx +1 -1
  38. package/src/Notification/ToastNotification/_docs/ToastNotification.mdx +2 -2
  39. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +4 -4
  40. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +24 -67
  41. package/src/Popover/Popover.module.scss +21 -11
  42. package/src/Tag/Tag.module.scss +1 -1
  43. package/src/Tile/InformationTile/_docs/InformationTile.stickersheet.stories.tsx +3 -3
  44. package/src/Tile/MultiActionTile/_docs/MultiActionTile.stickersheet.stories.tsx +2 -2
  45. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +10 -4
  46. package/src/Tile/subcomponents/GenericTile/_docs/GenericTile.stickersheet.stories.tsx +2 -2
  47. package/src/Well/Well.module.scss +12 -14
  48. package/src/__overlays__/Tooltip/v1/Tooltip.module.scss +13 -17
@@ -5,9 +5,8 @@
5
5
  @import "~@kaizen/design-tokens/sass/border";
6
6
  @import "~@kaizen/design-tokens/sass/animation";
7
7
 
8
- $notification-vertical-padding: calc(
9
- #{$spacing-6} - #{$border-solid-border-width}
10
- );
8
+ $border-width: var(--border-width-1);
9
+ $notification-vertical-padding: calc(#{$spacing-6} - #{$border-width});
11
10
  $notification-fade-out: opacity 200ms ease;
12
11
  $notification-collapse-height:
13
12
  margin-top 200ms ease,
@@ -27,7 +26,7 @@ $notification-slide-right: transform 300ms ease-out;
27
26
  &%ca-notification---inline,
28
27
  &%ca-notification---toast {
29
28
  margin-bottom: $spacing-24;
30
- border: $border-solid-border-width $border-solid-border-style;
29
+ border: $border-width var(--border-solid-border-style);
31
30
  border-radius: $border-solid-border-radius;
32
31
  }
33
32
 
@@ -57,6 +56,9 @@ $notification-slide-right: transform 300ms ease-out;
57
56
  border-width: 0;
58
57
  border-radius: 0;
59
58
  margin-bottom: 0;
59
+ padding-top: var(--spacing-16);
60
+ padding-bottom: var(--spacing-16);
61
+ padding-inline-start: var(--spacing-8);
60
62
  transition: $notification-collapse-height;
61
63
  position: relative;
62
64
  z-index: 1030;
@@ -65,42 +67,26 @@ $notification-slide-right: transform 300ms ease-out;
65
67
  // Types
66
68
  &%ca-notification---positive {
67
69
  background: $color-green-100;
68
- border-color: $color-green-300;
70
+ border-color: var(--color-green-500);
69
71
  color: $color-purple-800;
70
-
71
- &%ca-notification---global {
72
- background-color: $color-green-200;
73
- }
74
72
  }
75
73
 
76
74
  &%ca-notification---informative {
77
75
  background: $color-blue-100;
78
- border-color: $color-blue-300;
76
+ border-color: var(--color-blue-400);
79
77
  color: $color-purple-800;
80
-
81
- &%ca-notification---global {
82
- background-color: $color-blue-200;
83
- }
84
78
  }
85
79
 
86
80
  &%ca-notification---cautionary {
87
81
  background: $color-yellow-100;
88
- border-color: $color-yellow-400;
82
+ border-color: var(--color-yellow-700);
89
83
  color: $color-purple-800;
90
-
91
- &%ca-notification---global {
92
- background-color: $color-yellow-200;
93
- }
94
84
  }
95
85
 
96
86
  &%ca-notification---negative {
97
87
  background: $color-red-100;
98
- border-color: $color-red-300;
88
+ border-color: var(--color-red-500);
99
89
  color: $color-purple-800;
100
-
101
- &%ca-notification---global {
102
- background-color: $color-red-200;
103
- }
104
90
  }
105
91
 
106
92
  // Hidden state
@@ -162,7 +148,7 @@ $notification-slide-right: transform 300ms ease-out;
162
148
  }
163
149
 
164
150
  %ca-notification---cautionary & {
165
- color: $color-yellow-500;
151
+ color: var(--color-yellow-700);
166
152
  }
167
153
 
168
154
  %ca-notification---negative & {
@@ -177,29 +163,8 @@ $notification-slide-right: transform 300ms ease-out;
177
163
  }
178
164
 
179
165
  %ca-notification---global & {
180
- $size: calc(#{$spacing-24} * 1.25);
181
-
182
- width: $size;
183
- height: $size;
184
- padding: calc(((#{$spacing-24} * 2) - #{$size}) / 2);
185
- margin: calc(#{$spacing-24} / 4);
186
- border-radius: $border-solid-border-radius;
187
-
188
- // Override the type-specific color values set above
189
- color: $color-white;
190
- }
191
-
192
- %ca-notification---global%ca-notification---positive & {
193
- background-color: $color-green-500;
194
- }
195
- %ca-notification---global%ca-notification---informative & {
196
- background-color: $color-blue-500;
197
- }
198
- %ca-notification---global%ca-notification---cautionary & {
199
- background-color: $color-yellow-500;
200
- }
201
- %ca-notification---global%ca-notification---negative & {
202
- background-color: $color-red-500;
166
+ width: 24px;
167
+ height: 24px;
203
168
  }
204
169
  }
205
170
 
@@ -222,8 +187,7 @@ $notification-slide-right: transform 300ms ease-out;
222
187
  }
223
188
 
224
189
  %ca-notification---global & {
225
- margin-inline-start: $spacing-12;
226
- padding: calc(0.25 * #{$spacing-24}) 0;
190
+ margin-inline-start: var(--spacing-8);
227
191
  }
228
192
 
229
193
  %ca-notification---inline & {
@@ -298,11 +262,6 @@ $notification-slide-right: transform 300ms ease-out;
298
262
  color: $color-blue-500;
299
263
  text-decoration: none;
300
264
  }
301
-
302
- %ca-notification---global &,
303
- %ca-notification---global &:hover {
304
- color: $color-purple-800;
305
- }
306
265
  }
307
266
 
308
267
  strong {
@@ -363,27 +322,25 @@ $notification-slide-right: transform 300ms ease-out;
363
322
  // The negative margins below are so that our clickable area will overlap the notification padding
364
323
  %ca-notification---inline &,
365
324
  %ca-notification---toast & {
366
- width: $spacing-48;
367
- height: $spacing-48;
368
- margin-top: calc(-1 * #{$spacing-6});
369
- margin-bottom: calc(-1 * #{$spacing-6});
325
+ width: var(--spacing-48);
326
+ height: var(--spacing-48);
327
+ margin-top: calc(-1 * var(--spacing-6));
328
+ margin-bottom: calc(-1 * var(--spacing-6));
370
329
  }
371
330
 
372
331
  %ca-notification---inline & {
373
- margin-right: calc(-1 * #{$spacing-12});
332
+ margin-inline-end: calc(-1 * var(--spacing-12));
374
333
  }
375
334
 
376
335
  %ca-notification---toast & {
377
- margin-right: -10px;
336
+ margin-inline-end: -10px;
378
337
  }
379
338
 
380
339
  %ca-notification---global & {
381
- padding-right: calc((5 / 8) * #{$spacing-24});
382
- width: 3.75rem;
383
- height: 3.75rem;
384
- margin-right: -15px;
385
- margin-top: calc(-1 * #{$spacing-12});
386
- margin-bottom: calc(-1 * #{$spacing-12});
340
+ width: var(--spacing-48);
341
+ height: var(--spacing-48);
342
+ margin-top: calc(-1 * var(--spacing-24));
343
+ margin-bottom: calc(-1 * var(--spacing-24));
387
344
  }
388
345
  }
389
346
 
@@ -31,7 +31,7 @@ $large-width: 450px;
31
31
  /* The white fill of the triangle */
32
32
  &::after {
33
33
  border-top: $arrow-height solid $background-color;
34
- margin-top: -2px;
34
+ margin-top: -1.5px;
35
35
  z-index: 1;
36
36
  }
37
37
  }
@@ -44,24 +44,32 @@ $large-width: 450px;
44
44
  }
45
45
 
46
46
  %box {
47
- background: $color-white;
48
- border: $border-solid-border-width $border-solid-border-style $color-gray-300;
47
+ --border-width: var(--border-width-1);
48
+
49
+ border: var(--border-width) var(--border-solid-border-style);
49
50
  filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.1));
50
51
  border-radius: $border-solid-border-radius;
51
52
  color: $color-purple-800;
52
53
  text-align: left;
53
- padding: $spacing-sm 1rem 1rem;
54
+ padding-block: calc(var(--spacing-12) - var(--border-width))
55
+ calc(var(--spacing-16) - var(--border-width));
56
+ padding-inline: calc(var(--spacing-16) - var(--border-width));
54
57
  }
55
58
 
59
+ $default-box-border-color: var(--color-gray-500);
60
+
56
61
  .defaultBox {
57
62
  @extend %box;
63
+
64
+ background: var(--color-white);
65
+ border-color: $default-box-border-color;
58
66
  }
59
67
 
60
68
  .defaultArrow {
61
- @include arrow(white, $color-gray-300);
69
+ @include arrow(var(--color-white), $default-box-border-color);
62
70
  }
63
71
 
64
- $informative-box-border-color: $color-blue-300;
72
+ $informative-box-border-color: var(--color-blue-400);
65
73
 
66
74
  .informativeBox {
67
75
  @extend %box;
@@ -74,7 +82,7 @@ $informative-box-border-color: $color-blue-300;
74
82
  @include arrow($color-blue-100, $informative-box-border-color);
75
83
  }
76
84
 
77
- $positive-box-border-color: $color-green-300;
85
+ $positive-box-border-color: var(--color-green-500);
78
86
 
79
87
  .positiveBox {
80
88
  @extend %box;
@@ -87,7 +95,7 @@ $positive-box-border-color: $color-green-300;
87
95
  @include arrow($color-green-100, $positive-box-border-color);
88
96
  }
89
97
 
90
- $negative-box-border-color: $color-red-300;
98
+ $negative-box-border-color: var(--color-red-500);
91
99
 
92
100
  .negativeBox {
93
101
  @extend %box;
@@ -100,15 +108,17 @@ $negative-box-border-color: $color-red-300;
100
108
  @include arrow($color-red-100, $negative-box-border-color);
101
109
  }
102
110
 
111
+ $cautionary-box-border-color: var(--color-yellow-700);
112
+
103
113
  .cautionaryBox {
104
114
  @extend %box;
105
115
 
106
116
  background: $color-yellow-100;
107
- border-color: $color-yellow-400;
117
+ border-color: $cautionary-box-border-color;
108
118
  }
109
119
 
110
120
  .cautionaryArrow {
111
- @include arrow($color-yellow-100, $color-yellow-400);
121
+ @include arrow($color-yellow-100, $cautionary-box-border-color);
112
122
  }
113
123
 
114
124
  .header {
@@ -143,7 +153,7 @@ $negative-box-border-color: $color-red-300;
143
153
  }
144
154
 
145
155
  .cautionaryIcon {
146
- color: $color-yellow-500;
156
+ color: var(--color-yellow-700);
147
157
  }
148
158
 
149
159
  .close {
@@ -187,7 +187,7 @@ $small: $spacing-md;
187
187
  background-color: $color-yellow-100;
188
188
 
189
189
  .validationIcon {
190
- color: $color-yellow-500;
190
+ color: var(--color-yellow-700);
191
191
  }
192
192
  }
193
193
 
@@ -8,7 +8,7 @@ import { moodsList } from "../../subcomponents/GenericTile/types"
8
8
  import { InformationTile } from "../index"
9
9
 
10
10
  export default {
11
- title: "Components/Tile/InformationTile",
11
+ title: "Components/Tiles/InformationTile",
12
12
  parameters: {
13
13
  chromatic: { disable: false },
14
14
  controls: { disable: true },
@@ -19,10 +19,10 @@ const StickerSheetTemplate: StickerSheetStory = {
19
19
  render: () => (
20
20
  <StickerSheet>
21
21
  <StickerSheet.Body>
22
- {moodsList.map(mood => (
22
+ {(["default", ...moodsList] as const).map(mood => (
23
23
  <StickerSheet.Row key={mood} rowTitle={mood}>
24
24
  <InformationTile
25
- mood={mood}
25
+ mood={mood === "default" ? undefined : mood}
26
26
  title="Title"
27
27
  metadata="Side A"
28
28
  information="Side B"
@@ -19,10 +19,10 @@ const StickerSheetTemplate: StickerSheetStory = {
19
19
  render: () => (
20
20
  <StickerSheet>
21
21
  <StickerSheet.Body>
22
- {moodsList.map(mood => (
22
+ {(["default", ...moodsList] as const).map(mood => (
23
23
  <StickerSheet.Row key={mood} rowTitle={mood}>
24
24
  <MultiActionTile
25
- mood={mood}
25
+ mood={mood === "default" ? undefined : mood}
26
26
  title="Title"
27
27
  metadata="Side A"
28
28
  information="Side B"
@@ -1,3 +1,4 @@
1
+ @import "~@kaizen/design-tokens/sass/border";
1
2
  @import "~@kaizen/design-tokens/sass/color";
2
3
  @import "~@kaizen/design-tokens/sass/shadow";
3
4
  @import "~@kaizen/design-tokens/sass/spacing";
@@ -44,6 +45,7 @@ $tilePaddingTop: $spacing-xl;
44
45
  .face {
45
46
  position: absolute;
46
47
  background-color: $color-white;
48
+ border: var(--border-width-1) var(--border-solid-border-style);
47
49
  border-radius: 7px;
48
50
  box-sizing: border-box;
49
51
  display: flex;
@@ -60,36 +62,40 @@ $tilePaddingTop: $spacing-xl;
60
62
 
61
63
  .faceFront {
62
64
  justify-content: space-between;
65
+ border-color: var(--color-gray-500);
63
66
  padding: $tilePaddingTop $spacing-md $spacing-md;
64
67
  }
65
68
 
66
69
  .faceBack {
67
70
  padding-top: $tilePaddingTop;
68
71
  transform: rotateY(180deg);
72
+ border-color: var(--color-blue-400);
69
73
  background-color: $color-blue-100;
70
74
  }
71
75
 
72
76
  .faceMoodPositive {
77
+ border-color: var(--color-green-500);
73
78
  background-color: $color-green-100;
74
79
  }
75
80
 
76
81
  .faceMoodInformative {
82
+ border-color: var(--color-blue-400);
77
83
  background-color: $color-blue-100;
78
84
  }
79
85
 
80
86
  .faceMoodCautionary {
87
+ border-color: var(--color-yellow-700);
81
88
  background-color: $color-yellow-100;
82
89
  }
83
90
 
91
+ .faceMoodNegative,
84
92
  .faceMoodAssertive {
85
- background-color: $color-orange-100;
86
- }
87
-
88
- .faceMoodNegative {
93
+ border-color: var(--color-red-500);
89
94
  background-color: $color-red-100;
90
95
  }
91
96
 
92
97
  .faceMoodProminent {
98
+ border-color: var(--color-purple-400);
93
99
  background-color: $color-purple-100;
94
100
  }
95
101
 
@@ -19,10 +19,10 @@ const StickerSheetTemplate: StickerSheetStory = {
19
19
  render: ({ isReversed }) => (
20
20
  <StickerSheet isReversed={isReversed}>
21
21
  <StickerSheet.Body>
22
- {moodsList.map(mood => (
22
+ {(["default", ...moodsList] as const).map(mood => (
23
23
  <StickerSheet.Row key={mood} rowTitle={mood}>
24
24
  <GenericTile
25
- mood={mood}
25
+ mood={mood === "default" ? undefined : mood}
26
26
  title="Title"
27
27
  metadata="metadata"
28
28
  information="string"
@@ -3,6 +3,7 @@
3
3
  @import "~@kaizen/design-tokens/sass/spacing";
4
4
 
5
5
  .container {
6
+ border-width: $border-width-1;
6
7
  border-radius: $border-solid-border-radius;
7
8
  margin-bottom: $spacing-md;
8
9
  }
@@ -12,60 +13,57 @@
12
13
  }
13
14
 
14
15
  // Background Style Variations
16
+ .default {
17
+ background-color: var(--color-gray-200);
18
+ border-color: $color-gray-500;
19
+ }
20
+
15
21
  .positive {
16
22
  background: $color-green-100;
17
- border-color: $color-green-300;
23
+ border-color: $color-green-500;
18
24
  color: $color-purple-800;
19
25
  }
20
26
 
21
27
  .negative {
22
28
  background: $color-red-100;
23
- border-color: $color-red-300;
29
+ border-color: $color-red-500;
24
30
  color: $color-purple-800;
25
31
  }
26
32
 
27
33
  .informative {
28
34
  background: $color-blue-100;
29
- border-color: $color-blue-300;
35
+ border-color: $color-blue-400;
30
36
  color: $color-purple-800;
31
37
  }
32
38
 
33
39
  .cautionary {
34
40
  background: $color-yellow-100;
35
- border-color: $color-yellow-400;
41
+ border-color: $color-yellow-700;
36
42
  color: $color-purple-800;
37
43
  }
38
44
 
39
45
  .assertive {
40
46
  background: $color-orange-100;
41
- border-color: $color-orange-300;
47
+ border-color: $color-orange-600;
42
48
  color: $color-purple-800;
43
49
  }
44
50
 
45
51
  .prominent {
46
52
  background: $color-purple-100;
47
- border-color: $color-purple-300;
53
+ border-color: $color-purple-400;
48
54
  color: $color-purple-800;
49
55
  }
50
56
 
51
- .default {
52
- background-color: $color-gray-300;
53
- border-color: rgba($color-gray-600-rgb, 0.1);
54
- }
55
-
56
57
  // Border Style Variations
57
58
  .solid {
58
59
  border-style: $border-solid-border-style;
59
- border-width: $border-solid-border-width;
60
60
  }
61
61
 
62
62
  .dashed {
63
63
  border-style: $border-dashed-border-style;
64
- border-width: $border-dashed-border-width;
65
64
  }
66
65
 
67
66
  .none {
68
67
  border-color: $border-borderless-border-color;
69
68
  border-style: $border-borderless-border-style;
70
- border-width: $border-borderless-border-width;
71
69
  }
@@ -14,7 +14,7 @@
14
14
 
15
15
  .tooltipContent {
16
16
  max-width: 400px;
17
- padding: 0.4375rem 0.5313rem;
17
+ padding: var(--spacing-8) calc(9rem / 16); // 8px 9px
18
18
  color: $color-purple-800;
19
19
  text-align: center;
20
20
  font-family: $typography-paragraph-body-font-family;
@@ -22,6 +22,7 @@
22
22
  font-weight: $typography-paragraph-body-font-weight;
23
23
  letter-spacing: $typography-paragraph-body-letter-spacing;
24
24
  line-height: $typography-paragraph-small-line-height;
25
+ border: var(--border-width-1) var(--border-solid-border-style);
25
26
  border-radius: $border-solid-border-radius;
26
27
  transition:
27
28
  opacity $animation-duration-fast,
@@ -30,32 +31,27 @@
30
31
 
31
32
  &.default {
32
33
  background-color: $color-white;
33
- border: $border-solid-border-width $border-solid-border-style
34
- $color-gray-300;
34
+ border-color: var(--color-gray-500);
35
35
  }
36
36
 
37
37
  &.informative {
38
38
  background-color: $color-blue-100;
39
- border: $border-solid-border-width $border-solid-border-style
40
- $color-blue-300;
39
+ border-color: var(--color-blue-400);
41
40
  }
42
41
 
43
42
  &.positive {
44
43
  background-color: $color-green-100;
45
- border: $border-solid-border-width $border-solid-border-style
46
- $color-green-300;
44
+ border-color: var(--color-green-500);
47
45
  }
48
46
 
49
47
  &.cautionary {
50
48
  background-color: $color-yellow-100;
51
- border: $border-solid-border-width $border-solid-border-style
52
- $color-yellow-300;
49
+ border-color: var(--color-yellow-700);
53
50
  }
54
51
 
55
52
  &.highlight {
56
53
  background-color: $color-purple-100;
57
- border: $border-solid-border-width $border-solid-border-style
58
- $color-purple-300;
54
+ border-color: var(--color-purple-400);
59
55
  }
60
56
  }
61
57
 
@@ -112,27 +108,27 @@
112
108
  .arrowMain {
113
109
  // before styles
114
110
  &.default::before {
115
- border-top: $arrow-height solid $color-gray-300;
111
+ border-top: $arrow-height solid var(--color-gray-500);
116
112
  }
117
113
 
118
114
  &.informative::before {
119
- border-top: $arrow-height solid $color-blue-300;
115
+ border-top: $arrow-height solid var(--color-blue-400);
120
116
  }
121
117
 
122
118
  &.positive::before {
123
- border-top: $arrow-height solid $color-green-300;
119
+ border-top: $arrow-height solid var(--color-green-500);
124
120
  }
125
121
 
126
122
  &.highlight::before {
127
- border-top: $arrow-height solid $color-purple-300;
123
+ border-top: $arrow-height solid var(--color-purple-400);
128
124
  }
129
125
 
130
126
  &.cautionary::before {
131
- border-top: $arrow-height solid $color-yellow-300;
127
+ border-top: $arrow-height solid var(--color-yellow-700);
132
128
  }
133
129
  // after styles
134
130
  &::after {
135
- margin-top: -3px;
131
+ margin-top: -1.5px;
136
132
  }
137
133
 
138
134
  &.default::after {