logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: f85972310c1ff9cb2553a88b0d2243957102ab93
parent 030a2127ee6781966eb667b300e5561eeac2ed03
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 23 Oct 2024 17:19:29 +0300

better replicate themes2 hover/pressed style

Diffstat:

Msrc/services/theme_data/theme2_to_theme3.js4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git 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'] }) }