mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Fix missing color vars in theme thumbnails
This commit is contained in:
parent
b732728a8a
commit
e979d7a4a6
@ -185,6 +185,9 @@ const CustomTheme = {
|
||||
},
|
||||
getThemeThumbnailStyle(theme) {
|
||||
let style = {};
|
||||
for (let key in CustomTheme.defaultColors) {
|
||||
style[`--color-${key}`] = CustomTheme.defaultColors[key];
|
||||
}
|
||||
for (let key in theme.colors) {
|
||||
style[`--color-${key}`] = theme.colors[key];
|
||||
}
|
||||
|
@ -20,6 +20,7 @@
|
||||
"light": "#f4f3ff",
|
||||
"accent_text": "#000006",
|
||||
"subtle_text": "#848891",
|
||||
"bright_ui_text": "#000006",
|
||||
"grid": "#495061",
|
||||
"wireframe": "#576f82",
|
||||
"checkerboard": "#1c2026"
|
||||
|
@ -20,6 +20,7 @@
|
||||
"light": "#111111",
|
||||
"accent_text": "#000006",
|
||||
"subtle_text": "#6b6d72",
|
||||
"bright_ui_text": "#000006",
|
||||
"grid": "#b0b2b8",
|
||||
"wireframe": "#8797a3",
|
||||
"checkerboard": "#eeeeee"
|
||||
|
Loading…
Reference in New Issue
Block a user