From 57b6beedfbaea12177f5c437cbdf57180e395561 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 17 Sep 2024 19:56:23 +0300 Subject: [PATCH] Add video tutorial --- apps/showcase/doc/theming/styled/ArchitectureDoc.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/showcase/doc/theming/styled/ArchitectureDoc.vue b/apps/showcase/doc/theming/styled/ArchitectureDoc.vue index c238e0470..268eb759b 100644 --- a/apps/showcase/doc/theming/styled/ArchitectureDoc.vue +++ b/apps/showcase/doc/theming/styled/ArchitectureDoc.vue @@ -26,10 +26,16 @@

Best Practices

-

+

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.

+ +

Video Tutorial

+

Watch the PrimeVue Theming Demystified video to learn more about the architecture with examples.

+
+ +