Commit cbe229b 1 parent 492f43e commit cbe229b Copy full SHA for cbe229b
File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
30
30
- fix(compiler): always write hash to filesystem when compilation occurs incl. when ` require('github-theme').compile() ` is called directly (#350 )
31
31
- Fixed #340 and #341 (broken/outdated ` overrides ` example in docs)
32
32
- Fixed floats not transparent when ` transparent = true ` (#337 fixed-by #351 )
33
+ - fix(Color): ` Color.from_hsv() ` is used for HSL
33
34
34
35
## [ v1.0.2] - 03 May 2023
35
36
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function Color.new(opts)
85
85
return Color .from_hsv (opts .hue , opts .saturation , opts .value )
86
86
end
87
87
if opts .lightness then
88
- return Color .from_hsv (opts .hue , opts .saturation , opts .lightness )
88
+ return Color .from_hsl (opts .hue , opts .saturation , opts .lightness )
89
89
end
90
90
end
91
91
You can’t perform that action at this time.
0 commit comments