Selects Config Flavors
The VueVentus Selects Config maps to the .selects property of your app VvConfig object. Global values should be set in your app.vv file, to be both provided and/or imported for use at the component level as a single source of truth for input element styling in your app.
Selects Config Default
Contributor:@oberocks
// ./src/app.vv.ts
import { VvConfig } from '@obewds/vueventus'
import type { ConfigVv } from '@obewds/vueventus'
let appVv: ConfigVv = VvConfig
appVv.selects.border = 'border'
appVv.selects.display = 'block w-full'
appVv.selects.outline = ''
appVv.selects.ring = ''
appVv.selects.rounding = ''
appVv.selects.shadow = ''
appVv.selects.sizes = {
'xs' : 'px-2 py-1.5 text-sm',
'md' : 'px-3 py-2 text-lg',
'lg' : 'px-4 py-3 text-xl',
'xl' : 'px-4 py-3 text-2xl',
'2xl': 'px-5 py-4 text-3xl',
}
appVv.selects.text = ''
appVv.selects.transition = appVv.transitions.classes('colors', 'inOut', '300')
export default appVv