feat: enhance UI components and update build configuration

This commit is contained in:
2025-09-29 12:31:59 -06:00
parent 9c49f46ee7
commit cb3f7fb701
8 changed files with 125 additions and 70 deletions

View File

@@ -191,7 +191,9 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
conditions: {
extend: {
active: '&:is(:active, [data-active], [data-state="active"], [data-state="open"])',
open: '&:is(:open, [open], [data-open], [data-state="open"])'
open: '&:is(:open, [open], [data-open], [data-state="open"])',
checked: '&:is(:checked, [data-checked], [data-state="checked"])',
disabled: '&:is(:disabled, [data-disabled], [data-state="disabled"])'
}
},
globalCss: {
@@ -245,11 +247,11 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
fontSize: 'xs'
},
a: {
color: 'inherit',
color: 'primary.9',
textDecoration: 'none',
fontWeight: 'semibold',
_hover: {
color: 'primary.9'
color: 'primary.10'
}
},
'@media (prefers-reduced-motion: no-preference)': {
@@ -263,9 +265,9 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
export default srJuggernautPandaPreset
export { buttonVariants } from '@/recipes/button.js'
export { chipVariants } from '@/recipes/chip.js'
export { iconButtonShapes, iconButtonVariants } from '@/recipes/iconButton.js'
export { markVariants } from '@/recipes/mark.js'
export { buttonVariants } from '@/recipes/button'
export { chipVariants } from '@/recipes/chip'
export { iconButtonShapes, iconButtonVariants } from '@/recipes/iconButton'
export { markVariants } from '@/recipes/mark'
export { BrandColor, ColorVariation, NeutralColor } from '@/types.js'
export { BrandColor, ColorVariation, NeutralColor } from '@/types'