summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/macos.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/macos.zig b/runtime/macos.zig
index 8c6fa433..2778507f 100644
--- a/runtime/macos.zig
+++ b/runtime/macos.zig
@@ -479,8 +479,8 @@ export fn pardes_animating() bool {
export fn pardes_theme_bg() u32 {
pardes.turn.wake();
defer pardes.turn.rest();
- const th = if (state) |*st| st.core.theme() else &pardes.colors.legacy_themes[0];
- const bg = th.bg orelse return color_default;
+ const page = if (state) |*st| st.core.theme().bg else pardes.themes[0].page;
+ const bg = page orelse return color_default;
return @as(u32, bg[0]) << 16 | @as(u32, bg[1]) << 8 | bg[2];
}