Skip to content

Commit 7364de0

Browse files
authored
chore: Replace alert and flashbar styles with design tokens (#4401)
1 parent c631223 commit 7364de0

File tree

10 files changed

+597
-4
lines changed

10 files changed

+597
-4
lines changed

src/__integ__/__snapshots__/themes.test.ts.snap

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "compact" 1`] =
4444
"border-radius-tutorial-panel-item": "2px",
4545
"border-table-sticky-width": "0px",
4646
"border-width-alert": "1px",
47+
"border-width-alert-block-end": "1px",
48+
"border-width-alert-block-start": "1px",
49+
"border-width-alert-inline-end": "1px",
50+
"border-width-alert-inline-start": "1px",
4751
"border-width-button": "1px",
4852
"border-width-card": "0px",
4953
"border-width-card-highlighted": "1px",
@@ -592,7 +596,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "compact" 1`] =
592596
"font-tabs-line-height": "22px",
593597
"font-tabs-size": "14px",
594598
"font-wayfinding-link-active-weight": "700",
599+
"font-weight-alert-header": "700",
595600
"font-weight-button": "700",
601+
"font-weight-flashbar-header": "700",
596602
"font-weight-heading-l": "700",
597603
"font-weight-heading-m": "400",
598604
"font-weight-heading-s": "700",
@@ -821,6 +827,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "dark" 1`] = `
821827
"border-radius-tutorial-panel-item": "2px",
822828
"border-table-sticky-width": "0px",
823829
"border-width-alert": "1px",
830+
"border-width-alert-block-end": "1px",
831+
"border-width-alert-block-start": "1px",
832+
"border-width-alert-inline-end": "1px",
833+
"border-width-alert-inline-start": "1px",
824834
"border-width-button": "1px",
825835
"border-width-card": "0px",
826836
"border-width-card-highlighted": "1px",
@@ -1369,7 +1379,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "dark" 1`] = `
13691379
"font-tabs-line-height": "22px",
13701380
"font-tabs-size": "14px",
13711381
"font-wayfinding-link-active-weight": "700",
1382+
"font-weight-alert-header": "700",
13721383
"font-weight-button": "700",
1384+
"font-weight-flashbar-header": "700",
13731385
"font-weight-heading-l": "700",
13741386
"font-weight-heading-m": "400",
13751387
"font-weight-heading-s": "700",
@@ -1598,6 +1610,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "light" 1`] = `
15981610
"border-radius-tutorial-panel-item": "2px",
15991611
"border-table-sticky-width": "0px",
16001612
"border-width-alert": "1px",
1613+
"border-width-alert-block-end": "1px",
1614+
"border-width-alert-block-start": "1px",
1615+
"border-width-alert-inline-end": "1px",
1616+
"border-width-alert-inline-start": "1px",
16011617
"border-width-button": "1px",
16021618
"border-width-card": "0px",
16031619
"border-width-card-highlighted": "1px",
@@ -2146,7 +2162,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "light" 1`] = `
21462162
"font-tabs-line-height": "22px",
21472163
"font-tabs-size": "14px",
21482164
"font-wayfinding-link-active-weight": "700",
2165+
"font-weight-alert-header": "700",
21492166
"font-weight-button": "700",
2167+
"font-weight-flashbar-header": "700",
21502168
"font-weight-heading-l": "700",
21512169
"font-weight-heading-m": "400",
21522170
"font-weight-heading-s": "700",
@@ -2375,6 +2393,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "reduced-motion"
23752393
"border-radius-tutorial-panel-item": "2px",
23762394
"border-table-sticky-width": "0px",
23772395
"border-width-alert": "1px",
2396+
"border-width-alert-block-end": "1px",
2397+
"border-width-alert-block-start": "1px",
2398+
"border-width-alert-inline-end": "1px",
2399+
"border-width-alert-inline-start": "1px",
23782400
"border-width-button": "1px",
23792401
"border-width-card": "0px",
23802402
"border-width-card-highlighted": "1px",
@@ -2923,7 +2945,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "reduced-motion"
29232945
"font-tabs-line-height": "22px",
29242946
"font-tabs-size": "14px",
29252947
"font-wayfinding-link-active-weight": "700",
2948+
"font-weight-alert-header": "700",
29262949
"font-weight-button": "700",
2950+
"font-weight-flashbar-header": "700",
29272951
"font-weight-heading-l": "700",
29282952
"font-weight-heading-m": "400",
29292953
"font-weight-heading-s": "700",
@@ -3152,6 +3176,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh"
31523176
"border-radius-tutorial-panel-item": "8px",
31533177
"border-table-sticky-width": "1px",
31543178
"border-width-alert": "2px",
3179+
"border-width-alert-block-end": "2px",
3180+
"border-width-alert-block-start": "2px",
3181+
"border-width-alert-inline-end": "2px",
3182+
"border-width-alert-inline-start": "2px",
31553183
"border-width-button": "2px",
31563184
"border-width-card": "1px",
31573185
"border-width-card-highlighted": "2px",
@@ -3700,7 +3728,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh"
37003728
"font-tabs-line-height": "20px",
37013729
"font-tabs-size": "16px",
37023730
"font-wayfinding-link-active-weight": "700",
3731+
"font-weight-alert-header": "700",
37033732
"font-weight-button": "700",
3733+
"font-weight-flashbar-header": "700",
37043734
"font-weight-heading-l": "700",
37053735
"font-weight-heading-m": "700",
37063736
"font-weight-heading-s": "700",
@@ -3929,6 +3959,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-
39293959
"border-radius-tutorial-panel-item": "8px",
39303960
"border-table-sticky-width": "1px",
39313961
"border-width-alert": "2px",
3962+
"border-width-alert-block-end": "2px",
3963+
"border-width-alert-block-start": "2px",
3964+
"border-width-alert-inline-end": "2px",
3965+
"border-width-alert-inline-start": "2px",
39323966
"border-width-button": "2px",
39333967
"border-width-card": "1px",
39343968
"border-width-card-highlighted": "2px",
@@ -4477,7 +4511,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-
44774511
"font-tabs-line-height": "20px",
44784512
"font-tabs-size": "16px",
44794513
"font-wayfinding-link-active-weight": "700",
4514+
"font-weight-alert-header": "700",
44804515
"font-weight-button": "700",
4516+
"font-weight-flashbar-header": "700",
44814517
"font-weight-heading-l": "700",
44824518
"font-weight-heading-m": "700",
44834519
"font-weight-heading-s": "700",
@@ -4706,6 +4742,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-
47064742
"border-radius-tutorial-panel-item": "8px",
47074743
"border-table-sticky-width": "1px",
47084744
"border-width-alert": "2px",
4745+
"border-width-alert-block-end": "2px",
4746+
"border-width-alert-block-start": "2px",
4747+
"border-width-alert-inline-end": "2px",
4748+
"border-width-alert-inline-start": "2px",
47094749
"border-width-button": "2px",
47104750
"border-width-card": "1px",
47114751
"border-width-card-highlighted": "2px",
@@ -5254,7 +5294,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-
52545294
"font-tabs-line-height": "20px",
52555295
"font-tabs-size": "16px",
52565296
"font-wayfinding-link-active-weight": "700",
5297+
"font-weight-alert-header": "700",
52575298
"font-weight-button": "700",
5299+
"font-weight-flashbar-header": "700",
52585300
"font-weight-heading-l": "700",
52595301
"font-weight-heading-m": "700",
52605302
"font-weight-heading-s": "700",
@@ -5483,6 +5525,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-
54835525
"border-radius-tutorial-panel-item": "8px",
54845526
"border-table-sticky-width": "1px",
54855527
"border-width-alert": "2px",
5528+
"border-width-alert-block-end": "2px",
5529+
"border-width-alert-block-start": "2px",
5530+
"border-width-alert-inline-end": "2px",
5531+
"border-width-alert-inline-start": "2px",
54865532
"border-width-button": "2px",
54875533
"border-width-card": "1px",
54885534
"border-width-card-highlighted": "2px",
@@ -6031,7 +6077,9 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-
60316077
"font-tabs-line-height": "20px",
60326078
"font-tabs-size": "16px",
60336079
"font-wayfinding-link-active-weight": "700",
6080+
"font-weight-alert-header": "700",
60346081
"font-weight-button": "700",
6082+
"font-weight-flashbar-header": "700",
60356083
"font-weight-heading-l": "700",
60366084
"font-weight-heading-m": "700",
60376085
"font-weight-heading-s": "700",

0 commit comments

Comments
 (0)