mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 04:31:08 -04:00
build version 400
This commit is contained in:
34
resources/assets/js/components/theme/SwRadio.js
Normal file
34
resources/assets/js/components/theme/SwRadio.js
Normal file
@ -0,0 +1,34 @@
|
||||
export default {
|
||||
classes: {
|
||||
container: 'radio',
|
||||
label: 'cursor-pointer',
|
||||
input:
|
||||
'cursor-pointer flex-shrink-0 inline-block text-primary-500 align-middle bg-white border border-gray-300 rounded-full outline-none appearance-none select-none transition duration-200 ease-in-out',
|
||||
},
|
||||
variants: {
|
||||
success: {
|
||||
input:
|
||||
'cursor-pointer flex-shrink-0 inline-block text-success align-middle bg-white border border-gray-300 rounded-full outline-none appearance-none select-none transition duration-200 ease-in-out',
|
||||
label: 'cursor-pointer',
|
||||
},
|
||||
danger: {
|
||||
input:
|
||||
'cursor-pointer flex-shrink-0 inline-block text-danger align-middle bg-white border border-gray-300 rounded-full outline-none appearance-none select-none transition duration-200 ease-in-out',
|
||||
label: 'cursor-pointer',
|
||||
},
|
||||
},
|
||||
sizes: {
|
||||
sm: {
|
||||
input: 'w-4 h-4',
|
||||
label: 'ml-2',
|
||||
},
|
||||
default: {
|
||||
input: 'w-6 h-6',
|
||||
label: 'ml-3 text-lg',
|
||||
},
|
||||
lg: {
|
||||
input: 'w-8 h-8',
|
||||
label: 'ml-4 text-xl',
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user