From 8af7127be8e8d91eab42d6d888a4b56a52e22ceb Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 12 Jul 2023 00:14:34 +0100 Subject: [PATCH] Refactor on some demo --- doc/passthrough/BasicDoc.vue | 37 +++++++++++++++++++++++++---------- doc/passthrough/GlobalDoc.vue | 8 ++++++-- doc/unstyled/ExampleDoc.vue | 8 ++++---- doc/unstyled/ThemeDoc.vue | 12 ++++++------ 4 files changed, 43 insertions(+), 22 deletions(-) diff --git a/doc/passthrough/BasicDoc.vue b/doc/passthrough/BasicDoc.vue index 8f24d89e8..a7d8d4d1c 100644 --- a/doc/passthrough/BasicDoc.vue +++ b/doc/passthrough/BasicDoc.vue @@ -1,8 +1,9 @@ diff --git a/doc/unstyled/ThemeDoc.vue b/doc/unstyled/ThemeDoc.vue index da9ccdeb6..cbd82284c 100644 --- a/doc/unstyled/ThemeDoc.vue +++ b/doc/unstyled/ThemeDoc.vue @@ -22,14 +22,14 @@ app.use(PrimeVue, { pt: { button: { root: { class: 'bg-teal-500 hover:bg-teal-700 cursor-pointer text-white p-3 border-round border-none flex gap-2' }, - label: { class: 'text-white font-bold text-xl' }, - icon: { class: 'text-white text-2xl' } + label: 'text-white font-bold text-xl', // OR { class: 'text-white font-bold text-xl' } + icon: 'text-white text-2xl' }, panel: { - header: { class: 'bg-primary border-primary' }, - content: { class: 'border-primary text-lg text-primary-700' }, - title: { class: 'bg-primary text-xl' }, - toggler: { class: 'bg-primary hover:bg-primary-reverse' } + header: 'bg-primary border-primary', + content: 'border-primary text-lg text-primary-700', + title: 'bg-primary text-xl', + toggler: 'bg-primary hover:bg-primary-reverse' } } });`