Border radius token for overlay

pull/5701/head
Cagatay Civici 2024-05-07 12:53:26 +03:00
parent 4c0c3b8140
commit 3533e2d8be
5 changed files with 14 additions and 2 deletions

View File

@ -77,7 +77,7 @@ const theme = ({ dt }) => `
background: ${dt('autocomplete.overlay.background')}; background: ${dt('autocomplete.overlay.background')};
color: ${dt('autocomplete.overlay.color')}; color: ${dt('autocomplete.overlay.color')};
border: 1px solid ${dt('autocomplete.overlay.border.color')}; border: 1px solid ${dt('autocomplete.overlay.border.color')};
border-radius: ${dt('border.radius.md')}; border-radius: ${dt('autocomplete.overlay.border.radius')};
box-shadow: ${dt('autocomplete.overlay.shadow')}; box-shadow: ${dt('autocomplete.overlay.shadow')};
} }

View File

@ -26,6 +26,7 @@ export default {
overlay: { overlay: {
background: '{overlay.select.background}', background: '{overlay.select.background}',
borderColor: '{overlay.select.border.color}', borderColor: '{overlay.select.border.color}',
borderRadius: '{overlay.select.border.radius}',
color: '{overlay.select.color}', color: '{overlay.select.color}',
shadow: '{overlay.select.shadow}' shadow: '{overlay.select.shadow}'
}, },

View File

@ -164,6 +164,11 @@ export default {
fontWeight: '600' fontWeight: '600'
} }
}, },
overlay: {
select: {
borderRadius: '{border.radius.md}'
}
},
colorScheme: { colorScheme: {
light: { light: {
surface: { surface: {

View File

@ -26,8 +26,9 @@ export default {
overlay: { overlay: {
background: '{overlay.select.background}', background: '{overlay.select.background}',
borderColor: '{overlay.select.border.color}', borderColor: '{overlay.select.border.color}',
borderRadius: '{overlay.select.border.radius}',
color: '{overlay.select.color}', color: '{overlay.select.color}',
shadow: '{overlay.select.shadow}' shadow: '{overlay.select.shadow}',
}, },
list: { list: {
padding: '{list.padding}', padding: '{list.padding}',

View File

@ -163,6 +163,11 @@ export default {
fontWeight: '600' fontWeight: '600'
} }
}, },
overlay: {
select: {
borderRadius: '{border.radius.sm}'
}
},
colorScheme: { colorScheme: {
light: { light: {
surface: { surface: {