Remove spacing
parent
54d9aa8cfc
commit
010cf397df
|
@ -26,7 +26,7 @@
|
|||
</p>
|
||||
|
||||
<h3>Best Practices</h3>
|
||||
<p>
|
||||
<p class="mb-0">
|
||||
Use primitive tokens when defining the core color palette and semantic tokens to specify the common design elements such as focus ring, primary colors and surfaces. Components tokens should only be used when customizing a specific
|
||||
component. By defining your own design tokens as a custom preset, you'll be able to define your own style without touching CSS. Overriding the PrimeVue components using style classes is not a best practice and should be the last resort,
|
||||
design tokens are the suggested approach.
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
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>
|
||||
<h4>cssLayer</h4>
|
||||
<p>
|
||||
<p class="mb-0">
|
||||
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.
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue