garden icon indicating copy to clipboard operation
garden copied to clipboard

RGB values are not rounded before translation to CSS

Open shiona opened this issue 7 years ago • 1 comments

RGB-fields can get non-integer values from functions mix and weighted-mix, or by simply constructing one: (rgb 10.2 272.72 133.337).

These kind of colors, when translated to CSS don't seem to get rounded, but rather simply dropped, causing missing color definitions.

shiona avatar Mar 01 '17 12:03 shiona

This seems to only affect compilation in frontend.

shiona avatar Mar 01 '17 12:03 shiona