diff options
Diffstat (limited to 'core/colors.zig')
| -rw-r--r-- | core/colors.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/colors.zig b/core/colors.zig index 2a97ac69..ef2d5aae 100644 --- a/core/colors.zig +++ b/core/colors.zig @@ -764,7 +764,9 @@ pub fn loadThemeFile(p: *Pardes, generation: u32, bytes: []const u8) bool { } pub fn finishThemeInitialization(p: *Pardes) void { - p.chrome = ChromeTheme.fromTheme(p.theme()); + // The session's own theme's: never one the window previews + // (`previewTheme`). + p.chrome = ChromeTheme.fromTheme(if (p.custom_theme) |*custom| custom else &themes[p.settings.theme]); } /// Themes near `name`, a line of them, for a Theme given a name there is |
