ghivert / sketch

A CSS-in-Gleam package, made to work with frontend, backend, with your favorite framework!
https://sketch.chouquette.dev
MIT License
50 stars 6 forks source link

`size.percent_` incorrectly returns `Px` size type #21

Closed kwshi closed 3 months ago

kwshi commented 3 months ago

https://github.com/ghivert/sketch/blob/b29017c6481fde3a41f79aec327676b8f6fa3bbd/sketch/src/sketch/size.gleam#L45-L47

size.percent_ should return a Pct but instead returns a Px.