mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 15:29:26 +00:00
Base components added and updated.
This commit is contained in:
parent
b6f7694a0e
commit
f4a4bc5c4a
4 changed files with 293 additions and 4 deletions
|
|
@ -25,6 +25,7 @@ const classString = computed(() => {
|
|||
'bg-sky-500/80 hover:bg-sky-400 text-white border-sky-400': props.variant === 'primary',
|
||||
'bg-white/80 hover:bg-white text-slate-900 border-white': props.variant === 'secondary',
|
||||
'bg-red-700/80 hover:bg-red-700 text-white border-red-800': props.variant === 'danger',
|
||||
'bg-slate-700/80 hover:bg-slate-700 text-white border-slate-600': props.variant === 'dark',
|
||||
'bg-lime-500/80 hover:bg-lime-500 text-white border-lime-600': props.variant === 'success',
|
||||
'button__subtle bg-transparent hover:bg-white/10 text-white border-transparent':
|
||||
props.variant === 'subtle',
|
||||
|
|
@ -38,10 +39,6 @@ const classString = computed(() => {
|
|||
.filter((key) => classes[key])
|
||||
.join(' ')
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
console.log(classString)
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue