Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/calm-forks-pull.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix: Button loading spinner color
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line numberDiff line numberDiff line change
Expand Up@@ -257,6 +257,7 @@ exports[`Button respects block prop 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: fg.muted;
}

.c0 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -573,6 +574,7 @@ exports[`Button respects the alignContent prop 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: fg.muted;
}

.c0 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -888,6 +890,7 @@ exports[`Button respects the large size prop 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: fg.muted;
}

.c0 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -1204,6 +1207,7 @@ exports[`Button respects the small size prop 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: fg.muted;
}

.c0 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -1522,6 +1526,7 @@ exports[`Button styles danger button appropriately 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: fg.muted;
}

.c0 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -1840,6 +1845,7 @@ exports[`Button styles invisible button appropriately 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: fg.muted;
}

.c0 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -2163,6 +2169,7 @@ exports[`Button styles primary button appropriately 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: fg.muted;
}

.c0 [data-component="loadingSpinner"] + [data-component="text"] {
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/Button/styles.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -406,6 +406,7 @@ export const getButtonStyles = (theme?: Theme) => {
gridArea: 'text',
marginRight: '0px !important',
placeSelf: 'center',
color: 'fg.muted',
},
'[data-component="loadingSpinner"] + [data-component="text"]': {
visibility: 'hidden',
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -1921,6 +1921,7 @@ exports[`TextInput renders trailingAction icon button 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: var(--fgColor-muted,var(--color-fg-muted,#656d76));
}

.c4 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -2552,6 +2553,7 @@ exports[`TextInput renders trailingAction text button 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: var(--fgColor-muted,var(--color-fg-muted,#656d76));
}

.c4 [data-component="loadingSpinner"] + [data-component="text"] {
Expand DownExpand Up@@ -3044,6 +3046,7 @@ exports[`TextInput renders trailingAction text button with a tooltip 1`] = `
grid-area: text;
margin-right: 0px !important;
place-self: center;
color: var(--fgColor-muted,var(--color-fg-muted,#656d76));
}

.c4 [data-component="loadingSpinner"] + [data-component="text"] {
Expand Down