From 835e6ca2343c57d6bf941b7fa825b8f94f9bcbd7 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 1 Apr 2024 11:12:58 +0100 Subject: [PATCH] Theming API: Rename `updatePrimary` and `updateSurface` with `updatePrimaryPalette` and `updateSurfacePalette` --- components/lib/themes/actions/index.js | 4 ++-- .../{updatePrimary.js => updatePrimaryPalette.js} | 0 .../{updateSurface.js => updateSurfacePalette.js} | 0 layouts/AppConfigurator.vue | 12 ++++++------ 4 files changed, 8 insertions(+), 8 deletions(-) rename components/lib/themes/actions/{updatePrimary.js => updatePrimaryPalette.js} (100%) rename components/lib/themes/actions/{updateSurface.js => updateSurfacePalette.js} (100%) diff --git a/components/lib/themes/actions/index.js b/components/lib/themes/actions/index.js index 21d1646d8..80b4352ea 100644 --- a/components/lib/themes/actions/index.js +++ b/components/lib/themes/actions/index.js @@ -1,6 +1,6 @@ export { default as definePreset } from './definePreset'; export { default as updatePreset } from './updatePreset'; -export { default as updatePrimary } from './updatePrimary'; -export { default as updateSurface } from './updateSurface'; +export { default as updatePrimaryPalette } from './updatePrimaryPalette'; +export { default as updateSurfacePalette } from './updateSurfacePalette'; export { default as usePreset } from './usePreset'; export { default as useTheme } from './useTheme'; diff --git a/components/lib/themes/actions/updatePrimary.js b/components/lib/themes/actions/updatePrimaryPalette.js similarity index 100% rename from components/lib/themes/actions/updatePrimary.js rename to components/lib/themes/actions/updatePrimaryPalette.js diff --git a/components/lib/themes/actions/updateSurface.js b/components/lib/themes/actions/updateSurfacePalette.js similarity index 100% rename from components/lib/themes/actions/updateSurface.js rename to components/lib/themes/actions/updateSurfacePalette.js diff --git a/layouts/AppConfigurator.vue b/layouts/AppConfigurator.vue index eb8258014..9a5dee4f2 100755 --- a/layouts/AppConfigurator.vue +++ b/layouts/AppConfigurator.vue @@ -39,7 +39,7 @@