Refactored tokens of TreeSelect

pull/5701/head
Cagatay Civici 2024-05-05 20:12:09 +03:00
parent feec112a2a
commit ba927cbb8e
2 changed files with 8 additions and 22 deletions

View File

@ -13,26 +13,12 @@ export default {
placeholderColor: '{form.field.placeholder.color}',
boxShadow: '{form.field.box.shadow}'
},
colorScheme: {
light: {
toggle: {
color: '{surface.400}'
},
overlay: {
background: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.700}'
}
},
dark: {
toggle: {
color: '{surface.400}'
},
overlay: {
background: '{surface.900}',
borderColor: '{surface.700}',
color: '{surface.0}'
}
}
dropdown: {
color: '{form.field.icon.color}'
},
overlay: {
background: '{overlay.select.background}',
borderColor: '{overlay.select.border.color}',
color: '{overlay.select.color}'
}
};

View File

@ -46,7 +46,7 @@ const theme = ({ dt }) => `
justify-content: center;
flex-shrink: 0;
background: transparent;
color: ${dt('treeselect.toggle.color')};
color: ${dt('treeselect.dropdown.color')};
width: 2.5rem;
border-top-right-radius: ${dt('rounded.base')};
border-bottom-right-radius: ${dt('rounded.base')};