| 1 |
.color-functions { |
| 2 |
$color: red; |
| 3 |
hue: hue($color); |
| 4 |
hue-type: type-of(hue($color)); |
| 5 |
hue-unit: unit(hue($color)); |
| 6 |
hue-comparable: comparable(hue($color), hue($color)); |
| 7 |
test-1: comparable(lightness(red), 1%); |
| 8 |
test-2: comparable(saturation(red), 1%); |
| 9 |
} |