primevue-mirror/doc/badge/theming/index.vue

64 lines
2.2 KiB
Vue
Raw Normal View History

<template>
<div class="doc-main">
<div class="doc-intro">
<h1>Badge Theming</h1>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
2024-05-22 08:10:07 +00:00
import DocApiTable from '@/components/doc/DocApiTable.vue';
2024-05-22 13:52:40 +00:00
import { getStyleOptions } from '@/components/doc/helpers';
import TailwindDoc from './TailwindDoc.vue';
export default {
data() {
return {
docs: [
{
2023-08-11 10:50:32 +00:00
id: 'theming.styled',
label: 'Styled',
2024-05-22 08:10:07 +00:00
children: [
{
id: 'theming.classes.badge',
label: 'Badge CSS Classes',
description: 'List of class names used in the styled mode.',
component: DocApiTable,
data: getStyleOptions('Badge')
},
{
id: 'theming.classes.overlaybadge',
label: 'OverlayBadge CSS Classes',
description: 'List of class names used in the styled mode.',
component: DocApiTable,
data: getStyleOptions('OverlayBadge')
}
2024-05-22 13:52:40 +00:00
// {
// id: 'theming.tokens',
// label: 'Design Tokens',
// description: 'List of design tokens used in a preset.',
// component: DocApiTable,
// data: getTokenOptions('Badge')
// }
2024-05-22 08:10:07 +00:00
]
},
{
2023-08-11 10:50:32 +00:00
id: 'theming.unstyled',
label: 'Unstyled',
description: 'Theming is implemented with the pass through properties in unstyled mode.',
children: [
{
2023-08-11 10:50:32 +00:00
id: 'theming.tailwind',
label: 'Tailwind',
component: TailwindDoc
}
]
}
]
};
}
};
</script>