Skip to content

Commit

Permalink
fix(color): remove duplicate function
Browse files Browse the repository at this point in the history
  • Loading branch information
ramojus committed Jun 22, 2024
1 parent 09feb1a commit cc6968c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lua/mellifluous/color.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc6968c

Please sign in to comment.