From f85972310c1ff9cb2553a88b0d2243957102ab93 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 23 Oct 2024 17:19:29 +0300 Subject: [PATCH] better replicate themes2 hover/pressed style --- src/services/theme_data/theme2_to_theme3.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/services/theme_data/theme2_to_theme3.js b/src/services/theme_data/theme2_to_theme3.js index bcc0c961..9de1aca3 100644 --- a/src/services/theme_data/theme2_to_theme3.js +++ b/src/services/theme_data/theme2_to_theme3.js @@ -354,10 +354,6 @@ export const convertTheme2To3 = (data) => { newRules.push({ ...rule, state: ['toggled'] }) newRules.push({ ...rule, state: ['toggled', 'focus'] }) newRules.push({ ...rule, state: ['pressed', 'focus'] }) - } - if (key === 'buttonHover') { - newRules.push({ ...rule, state: ['toggled', 'hover'] }) - newRules.push({ ...rule, state: ['pressed', 'hover'] }) newRules.push({ ...rule, state: ['toggled', 'focus', 'hover'] }) newRules.push({ ...rule, state: ['pressed', 'focus', 'hover'] }) }