diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 11:26:05 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 15:12:36 -0300 |
| commit | 7ec1181244c039db72986eec46f21a9d5ac2e171 (patch) | |
| tree | cd1b71ecefd5331cb0cff096c4db5a65b279f6e2 /src/draw.zig | |
| parent | 65b838b9b441a7ce1810f979216ff9246d63df72 (diff) | |
| download | pardes-7ec1181244c039db72986eec46f21a9d5ac2e171.tar.gz pardes-7ec1181244c039db72986eec46f21a9d5ac2e171.zip | |
effects out, the window's glows: SelectionGlow, HoverGlow and Occlusion go with their decor (glowBlocks, occlusion, the glow trackers that kept frames coming), their tests, words and settings, and Chrome.accent, which only the hover glow read; Chrome.fx keeps Parallax's bit until the lapis ornament goes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/draw.zig')
| -rw-r--r-- | src/draw.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/draw.zig b/src/draw.zig index a7498cab..68e1fb41 100644 --- a/src/draw.zig +++ b/src/draw.zig @@ -546,7 +546,6 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface { .scroll_thumb = chrome.scroll_thumb, .match_tick = chrome.search_bg, .match_current = p.theme().fg orelse chrome.tag_fg, - .accent = chrome.box, .sel_fg = p.theme().sel_fg, .sel_bg = p.theme().sel_bg, .lift_style = @backingInt(liftStyle(p)), @@ -558,7 +557,7 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface { .rail_px = @intCast(@min(255, @as(u32, p.theme().rail_px orelse 12) * p.settings.grip_width / 100)), .name_ink = chrome.tag_name_fg, .active_name_ink = if (p.settings.focus_tint) chrome.tag_active_name_fg else chrome.tag_name_fg, - .fx = @as(u8, @intFromBool(p.settings.selection_glow)) | @as(u8, @intFromBool(p.settings.hover_glow)) << 1 | @as(u8, @intFromBool(p.settings.occlusion)) << 2 | @as(u8, @intFromBool(p.settings.parallax)) << 3, + .fx = @as(u8, @intFromBool(p.settings.parallax)) << 3, }; if (p.theme().decor) |decor| { s.chrome.decor_dots = decor.page_dots; |
