feat: enhance UI components and update build configuration
This commit is contained in:
18
src/index.ts
18
src/index.ts
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user