summaryrefslogtreecommitdiff
path: root/core/body_layer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/body_layer.zig')
-rw-r--r--core/body_layer.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/body_layer.zig b/core/body_layer.zig
index 5e23a415..07a2d98f 100644
--- a/core/body_layer.zig
+++ b/core/body_layer.zig
@@ -150,7 +150,7 @@ pub fn paintPointerSelection(
/// The selection colour of each pointer button's sweep: the select button's
/// and the look and exec buttons', each tinted toward its own accent.
-pub fn buttonTints(th: *const colors.Theme) [3][3]u8 {
+pub fn buttonTints(th: *const colors.LegacyTheme) [3][3]u8 {
if (th.sweep_bg) |own| return own;
const accent2 = if (std.mem.eql(u8, &th.num, &th.str)) th.comment else th.num;
return .{
@@ -161,7 +161,7 @@ pub fn buttonTints(th: *const colors.Theme) [3][3]u8 {
}
/// The ink over each button's sweep.
-pub fn buttonInks(th: *const colors.Theme) [3][3]u8 {
+pub fn buttonInks(th: *const colors.LegacyTheme) [3][3]u8 {
return th.sweep_fg orelse @splat(th.sel_fg);
}