Now, colors palettes are enumerated from `0` to `palette.length - 1`. <img src="https://user-images.githubusercontent.com/6745392/78532965-68a54100-77e8-11ea-96e6-53f7f31b1456.png" width=100 /> We want to support aliases for color arrays indices. Example: ```jsx const colors = ['#aaa', '#bbb', '#bbb'] colors.aliases = ['default', 'active', 'disabled'] <PaletteSwatch token={"gray"} value={colors} aliasesKey='aliases' /> ``` or ```jsx <ColorSwatch token={"error"} value={"#C0100F"} alias={"red"} /> ``` ### Proposal - extend `ColorSwatch` with `alias` property and display alias under the default name <img src="https://user-images.githubusercontent.com/6745392/78531417-a2c11380-77e5-11ea-87cf-621aa5ff4059.png" width=100 /> - extend `PaletteSwatch` with `aliasesKey` prop which will be used to read aliases from colors array and pass it to `ColorSwatch`
Now, colors palettes are enumerated from
0topalette.length - 1.We want to support aliases for color arrays indices.
Example:
or
Proposal
ColorSwatchwithaliasproperty and display alias under the default namePaletteSwatchwithaliasesKeyprop which will be used to read aliases from colors array and pass it toColorSwatch