File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ export type IonChipRecipe = {
1313
1414 // Hues with fills
1515 hue ?: {
16- bold ?: ChipFills ;
17- subtle ?: ChipFills ;
16+ bold ?: IonChipFillDefinition ;
17+ subtle ?: IonChipFillDefinition ;
1818 } ;
1919
2020 // Sizes
@@ -49,26 +49,26 @@ export type IonChipRecipe = {
4949 avatar ?: IonChipAvatarDefinition ;
5050} ;
5151
52- type ChipFills = {
53- solid : ChipStates & {
54- semantic ?: ChipStates ;
52+ type IonChipFillDefinition = {
53+ solid : IonChipStateDefinition & {
54+ semantic ?: IonChipStateDefinition ;
5555 } ;
5656
57- outline : ChipStates & {
58- semantic ?: ChipStates ;
57+ outline : IonChipStateDefinition & {
58+ semantic ?: IonChipStateDefinition ;
5959 } ;
6060} ;
6161
62- type ChipStates = {
63- default : ChipColors ;
64- hover ?: ChipColors ;
65- focus ?: ChipColors ;
66- activated ?: ChipColors ;
67- disabled ?: ChipColors ;
62+ type IonChipStateDefinition = {
63+ default : IonChipColorDefinition ;
64+ hover ?: IonChipColorDefinition ;
65+ focus ?: IonChipColorDefinition ;
66+ activated ?: IonChipColorDefinition ;
67+ disabled ?: IonChipColorDefinition ;
6868} ;
6969
7070// Basic colors for a state
71- type ChipColors = {
71+ type IonChipColorDefinition = {
7272 bg ?: string ;
7373 color ?: string ;
7474 border ?: {
You can’t perform that action at this time.
0 commit comments