commit: cfba4cc6b3a560d37a063db36dcae507bfd6bf4f
parent 99490cdb21d577024a718084529c4ecd8079a557
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 14 Aug 2024 00:08:56 +0300
don't do no-auto for themes2 seems to work better
Diffstat:
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
@@ -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: