Skip to content

Commit

Permalink
libraries/theme/utilities: Delete unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed Oct 6, 2023
1 parent 269cd09 commit d1e2e3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/theme/utilities.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
(defun relative-luminance (color)
"Compute relative luminance of COLOR."
;; See https://developer.mozilla.org/en-US/docs/Web/Accessibility/Understanding_Colors_and_Luminance#modeling_light_color_and_vision
(loop with rgb = (cl-colors2:as-rgb color)
for const in '(0.2126 0.7152 0.0722)
(loop for const in '(0.2126 0.7152 0.0722)
for rgb-component in (list (cl-colors2:rgb-red (cl-colors2:as-rgb color))
(cl-colors2:rgb-green (cl-colors2:as-rgb color))
(cl-colors2:rgb-blue (cl-colors2:as-rgb color)))
Expand Down

0 comments on commit d1e2e3d

Please sign in to comment.