diff options
| author | Henry Jameson <me@hjkos.com> | 2024-07-10 22:49:56 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-07-10 22:49:56 +0300 |
| commit | c6ccab778f78bf65cebcad1c5e0943d427254098 (patch) | |
| tree | c85cd45dc4f66b1d55eb47b4e132d3c72f3da9a5 /src/services/theme_data/theme2_to_theme3.js | |
| parent | 8a41313bb4957471b2c5577661ae388300097f12 (diff) | |
MASSIVELY streamlined theme setting process, now EVERYTHING happens in a vuex action "setTheme" instead of several different applyTheme()s scattered around
Diffstat (limited to 'src/services/theme_data/theme2_to_theme3.js')
| -rw-r--r-- | src/services/theme_data/theme2_to_theme3.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/theme_data/theme2_to_theme3.js b/src/services/theme_data/theme2_to_theme3.js index 2c97d18b..b54366bd 100644 --- a/src/services/theme_data/theme2_to_theme3.js +++ b/src/services/theme_data/theme2_to_theme3.js @@ -265,6 +265,7 @@ export const convertTheme2To3 = (data) => { const newRules = [] Object.keys(data.fonts || {}).forEach(key => { if (!fontsKeys.has(key)) return + if (!data.fonts[key]) return const originalFont = data.fonts[key].family const rule = { source: '2to3' } |
