settings modal

This commit is contained in:
2023-05-28 18:35:27 +02:00
parent 87729c9c00
commit 77f5bafa2f
12 changed files with 268 additions and 57 deletions

View File

@@ -2,7 +2,7 @@
interface Props {
size?: 'xs' | 'sm' | 'md' | 'lg'
variant?: 'regular' | 'outline'
color?: 'regular' | 'primary'
color?: 'regular' | 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'
dropdown?: boolean
}
@@ -22,7 +22,12 @@ const styleClass = computed(() => {
}
const colorVariants = {
regular: '',
primary: 'dui-btn-primary'
primary: 'dui-btn-primary',
secondary: 'dui-btn-secondary',
info: 'dui-btn-info',
success: 'dui-btn-success',
warning: 'dui-btn-warning',
error: 'dui-btn-error'
}
const variantVariants = {
regular: '',