diff --git a/apps/showcase/doc/dialog/HeadlessDoc.vue b/apps/showcase/doc/dialog/HeadlessDoc.vue index a046e92a2..fba7a3ef9 100644 --- a/apps/showcase/doc/dialog/HeadlessDoc.vue +++ b/apps/showcase/doc/dialog/HeadlessDoc.vue @@ -5,16 +5,7 @@
- When the layer is enabled at the theme configuration, defines the CSS layer order setting for compatibility with libraries like Tailwind and Bootstrap in styled mode. Visit the - CSS Layer guide for detailed information. -
- Enable PrimeVue CSS layer and configure the tailwind styles to have higher specificity with layering. This way, ! prefix is not required. If you are using Nuxt, there is a - cssLayerOrder property to define the order. -
Enable PrimeVue CSS layer and configure the tailwind styles to have higher specificity with layering. This way, ! prefix is not required.
The options property defines the how the CSS would be generated from the design tokens of the preset.
The prefix of the CSS variables, defaults to p. For instance, the primary.color design token would be var(--p-primary-color).
The CSS rule to encapsulate the CSS variables of the dark mode, the default is the system to generate @media (prefers-color-scheme: dark). If you need to make the dark mode toggleable based on the user selection define a class selector such as .app-dark and toggle this class at the document root. See the dark mode toggle section for an example.
+
Defines whether the styles should be defined inside a CSS layer named primeui or not. A CSS layer would be handy to - declare a custom cascade layer for easier customization. The default is false. View the CSS layer section for an example usage. + declare a custom cascade layer for easier customization. The default is false.