-
Notifications
You must be signed in to change notification settings - Fork 840
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mixins] Memoize
useEuiButtonColorCSS
- use nested forEach instead of a function - invert the color/display mapping to make it easier to just return the expected colors obj - use switch + manually tweak Emotion label output to be the same as prod
- Loading branch information
Showing
3 changed files
with
234 additions
and
38 deletions.
There are no files selected for viewing
162 changes: 162 additions & 0 deletions
162
src/themes/amsterdam/global_styling/mixins/__snapshots__/button.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters