mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Theming docs progress update
This commit is contained in:
parent
a7c3bf15e3
commit
a9df0acc65
21 changed files with 788 additions and 11 deletions
|
@ -1,14 +1,14 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>The <i>options</i> property defines the how the CSS would be generated from the design tokens of the preset.</p>
|
||||
<h3>prefix</h3>
|
||||
<h4>prefix</h4>
|
||||
<p>The prefix of the CSS variables, defaults to <i>p</i>. For instance, the <i>primary.color</i> design token would be <i>var(--p-primary-color)</i>.</p>
|
||||
<h3>darkModeSelector</h3>
|
||||
<h4>darkModeSelector</h4>
|
||||
<p>
|
||||
The CSS rule to encapsulate the CSS variables of the dark mode, the default is the <i>system</i> to generate <i>@media (prefers-color-scheme: dark)</i>. If you need to make the dark mode toggleable based on the user selection define a
|
||||
class selector such as <i>.app-dark</i> and toggle this class at the document root. See the dark mode toggle section below for example.
|
||||
class selector such as <i>.app-dark</i> and toggle this class at the document root. See the dark mode toggle section for an example.
|
||||
</p>
|
||||
<h3>cssLayer</h3>
|
||||
<h4>cssLayer</h4>
|
||||
<p>
|
||||
Defines whether the styles should be defined inside a <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@layer" target="_blank" rel="noopener noreferrer">CSS layer</a> named <i>primevue</i> or not. A CSS layer would be handy to
|
||||
declare a custom cascade layer for easier customization. The default is <i>false</i>. View the CSS layer section for an example usage.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue