From cc6968c6d75de26e7f45eaa7e548bae50937841c Mon Sep 17 00:00:00 2001 From: Ramojus Lapinskas Date: Sat, 22 Jun 2024 14:00:24 +0300 Subject: [PATCH] fix(color): remove duplicate function --- lua/mellifluous/color.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lua/mellifluous/color.lua b/lua/mellifluous/color.lua index 60ac008..51d4106 100644 --- a/lua/mellifluous/color.lua +++ b/lua/mellifluous/color.lua @@ -70,10 +70,6 @@ function color_meta:with_lightness(val) return M.new(oklch_to_hex(oklch)) end -function color_meta:get_hsl() - return hex_to_okhsl(self.hex) -end - function color_meta:saturated(val) local okhsl = hex_to_okhsl(self.hex) okhsl.s = clip(okhsl.s + val, 0, 100)