summaryrefslogtreecommitdiff
path: root/core/colors.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/colors.zig')
-rw-r--r--core/colors.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/colors.zig b/core/colors.zig
index 4f58aed5..61af2e4a 100644
--- a/core/colors.zig
+++ b/core/colors.zig
@@ -733,7 +733,7 @@ fn toward(ink: [3]u8, ground: [3]u8, floor: f32) [3]u8 {
/// `ink` pushed by fiftieths toward white or black, whichever reads better
/// on all its grounds, until it reads at `floor` on every one; where no ink
/// does (solarized's mid-grey tag), that end, the most any ink reaches.
-fn pushAway(ink: [3]u8, grounds: []const [3]u8, floor: f32) [3]u8 {
+pub fn pushAway(ink: [3]u8, grounds: []const [3]u8, floor: f32) [3]u8 {
const white: [3]u8 = @splat(255);
const black: [3]u8 = @splat(0);
if (leastContrast(ink, grounds) >= floor) return ink;