2023-07-25 13:47:12 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>Theming is implemented with the pass through properties in unstyled mode. Example below demonstrates the built-in Tailwind theme.</p>
|
|
|
|
</DocSectionText>
|
2023-07-25 19:30:22 +00:00
|
|
|
<DocSectionCode :code="code" embedded />
|
2023-07-25 13:47:12 +00:00
|
|
|
</template>
|
2023-07-25 19:30:22 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
|
|
|
composition: `
|
|
|
|
<template>
|
2023-07-26 11:33:41 +00:00
|
|
|
<div class="card flex justify-center">
|
2023-07-25 19:30:22 +00:00
|
|
|
<Checkbox v-model="checked" :binary="true" />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import { ref } from "vue";
|
|
|
|
|
|
|
|
const checked = ref(false);
|
|
|
|
<\/script>`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|