diff --git a/assets/vue/Store/store.js b/assets/vue/Store/store.js index e06234a..efba523 100644 --- a/assets/vue/Store/store.js +++ b/assets/vue/Store/store.js @@ -4,23 +4,12 @@ const state = reactive({ variables: {}, css: null, isLoading: true, - sourcesOptions: [ - '/examples/example.bootstrap.5.3.html', - '/examples/custom.html', - ], - lockedColors: {}, // Track which colors are locked + lockedColors: {}, }); export const store = { state, - get sourcesOptions() { - return state.sourcesOptions; - }, - set sourcesOptions(value) { - state.sourcesOptions = value; - }, - // Getter and Setter for `variables` get variables() { return state.variables; @@ -66,7 +55,7 @@ export const store = { if (state.variables[sectionKey]) { Object.keys(state.variables[sectionKey]).forEach((key) => { const item = state.variables[sectionKey][key]; - item.default = item.default; + item.value = item.default; }); } }, diff --git a/assets/vue/controllers/Input/ColorPickerInput.vue b/assets/vue/controllers/Input/ColorPickerInput.vue index 14921b8..8faea81 100644 --- a/assets/vue/controllers/Input/ColorPickerInput.vue +++ b/assets/vue/controllers/Input/ColorPickerInput.vue @@ -1,6 +1,6 @@