From 74168bab9d3106d6ed96ab7e648e804cc48bee6a Mon Sep 17 00:00:00 2001 From: srgooglo Date: Thu, 2 Jun 2022 00:35:53 +0200 Subject: [PATCH] moved to each folder --- .../{account.jsx => account/index.jsx} | 0 .../settings/{app.jsx => app/index.jsx} | 0 packages/app/constants/settings/apparence.jsx | 66 ------------------- 3 files changed, 66 deletions(-) rename packages/app/constants/settings/{account.jsx => account/index.jsx} (100%) rename packages/app/constants/settings/{app.jsx => app/index.jsx} (100%) delete mode 100644 packages/app/constants/settings/apparence.jsx diff --git a/packages/app/constants/settings/account.jsx b/packages/app/constants/settings/account/index.jsx similarity index 100% rename from packages/app/constants/settings/account.jsx rename to packages/app/constants/settings/account/index.jsx diff --git a/packages/app/constants/settings/app.jsx b/packages/app/constants/settings/app/index.jsx similarity index 100% rename from packages/app/constants/settings/app.jsx rename to packages/app/constants/settings/app/index.jsx diff --git a/packages/app/constants/settings/apparence.jsx b/packages/app/constants/settings/apparence.jsx deleted file mode 100644 index 497e2246..00000000 --- a/packages/app/constants/settings/apparence.jsx +++ /dev/null @@ -1,66 +0,0 @@ -import React from "react" - -export default [ - { - "id": "reduceAnimations", - "storaged": true, - "group": "aspect", - "component": "Switch", - "icon": "MdOutlineAnimation", - "title": "Reduce animation", - "experimental": true - }, - { - "id": "auto_darkMode", - "experimental": true, - "storaged": true, - "group": "aspect", - "component": "Switch", - "icon": "Moon", - "title": "Auto dark mode", - "emitEvent": "app.autoDarkModeToogle", - }, - { - "experimental": true, - "dependsOn": { - "auto_darkMode": false - }, - "id": "darkMode", - "storaged": true, - "group": "aspect", - "component": "Switch", - "icon": "Moon", - "title": "Dark mode", - "emitEvent": "theme.applyVariant", - "emissionValueUpdate": (value) => { - return value ? "dark" : "light" - }, - }, - { - "id": "primaryColor", - "storaged": true, - "group": "aspect", - "component": "SliderColorPicker", - "title": "Primary color", - "description": "Change primary color of the application.", - "emitEvent": "modifyTheme", - "reloadValueOnUpdateEvent": "resetTheme", - "emissionValueUpdate": (value) => { - return { - primaryColor: value - } - } - }, - { - "id": "resetTheme", - "storaged": true, - "group": "aspect", - "component": "Button", - "title": "Reset theme", - "props": { - "children": "Default Theme" - }, - "emitEvent": "resetTheme", - "noUpdate": true, - } -] \ No newline at end of file