From 71f2e0b2294706d6a9ab8be140564aa580d85879 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 13 Nov 2024 14:35:07 +0300 Subject: [PATCH] Visual cosmetics --- .../components/layout/AppDesigner.vue | 29 +++++++++++-------- .../designer/primitive/DesignBorderRadius.vue | 2 +- .../semantic/colorscheme/DesignCS.vue | 12 ++++---- .../semantic/colorscheme/DesignCSCommon.vue | 2 +- .../colorscheme/DesignCSFormField.vue | 2 +- .../semantic/colorscheme/DesignCSList.vue | 2 +- .../colorscheme/DesignCSNavigation.vue | 2 +- .../semantic/colorscheme/DesignCSOverlay.vue | 2 +- 8 files changed, 30 insertions(+), 23 deletions(-) diff --git a/apps/showcase/components/layout/AppDesigner.vue b/apps/showcase/components/layout/AppDesigner.vue index 6b3be803b..bcd1f9460 100644 --- a/apps/showcase/components/layout/AppDesigner.vue +++ b/apps/showcase/components/layout/AppDesigner.vue @@ -10,11 +10,12 @@ -
Choose a Theme to Get Started
-
+
Choose a Theme to Get Started
+ Begin by selecting a built-in theme as a foundation, continue editing your current theme, or import a Figma tokens file. +
- Built-in Themes - Four alternatives to choose from. + Base Theme + Variety of built-in themes with distinct characteristics.
OR @@ -36,7 +37,7 @@
-
+ @@ -48,7 +49,7 @@ Common
-
+ @@ -84,7 +85,9 @@ - Component tokens are not supported by the Visual Editor at the moment. + + Component tokens are not supported by the Visual Editor at the moment. + Extend the theming system with your own design tokens e.g. accent.color. Do not use curly braces in the name field.
    @@ -101,7 +104,7 @@ @@ -112,14 +115,15 @@ @@ -134,14 +138,14 @@ type="button" @click="download" icon="pi pi-download" - class="px-3 py-2 bg-transparent border border-gray-200 dark:border-gray-700 hover:border-gray-800 dark:hover:border-gray-500 text-black dark:text-white rounded-md font-medium cursor-pointer transition-colors duration-200 focus-visible:outline focus-visible:outline-offset-2 focus-visible:outline-zinc-950 focus-visible:dark:outline-white" + class="px-3 py-2 bg-transparent border border-gray-200 dark:border-gray-700 hover:border-gray-800 dark:hover:border-gray-500 text-black dark:text-white rounded-md font-medium cursor-pointer transition-colors duration-200 focus:outline focus:outline-offset-2 focus:outline-zinc-950 focus:dark:outline-white" > Download @@ -274,6 +278,7 @@ app.mount("#app"); if (defaultTheme.preset) { this.preset = defaultTheme.preset; + usePreset(this.preset); } if (defaultTheme.customTokens) { diff --git a/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue b/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue index 6b2f1ac1c..e8e34a38e 100644 --- a/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue +++ b/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue @@ -1,6 +1,6 @@