curvedmark / roole

A language that compiles to CSS
http://roole.org
MIT License
342 stars 21 forks source link

Support ($num)%, ($num)em #110

Closed curvedmark closed 11 years ago

curvedmark commented 11 years ago

Remove $unit($num, em), $unit($num,'%') Add $num(12px), $num(20%)

curvedmark commented 11 years ago

Landed in master.

$unit($num, em) has the benefit of setting unit dynamically. So keep it.

Unable to come up with a real world usage for $num(). It can wait.