Skip to content

Commit 80fe025

Browse files
authored
Bug fix: Button loading spinner color (#4941)
* fix * Create calm-forks-pull.md * test(vrt): update snapshots * snippy snappers --------- Co-authored-by: langermank <langermank@users.noreply.github.com>
1 parent 2f8d864 commit 80fe025

12 files changed

+16
-0
lines changed

.changeset/calm-forks-pull.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Bug fix: Button loading spinner color
Loading
Loading
Loading

packages/react/src/Button/__tests__/__snapshots__/Button.test.tsx.snap

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ exports[`Button respects block prop 1`] = `
257257
grid-area: text;
258258
margin-right: 0px !important;
259259
place-self: center;
260+
color: fg.muted;
260261
}
261262
262263
.c0 [data-component="loadingSpinner"] + [data-component="text"] {
@@ -573,6 +574,7 @@ exports[`Button respects the alignContent prop 1`] = `
573574
grid-area: text;
574575
margin-right: 0px !important;
575576
place-self: center;
577+
color: fg.muted;
576578
}
577579
578580
.c0 [data-component="loadingSpinner"] + [data-component="text"] {
@@ -888,6 +890,7 @@ exports[`Button respects the large size prop 1`] = `
888890
grid-area: text;
889891
margin-right: 0px !important;
890892
place-self: center;
893+
color: fg.muted;
891894
}
892895
893896
.c0 [data-component="loadingSpinner"] + [data-component="text"] {
@@ -1204,6 +1207,7 @@ exports[`Button respects the small size prop 1`] = `
12041207
grid-area: text;
12051208
margin-right: 0px !important;
12061209
place-self: center;
1210+
color: fg.muted;
12071211
}
12081212
12091213
.c0 [data-component="loadingSpinner"] + [data-component="text"] {
@@ -1522,6 +1526,7 @@ exports[`Button styles danger button appropriately 1`] = `
15221526
grid-area: text;
15231527
margin-right: 0px !important;
15241528
place-self: center;
1529+
color: fg.muted;
15251530
}
15261531
15271532
.c0 [data-component="loadingSpinner"] + [data-component="text"] {
@@ -1840,6 +1845,7 @@ exports[`Button styles invisible button appropriately 1`] = `
18401845
grid-area: text;
18411846
margin-right: 0px !important;
18421847
place-self: center;
1848+
color: fg.muted;
18431849
}
18441850
18451851
.c0 [data-component="loadingSpinner"] + [data-component="text"] {
@@ -2163,6 +2169,7 @@ exports[`Button styles primary button appropriately 1`] = `
21632169
grid-area: text;
21642170
margin-right: 0px !important;
21652171
place-self: center;
2172+
color: fg.muted;
21662173
}
21672174
21682175
.c0 [data-component="loadingSpinner"] + [data-component="text"] {

0 commit comments

Comments
 (0)