This commit is contained in:
2024-07-08 13:37:36 +02:00
parent e6cae1aec9
commit faf626fbca
2 changed files with 12 additions and 11 deletions

View File

@ -23,17 +23,13 @@ const props = withDefaults(defineProps<ButtonProps>(), {
const classes = ref({
root: {
class: `flex justify-center items-center disabled:opacity-60`,
class: ``,
},
outer: {
class: `p-[2px] w-full focus:outline-none ${
props.rounded ? "rounded-3xl" : ""
}`,
class: ``,
},
inner: {
class: `justify-center flex items-center bg-white dark:bg-gradient-to-r px-5 py-2 w-full h-full font-semibold leading-[1.5] back ${
props.rounded ? "rounded-3xl" : ""
}`,
class: ``,
},
} as PTAttribs);