2024-03-30 12:19:34 +00:00
< template >
< div >
< Head >
< Title > Styled Mode - PrimeVue < / Title >
< Meta name = "description" content = "Choose from a variety of pre-styled themes or develop your own." / >
< / Head >
< div class = "doc" >
< div class = "doc-main" >
< div class = "doc-intro" >
< h1 > Styled Mode < / h1 >
2024-12-07 21:18:08 +00:00
< p > Choose from a variety of pre - styled themes or develop your own . < / p >
2024-03-30 12:19:34 +00:00
< / div >
< DocSections :docs ="docs" / >
< / div >
< DocSectionNav :docs ="docs" / >
< / div >
< / div >
< / template >
< script >
import ArchitectureDoc from '@/doc/theming/styled/ArchitectureDoc.vue' ;
import CSSModulesDoc from '@/doc/theming/styled/CSSModulesDoc.vue' ;
2024-04-01 07:55:51 +00:00
import CaseStyleDoc from '@/doc/theming/styled/CaseStyleDoc.vue' ;
2024-03-30 23:15:56 +00:00
import ColorsDoc from '@/doc/theming/styled/ColorsDoc.vue' ;
2024-07-25 07:21:54 +00:00
import DarkModeDoc from '@/doc/theming/styled/DarkModeDoc.vue' ;
2024-03-30 23:15:56 +00:00
import PresetsDoc from '@/doc/theming/styled/PresetsDoc.vue' ;
2024-04-01 12:55:29 +00:00
import ReservedKeysDoc from '@/doc/theming/styled/ReservedKeysDoc.vue' ;
2024-03-30 12:19:34 +00:00
import ScaleDoc from '@/doc/theming/styled/ScaleDoc.vue' ;
2024-04-01 12:55:29 +00:00
import ScopedTokensDoc from '@/doc/theming/styled/ScopedTokensDoc.vue' ;
2024-03-30 12:19:34 +00:00
import OptionsDoc from '@/doc/theming/styled/configuration/OptionsDoc.vue' ;
import ThemeDoc from '@/doc/theming/styled/configuration/ThemeDoc.vue' ;
2024-03-31 13:42:46 +00:00
import ResetDoc from '@/doc/theming/styled/csslayer/ResetDoc.vue' ;
import SpecificityDoc from '@/doc/theming/styled/csslayer/SpecificityDoc.vue' ;
2024-03-30 23:15:56 +00:00
import ComponentDoc from '@/doc/theming/styled/customization/ComponentDoc.vue' ;
import DefinePresetDoc from '@/doc/theming/styled/customization/DefinePresetDoc.vue' ;
2024-10-05 08:43:14 +00:00
import ExtendDoc from '@/doc/theming/styled/customization/ExtendDoc.vue' ;
2024-03-30 23:15:56 +00:00
import FocusRingDoc from '@/doc/theming/styled/customization/FocusRingDoc.vue' ;
import FontDoc from '@/doc/theming/styled/customization/FontDoc.vue' ;
import FormsDoc from '@/doc/theming/styled/customization/FormsDoc.vue' ;
import NoirDoc from '@/doc/theming/styled/customization/NoirDoc.vue' ;
import PrimaryDoc from '@/doc/theming/styled/customization/PrimaryDoc.vue' ;
import SurfaceDoc from '@/doc/theming/styled/customization/SurfaceDoc.vue' ;
import DTDoc from '@/doc/theming/styled/utils/DTDoc.vue' ;
import PaletteDoc from '@/doc/theming/styled/utils/PaletteDoc.vue' ;
import UpdatePresetDoc from '@/doc/theming/styled/utils/UpdatePresetDoc.vue' ;
2024-04-01 10:38:37 +00:00
import UpdatePrimaryPaletteDoc from '@/doc/theming/styled/utils/UpdatePrimaryPaletteDoc.vue' ;
import UpdateSurfacePaletteDoc from '@/doc/theming/styled/utils/UpdateSurfacePaletteDoc.vue' ;
2024-03-30 23:15:56 +00:00
import UsePresetDoc from '@/doc/theming/styled/utils/UsePresetDoc.vue' ;
2024-03-30 12:19:34 +00:00
export default {
data ( ) {
return {
docs : [
{
id : 'architecture' ,
label : 'Architecture' ,
component : ArchitectureDoc
} ,
{
id : 'configuration' ,
2024-03-30 23:15:56 +00:00
label : 'Configuration API' ,
2024-03-30 12:19:34 +00:00
children : [
{
id : 'theme' ,
label : 'Theme' ,
component : ThemeDoc
} ,
{
id : 'options' ,
label : 'Options' ,
component : OptionsDoc
}
]
} ,
2024-03-30 23:15:56 +00:00
{
id : 'presets' ,
label : 'Presets' ,
component : PresetsDoc
} ,
2024-04-01 07:55:51 +00:00
{
id : 'casestyle' ,
label : 'Case Style' ,
component : CaseStyleDoc
} ,
2024-04-01 11:58:11 +00:00
{
id : 'reserved' ,
label : 'Reserved Keys' ,
component : ReservedKeysDoc
} ,
2024-10-05 08:43:14 +00:00
{
id : 'colors' ,
label : 'Colors' ,
component : ColorsDoc
} ,
{
id : 'darkmode' ,
label : 'Dark Mode' ,
component : DarkModeDoc
} ,
2024-03-30 23:15:56 +00:00
{
id : 'customization' ,
label : 'Customization' ,
children : [
{
id : 'definepreset' ,
label : 'definePreset' ,
component : DefinePresetDoc
} ,
{
id : 'primary' ,
label : 'Primary' ,
component : PrimaryDoc
} ,
{
id : 'surface' ,
label : 'Surface' ,
component : SurfaceDoc
} ,
2024-12-07 21:18:08 +00:00
{
id : 'noir' ,
label : 'Noir' ,
component : NoirDoc
} ,
2024-03-30 23:15:56 +00:00
{
id : 'font' ,
label : 'Font' ,
component : FontDoc
} ,
{
id : 'forms' ,
label : 'Forms' ,
component : FormsDoc
} ,
{
id : 'focusring' ,
label : 'Focus Ring' ,
component : FocusRingDoc
} ,
{
id : 'component' ,
label : 'Component' ,
component : ComponentDoc
2024-10-05 08:43:14 +00:00
} ,
{
id : 'extend' ,
label : 'Extend' ,
component : ExtendDoc
2024-03-30 23:15:56 +00:00
}
]
} ,
2024-04-01 12:55:29 +00:00
{
id : 'scopedtokens' ,
label : 'Scoped Tokens' ,
component : ScopedTokensDoc
} ,
2024-03-30 23:15:56 +00:00
{
id : 'utils' ,
label : 'Utils' ,
children : [
{
id : 'usepreset' ,
label : 'usePreset' ,
component : UsePresetDoc
} ,
{
id : 'updatepreset' ,
label : 'updatePreset' ,
component : UpdatePresetDoc
} ,
2024-04-01 10:38:37 +00:00
{
id : 'updateprimarypalette' ,
label : 'updatePrimaryPalette' ,
component : UpdatePrimaryPaletteDoc
} ,
{
id : 'updatesurfacepalette' ,
label : 'updateSurfacePalette' ,
component : UpdateSurfacePaletteDoc
} ,
2024-03-30 23:15:56 +00:00
{
id : 'dt' ,
label : '$dt' ,
component : DTDoc
} ,
{
id : 'Palette' ,
label : 'palette' ,
component : PaletteDoc
}
]
} ,
2024-03-30 12:19:34 +00:00
{
id : 'csslayer' ,
label : 'CSS Layer' ,
2024-03-31 13:42:46 +00:00
description : 'The PrimeVue CSS layer only applies to styled mode when layering is enabled explicitly at theme configuration, in unstyled mode the built-in CSS classes are not included and as a result no layer is necessary.' ,
children : [
{
id : 'specificity' ,
label : 'Specificity' ,
component : SpecificityDoc
} ,
{
id : 'reset' ,
label : 'Reset' ,
component : ResetDoc
}
]
2024-03-30 12:19:34 +00:00
} ,
{
id : 'cssmodules' ,
label : 'CSS Modules' ,
component : CSSModulesDoc
} ,
{
id : 'scale' ,
label : 'Scale' ,
component : ScaleDoc
}
]
} ;
}
} ;
< / script >