From 820e29c026414d12ffd7df48cff79d58d2b693c3 Mon Sep 17 00:00:00 2001 From: Nikita Krupin Date: Sun, 27 Mar 2022 17:14:38 -0400 Subject: [PATCH] smol theme refactoring --- NUXT/nuxt.config.js | 2 +- NUXT/pages/mods/theme.vue | 56 +++++++++---------- android/.idea/deploymentTargetDropDown.xml | 17 ------ .../app/src/main/assets/capacitor.config.json | 2 +- ios/App/App/capacitor.config.json | 2 +- 5 files changed, 30 insertions(+), 49 deletions(-) delete mode 100644 android/.idea/deploymentTargetDropDown.xml diff --git a/NUXT/nuxt.config.js b/NUXT/nuxt.config.js index b5e243b..4f3d689 100644 --- a/NUXT/nuxt.config.js +++ b/NUXT/nuxt.config.js @@ -72,7 +72,7 @@ export default { lighten2: "#533", }, background: { - base: "#222", + base: "#181818", lighten1: "#282828", lighten2: "#333", }, diff --git a/NUXT/pages/mods/theme.vue b/NUXT/pages/mods/theme.vue index 4a721a4..043bc66 100644 --- a/NUXT/pages/mods/theme.vue +++ b/NUXT/pages/mods/theme.vue @@ -1,9 +1,9 @@ @@ -58,6 +52,14 @@ export default { data() { return { backgroundColor: "#ffffff", + swatches: [ + ["#FF7777"], + ["#FFF777"], + ["#77FF77"], + ["#77FFFF"], + ["#777FFF"], + ["#FF77FF"], + ], }; }, @@ -93,13 +95,11 @@ export default { amoled() { this.$vuetify.theme.themes.dark.background === "#000" ? ((this.$vuetify.theme.themes.dark.background = "#222"), - (this.$vuetify.theme.themes.dark.background = "#222"), - (this.$vuetify.theme.themes.dark.background = "#333"), localStorage.setItem("isOled", false)) : ((this.$vuetify.theme.themes.dark.background = "#000"), - (this.$vuetify.theme.themes.dark.background = "#000"), - (this.$vuetify.theme.themes.dark.background = "#000"), localStorage.setItem("isOled", true)); + + console.log(this.$vuetify.theme.themes.dark); }, saveTheme(isDark) { this.$vuetube.statusBar.setBackground( @@ -111,12 +111,10 @@ export default { }; - diff --git a/android/.idea/deploymentTargetDropDown.xml b/android/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 52b0356..0000000 --- a/android/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/android/app/src/main/assets/capacitor.config.json b/android/app/src/main/assets/capacitor.config.json index 41fb0b2..48a2f82 100644 --- a/android/app/src/main/assets/capacitor.config.json +++ b/android/app/src/main/assets/capacitor.config.json @@ -2,7 +2,7 @@ "appId": "com.Frontesque.vuetube", "appName": "VueTube", "webDir": "dist", - "bundledWebRuntime": true, + "bundledWebRuntime": false, "server": { "hostname": "youtube.com", "androidScheme": "https" diff --git a/ios/App/App/capacitor.config.json b/ios/App/App/capacitor.config.json index 41fb0b2..48a2f82 100644 --- a/ios/App/App/capacitor.config.json +++ b/ios/App/App/capacitor.config.json @@ -2,7 +2,7 @@ "appId": "com.Frontesque.vuetube", "appName": "VueTube", "webDir": "dist", - "bundledWebRuntime": true, + "bundledWebRuntime": false, "server": { "hostname": "youtube.com", "androidScheme": "https"