aboutsummaryrefslogtreecommitdiff
path: root/src/services/theme_data
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-03-04 18:24:29 +0200
committerHenry Jameson <me@hjkos.com>2024-03-04 18:24:29 +0200
commita190389f3c9f44072465560dce7203e9ce328f2c (patch)
tree2518e48f79648cc9ef53bde0580f5a314a1feb86 /src/services/theme_data
parenta2f2a0e4090e9fdc9d227fe8fa13fad9ac529887 (diff)
panels/statuses are looking really good now even with transparency
Diffstat (limited to 'src/services/theme_data')
-rw-r--r--src/services/theme_data/theme2_to_theme3.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/services/theme_data/theme2_to_theme3.js b/src/services/theme_data/theme2_to_theme3.js
index 8c623c69..75c82314 100644
--- a/src/services/theme_data/theme2_to_theme3.js
+++ b/src/services/theme_data/theme2_to_theme3.js
@@ -202,6 +202,9 @@ export const convertTheme2To3 = (data) => {
newRules.push({ ...rule, component: 'Tab' })
newRules.push({ ...rule, component: 'Tab', state: ['active'], directives: { opacity: 0 } })
}
+ if (rule.component === 'Panel') {
+ newRules.push({ ...rule, component: 'Post' })
+ }
})
return newRules
}