diff --git a/.gitignore b/.gitignore index 2ebf2163..c902f0de 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ Installers/**/*/packages dist/ user.config.json tests/data +/tests/themes/SimplerFlat diff --git a/client/src/modules/thememanager.js b/client/src/modules/thememanager.js index 0b1ac0e9..815d5744 100644 --- a/client/src/modules/thememanager.js +++ b/client/src/modules/thememanager.js @@ -101,6 +101,10 @@ export default class ThemeManager extends ContentManager { const { type, id, value } = setting; const name = id.replace(/[^a-zA-Z0-9-]/g, '-').replace(/--/g, '-'); + if (type === 'colour' || type === 'color') { + return [name, value]; + } + if (type === 'array') { const items = JSON.parse(JSON.stringify(value)) || []; const settings_json = JSON.stringify(setting.settings); diff --git a/client/src/styles/partials/generic/forms/colourpicker.scss b/client/src/styles/partials/generic/forms/colourpicker.scss index 0d937390..b872c774 100644 --- a/client/src/styles/partials/generic/forms/colourpicker.scss +++ b/client/src/styles/partials/generic/forms/colourpicker.scss @@ -23,9 +23,10 @@ .vc-chrome { position: absolute; - right: 10px; + right: 60px; top: 35px; border-radius: 3px; + z-index: 9001; .vc-chrome-body { background: #36393e; diff --git a/client/src/ui/components/bd/modals/SettingsModal.vue b/client/src/ui/components/bd/modals/SettingsModal.vue index ef78bae4..8fb77862 100644 --- a/client/src/ui/components/bd/modals/SettingsModal.vue +++ b/client/src/ui/components/bd/modals/SettingsModal.vue @@ -12,7 +12,7 @@
-