2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-12-19 11:57:07 +00:00
|
|
|
<Head>
|
|
|
|
<Title>Theming - PrimeVue</Title>
|
|
|
|
<Meta name="description" content="Choose from a variety of themes or develop your own theme easily." />
|
|
|
|
</Head>
|
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
<div class="doc">
|
|
|
|
<div class="doc-main">
|
|
|
|
<div class="doc-intro">
|
|
|
|
<h1>Theming</h1>
|
|
|
|
<p>Choose from a variety of themes or develop your own theme easily.</p>
|
|
|
|
</div>
|
|
|
|
<DocSections :docs="docs" />
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
2023-02-28 08:29:30 +00:00
|
|
|
<DocSectionNav :docs="docs" />
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import ArchitectureDoc from '@/doc/theming/ArchitectureDoc';
|
2023-03-03 07:02:10 +00:00
|
|
|
import BuiltInThemesDoc from '@/doc/theming/BuiltInThemesDoc';
|
|
|
|
import CSSModulesDoc from '@/doc/theming/CSSModulesDoc';
|
|
|
|
import CustomThemeDoc from '@/doc/theming/CustomThemeDoc';
|
2023-02-28 08:29:30 +00:00
|
|
|
import PrimeFlexDoc from '@/doc/theming/PrimeFlexDoc';
|
|
|
|
import ScaleDoc from '@/doc/theming/ScaleDoc';
|
2023-03-03 07:02:10 +00:00
|
|
|
import ScopedCSSDoc from '@/doc/theming/ScopedCSSDoc';
|
2023-02-28 08:29:30 +00:00
|
|
|
import UtilsDoc from '@/doc/theming/UtilsDoc';
|
2023-03-03 07:02:10 +00:00
|
|
|
import SwitchThemesDoc from '../../doc/theming/SwitchThemesDoc';
|
2023-02-28 08:29:30 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'architecture',
|
|
|
|
label: 'Architecture',
|
|
|
|
component: ArchitectureDoc
|
|
|
|
},
|
|
|
|
{
|
2023-03-03 07:02:10 +00:00
|
|
|
id: 'builtinthemes',
|
2023-03-08 08:35:24 +00:00
|
|
|
label: 'Built-in Themes',
|
2023-03-03 07:02:10 +00:00
|
|
|
component: BuiltInThemesDoc
|
2023-02-28 08:29:30 +00:00
|
|
|
},
|
|
|
|
{
|
2023-03-03 07:02:10 +00:00
|
|
|
id: 'switchthemes',
|
|
|
|
label: 'Switch Themes',
|
|
|
|
component: SwitchThemesDoc
|
2023-02-28 08:29:30 +00:00
|
|
|
},
|
|
|
|
{
|
2023-03-03 07:02:10 +00:00
|
|
|
id: 'customtheme',
|
|
|
|
label: 'Custom Theme',
|
|
|
|
component: CustomThemeDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'scopedcss',
|
|
|
|
label: 'Scoped CSS',
|
|
|
|
component: ScopedCSSDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'cssmodules',
|
|
|
|
label: 'CSS Modules',
|
|
|
|
component: CSSModulesDoc
|
2023-02-28 08:29:30 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'scale',
|
|
|
|
label: 'Scale',
|
|
|
|
component: ScaleDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'primeflex',
|
|
|
|
label: 'PrimeFlex',
|
|
|
|
component: PrimeFlexDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'utils',
|
|
|
|
label: 'Utils',
|
|
|
|
component: UtilsDoc
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
};
|
|
|
|
</script>
|