mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
c97047da46
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
32 lines
784 B
Vue
32 lines
784 B
Vue
<template>
|
|
<UTheme
|
|
:ui="{
|
|
button: {
|
|
base: 'rounded-full'
|
|
}
|
|
}"
|
|
>
|
|
<div class="flex flex-col items-start gap-4 border border-muted p-4 rounded-lg">
|
|
<div class="flex items-center gap-2">
|
|
<UButton label="Outer theme" />
|
|
<UButton label="Outer theme" color="neutral" variant="outline" />
|
|
</div>
|
|
|
|
<UTheme
|
|
:ui="{
|
|
button: {
|
|
base: 'font-black uppercase'
|
|
}
|
|
}"
|
|
>
|
|
<div class="border border-muted p-4 rounded-lg">
|
|
<div class="flex items-center gap-2">
|
|
<UButton label="Inner theme" />
|
|
<UButton label="Inner theme" color="neutral" variant="outline" />
|
|
</div>
|
|
</div>
|
|
</UTheme>
|
|
</div>
|
|
</UTheme>
|
|
</template>
|