From cfba4cc6b3a560d37a063db36dcae507bfd6bf4f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 14 Aug 2024 00:08:56 +0300 Subject: [PATCH] don't do no-auto for themes2 seems to work better --- src/services/theme_data/theme2_to_theme3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/theme_data/theme2_to_theme3.js b/src/services/theme_data/theme2_to_theme3.js index 95eb03c1..f654461d 100644 --- a/src/services/theme_data/theme2_to_theme3.js +++ b/src/services/theme_data/theme2_to_theme3.js @@ -351,6 +351,7 @@ export const convertTheme2To3 = (data) => { newRules.push({ ...rule, parent: { component: 'Notification' } }) } if (key === 'buttonPressed') { + console.log(key) newRules.push({ ...rule, state: ['toggled'] }) newRules.push({ ...rule, state: ['toggled', 'focus'] }) newRules.push({ ...rule, state: ['pressed', 'focus'] }) @@ -418,7 +419,6 @@ export const convertTheme2To3 = (data) => { case 'Border': newRule.parent = rule newRule.directives.textColor = data.colors[key] - newRule.directives.textAuto = 'no-auto' variantArray = parts.slice(0, -1) break default: