Skip to content

Commit

Permalink
fix(button): correct static white secondary outline background color
Browse files Browse the repository at this point in the history
Use the correct tokens for the background color of the
static white + outline + secondary variant.
  • Loading branch information
jawinn committed Mar 29, 2024
1 parent 5de5e16 commit 8d1f9a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/button/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,11 @@ governing permissions and limitations under the License.
--spectrum-button-content-color-focus: var(--spectrum-transparent-white-900);

&.spectrum-Button--outline {
--spectrum-button-background-color-default: var(--spectrum-transparent-white-25);
--spectrum-button-background-color-hover: var(--spectrum-transparent-white-100);
--spectrum-button-background-color-down: var(--spectrum-transparent-white-100);
--spectrum-button-background-color-focus: var(--spectrum-transparent-white-100);

--spectrum-button-border-color-default: var(--spectrum-transparent-white-300);
--spectrum-button-border-color-hover: var(--spectrum-transparent-white-400);
--spectrum-button-border-color-down: var(--spectrum-transparent-white-400);
Expand Down

0 comments on commit 8d1f9a9

Please sign in to comment.