primevue-mirror/apps/showcase/doc/iconfield/theming/index.vue

64 lines
2.2 KiB
Vue
Raw Permalink Normal View History

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