ghivert / sketch

A CSS-in-Gleam package, made to work with frontend, backend, with your favorite framework!
https://hexdocs.pm/sketch/
MIT License
47 stars 5 forks source link

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

Closed kwshi closed 2 months ago

kwshi commented 2 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.