Refactored tokens of TreeSelect
parent
feec112a2a
commit
ba927cbb8e
|
@ -13,26 +13,12 @@ export default {
|
||||||
placeholderColor: '{form.field.placeholder.color}',
|
placeholderColor: '{form.field.placeholder.color}',
|
||||||
boxShadow: '{form.field.box.shadow}'
|
boxShadow: '{form.field.box.shadow}'
|
||||||
},
|
},
|
||||||
colorScheme: {
|
dropdown: {
|
||||||
light: {
|
color: '{form.field.icon.color}'
|
||||||
toggle: {
|
|
||||||
color: '{surface.400}'
|
|
||||||
},
|
},
|
||||||
overlay: {
|
overlay: {
|
||||||
background: '{surface.0}',
|
background: '{overlay.select.background}',
|
||||||
borderColor: '{surface.200}',
|
borderColor: '{overlay.select.border.color}',
|
||||||
color: '{surface.700}'
|
color: '{overlay.select.color}'
|
||||||
}
|
|
||||||
},
|
|
||||||
dark: {
|
|
||||||
toggle: {
|
|
||||||
color: '{surface.400}'
|
|
||||||
},
|
|
||||||
overlay: {
|
|
||||||
background: '{surface.900}',
|
|
||||||
borderColor: '{surface.700}',
|
|
||||||
color: '{surface.0}'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,7 +46,7 @@ const theme = ({ dt }) => `
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: ${dt('treeselect.toggle.color')};
|
color: ${dt('treeselect.dropdown.color')};
|
||||||
width: 2.5rem;
|
width: 2.5rem;
|
||||||
border-top-right-radius: ${dt('rounded.base')};
|
border-top-right-radius: ${dt('rounded.base')};
|
||||||
border-bottom-right-radius: ${dt('rounded.base')};
|
border-bottom-right-radius: ${dt('rounded.base')};
|
||||||
|
|
Loading…
Reference in New Issue