mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(radio-group): clean theme
This commit is contained in:
@@ -14,12 +14,10 @@ export default (config: { colors: string[] }) => ({
|
||||
description: 'text-gray-500 dark:text-gray-400'
|
||||
},
|
||||
variants: {
|
||||
color: Object.fromEntries(config.colors.map((color: string) => [
|
||||
color, {
|
||||
base: `focus-visible:outline-${color}-500 dark:focus-visible:outline-${color}-400`,
|
||||
indicator: `bg-${color}-500 dark:bg-${color}-400`
|
||||
}
|
||||
])),
|
||||
color: Object.fromEntries(config.colors.map((color: string) => [color, {
|
||||
base: `focus-visible:outline-${color}-500 dark:focus-visible:outline-${color}-400`,
|
||||
indicator: `bg-${color}-500 dark:bg-${color}-400`
|
||||
}])),
|
||||
|
||||
size: {
|
||||
'2xs': {
|
||||
|
||||
Reference in New Issue
Block a user