From 8614dfadf2a91d4a52ba1a40bf2e99c5d0f1614e Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sun, 10 Nov 2024 22:53:33 +0300 Subject: [PATCH] Get base from main instead of duplicating --- .../components/layout/AppDesigner.vue | 399 +----------------- .../layout/designer/DesignColorPalette.vue | 16 + .../designer/primitive/DesignColors.vue | 4 +- .../designer/semantic/DesignGeneral.vue | 4 +- .../semantic/colorscheme/DesignCSCommon.vue | 6 +- 5 files changed, 27 insertions(+), 402 deletions(-) create mode 100644 apps/showcase/components/layout/designer/DesignColorPalette.vue diff --git a/apps/showcase/components/layout/AppDesigner.vue b/apps/showcase/components/layout/AppDesigner.vue index 7eb15a533..87e948308 100644 --- a/apps/showcase/components/layout/AppDesigner.vue +++ b/apps/showcase/components/layout/AppDesigner.vue @@ -64,7 +64,7 @@ diff --git a/apps/showcase/components/layout/designer/primitive/DesignColors.vue b/apps/showcase/components/layout/designer/primitive/DesignColors.vue index 1db186fd0..d9694781b 100644 --- a/apps/showcase/components/layout/designer/primitive/DesignColors.vue +++ b/apps/showcase/components/layout/designer/primitive/DesignColors.vue @@ -6,9 +6,7 @@ {{ key }} -
-
-
+ diff --git a/apps/showcase/components/layout/designer/semantic/DesignGeneral.vue b/apps/showcase/components/layout/designer/semantic/DesignGeneral.vue index 714bc391e..dfdcc3dac 100644 --- a/apps/showcase/components/layout/designer/semantic/DesignGeneral.vue +++ b/apps/showcase/components/layout/designer/semantic/DesignGeneral.vue @@ -5,9 +5,7 @@ Primary -
-
-
+
diff --git a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue index 33a7dae85..df6ad0c6d 100644 --- a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue +++ b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue @@ -5,9 +5,7 @@ Surface
-
-
-
+
Typography
@@ -106,7 +104,7 @@ export default { inject: ['$colorScheme'], methods: { onSurfaceColorChange(event) { - this.$colorScheme.surface = palette(event.target.value); + this.$colorScheme.surface = { ...{ 0: 'ffffff' }, ...palette(event.target.value) }; } } };