Skip to content

Commit

Permalink
Update button background in dark mode to match design spec (uber#5187)
Browse files Browse the repository at this point in the history
* Update button background in dark mode to match design spec

* Update button background token in js.flow file
  • Loading branch information
merriechristopher authored Oct 4, 2022
1 parent 12b86d3 commit 7839e9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/themes/dark-theme/color-component-tokens.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
bannerActionHighWarning: themePrimitives.warning600,

// Buttons
buttonPrimaryFill: themePrimitives.primary,
buttonPrimaryFill: themePrimitives.primaryA,
buttonPrimaryText: themePrimitives.black,
buttonPrimaryHover: themePrimitives.primary100,
buttonPrimaryActive: themePrimitives.primary200,
Expand Down
3 changes: 1 addition & 2 deletions src/themes/dark-theme/color-component-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ export default (themePrimitives: ColorTokens = colorTokens): ComponentColorToken
bannerActionHighWarning: themePrimitives.warning600,

// Buttons
buttonPrimaryFill: themePrimitives.primary,

buttonPrimaryFill: themePrimitives.primaryA,
buttonPrimaryText: themePrimitives.black,
buttonPrimaryHover: themePrimitives.primary100,
buttonPrimaryActive: themePrimitives.primary200,
Expand Down

0 comments on commit 7839e9d

Please sign in to comment.