-
Notifications
You must be signed in to change notification settings - Fork 844
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusting EuiToken for use as ES field types (#2758)
* Updated token color map to match the order of the color blind vis palette Slight changes to these colors: - Neon pink became light pink - Primary is no longer used but uses the blue from vis palette instead * Allowing custom `iconType` in token map and correctly add the icon sizing * Adding more tokens and modifying a few to match Kibana palette * Undoing map.iconType and changing names of new ones to match icon glyph names Cleans up Token code Makes background color more subtle * [Breaking] Simplifying `EuiTokenMapDisplayOptions` - Fill now takes ‘light’, ‘dark’, or ‘none’ - No more `hideBorder`, comes with ‘light’ fill * Add token sized icons for field types * Update document icon * Using “behingText” variants and altering a few colors - Had to create a couple mixins to support changing the tint color from the graphic to behindText variant - $tokenTypes -> $euiTokenTypes - Now restricting to only 10 colors - removed 12 (hot pink) - changed usage of 11 (hot green) to 00 (vis green) - Added $euiPaletteColorBlindKeys for finding if key exists in map * Removed the naming scheme `tokenTint` in favor of simply using the same names for the vis palette (euiColorVis) Plus on extra called “gray” that gets appended via SASS map-merge * Removed `displayOptions` in favor of using them directly - Allowing passing of a custom color value (but only works with none or dark fill) * Using tokens in EuiDataGrid * Update docs comments * Render span and no fill text is graphic color * Cleanup * Fixed sizing of xs Token and TreeView usage * Addressing a few PR comments & fixing snaps * Remove `style` from type declaration * Adding comment
- Loading branch information
Showing
35 changed files
with
1,465 additions
and
401 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.