From 5486ec46fe44f12d0dcd4648724a9bfc0f799df8 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 27 Mar 2024 11:30:38 +0300 Subject: [PATCH] Migrated css variables used in demos --- doc/animateonscroll/BasicDoc.vue | 18 +-- doc/button/TemplateDoc.vue | 8 +- doc/contextmenu/RouterDoc.vue | 8 +- doc/dialog/HeadlessDoc.vue | 24 +-- doc/iconfield/TemplateDoc.vue | 8 +- doc/icons/ColorDoc.vue | 4 +- doc/inputotp/SampleDoc.vue | 24 +-- doc/inputotp/TemplateDoc.vue | 12 +- doc/megamenu/TemplateDoc.vue | 8 +- doc/menu/TemplateDoc.vue | 8 +- doc/menubar/TemplateDoc.vue | 8 +- doc/progressspinner/CustomDoc.vue | 8 +- doc/ripple/CustomDoc.vue | 3 - doc/scrollpanel/CustomDoc.vue | 234 +++++++++--------------------- doc/sidebar/HeadlessDoc.vue | 8 +- doc/steps/TemplateDoc.vue | 21 ++- doc/styleclass/AnimationDoc.vue | 84 +++-------- doc/tag/TemplateDoc.vue | 8 +- doc/theming/ScopedCSSDoc.vue | 12 +- doc/toolbar/CustomDoc.vue | 8 +- doc/tooltip/CustomDoc.vue | 8 +- 21 files changed, 200 insertions(+), 324 deletions(-) diff --git a/doc/animateonscroll/BasicDoc.vue b/doc/animateonscroll/BasicDoc.vue index c4abab8ed..4961b4903 100644 --- a/doc/animateonscroll/BasicDoc.vue +++ b/doc/animateonscroll/BasicDoc.vue @@ -143,9 +143,9 @@ export default { } .box { - background-image: radial-gradient(var(--primary-300), var(--primary-600)); - border-radius: 50% !important; - color: var(--primary-color-text); + background: var(--p-primary-color); + border-radius: 12px !important; + color: var(--p-primary-inverse-color); } `, @@ -211,9 +211,9 @@ export default { } .box { - background-image: radial-gradient(var(--primary-300), var(--primary-600)); - border-radius: 50% !important; - color: var(--primary-color-text); + background: var(--p-primary-color); + border-radius: 12px !important; + color: var(--p-primary-inverse-color); } ` @@ -245,8 +245,8 @@ export default { } .box { - background-image: radial-gradient(var(--primary-300), var(--primary-600)); - border-radius: 50% !important; - color: var(--primary-color-text); + background: var(--p-primary-color); + border-radius: 12px !important; + color: var(--p-primary-inverse-color); } diff --git a/doc/button/TemplateDoc.vue b/doc/button/TemplateDoc.vue index a13892ba7..89bb86b79 100644 --- a/doc/button/TemplateDoc.vue +++ b/doc/button/TemplateDoc.vue @@ -7,7 +7,7 @@ - + @@ -39,7 +39,7 @@ export default { - + @@ -86,7 +86,7 @@ export default {
+
@@ -66,15 +66,15 @@ export default { }" >