From c96d8cc8ad287a0ab85e57a654013761719582fe Mon Sep 17 00:00:00 2001 From: Rasz_pl Date: Mon, 8 Apr 2024 19:52:52 +0200 Subject: [PATCH 1/2] Update themes.js normalizing, removing redundant data can remove "default_theme": { "message": "default" }, from all locales --- menu/skeleton-parts/themes.js | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/menu/skeleton-parts/themes.js b/menu/skeleton-parts/themes.js index 62fd5b752..b4e3a8a90 100644 --- a/menu/skeleton-parts/themes.js +++ b/menu/skeleton-parts/themes.js @@ -1,8 +1,5 @@ /*-------------------------------------------------------------- >>> THEMES ----------------------------------------------------------------- -# Font -# Themes --------------------------------------------------------------*/ extension.skeleton.main.layers.section.themes = { @@ -10,12 +7,7 @@ extension.skeleton.main.layers.section.themes = { variant: 'themes', category: true, on: { - click: { - section: { - component: 'section', - variant: 'card' - } - } + click: {} }, icon: { @@ -46,7 +38,7 @@ extension.skeleton.main.layers.section.themes = { }; /*-------------------------------------------------------------- -# THEMES +# SECTION --------------------------------------------------------------*/ extension.skeleton.main.layers.section.themes.on.click.section = { @@ -62,7 +54,6 @@ extension.skeleton.main.layers.section.themes.on.click.section = { component: 'radio', group: 'theme', value: 'custom', - checked: true, on: { click: { section: { @@ -87,7 +78,7 @@ extension.skeleton.main.layers.section.themes.on.click.section = { default: { component: 'label', variant: 'default-theme', - text: 'default_theme', + text: 'default', radio: { component: 'radio', group: 'theme', From d0dbdbaf813a8967be8a4a2c079ca203423e3107 Mon Sep 17 00:00:00 2001 From: Rasz_pl Date: Mon, 8 Apr 2024 19:56:59 +0200 Subject: [PATCH 2/2] Update themes.js formatting --- menu/skeleton-parts/themes.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/menu/skeleton-parts/themes.js b/menu/skeleton-parts/themes.js index b4e3a8a90..33a5f6179 100644 --- a/menu/skeleton-parts/themes.js +++ b/menu/skeleton-parts/themes.js @@ -49,7 +49,6 @@ extension.skeleton.main.layers.section.themes.on.click.section = { component: 'label', variant: 'custom-theme', text: 'custom', - radio: { component: 'radio', group: 'theme', @@ -90,7 +89,6 @@ extension.skeleton.main.layers.section.themes.on.click.section = { component: 'label', variant: 'black-theme', text: 'black', - radio: { component: 'radio', group: 'theme', @@ -101,7 +99,6 @@ extension.skeleton.main.layers.section.themes.on.click.section = { component: 'label', variant: 'plain-theme', text: 'plain', - radio: { component: 'radio', group: 'theme', @@ -122,7 +119,6 @@ extension.skeleton.main.layers.section.themes.on.click.section = { component: 'label', variant: 'night-theme', text: 'night', - radio: { component: 'radio', group: 'theme', @@ -133,7 +129,6 @@ extension.skeleton.main.layers.section.themes.on.click.section = { component: 'label', variant: 'dawn-theme', text: 'dawn', - radio: { component: 'radio', group: 'theme',