@@ -15,22 +15,27 @@ Abstract: This module extends CSS Color [[css-color-4]] to add color modificatio
15
15
Repository : w3c/csswg-drafts
16
16
</pre>
17
17
18
+ <pre class="link-defaults">
19
+ spec:css-color-4; type:dfn; text:colorspace
20
+ spec:css-color-4; type:dfn; text:gamut
21
+ </pre>
22
+
18
23
Introduction {#intro}
19
24
=====================
20
25
21
26
<em> This section is not normative.</em>
22
27
23
28
Web developers, design tools and design system developers
24
- often use color functions to assist in scaling the design
29
+ often use color functions to assist in scaling the design
25
30
of their component color relations.
26
- With the increasing usage of design systems that support multiple platforms
31
+ With the increasing usage of design systems that support multiple platforms
27
32
and multiple user preferences, like the increased capability of Dark Mode in UI,
28
33
this becomes even more useful to not need to manually set color,
29
34
and to instead have a single source from which schemes are calculated.
30
35
31
36
Currently Sass, calc() on HSL values, or PostCSS is used to do this.
32
- Preprocessors are unable to work on dynamically adjusted colors,
33
- all current solutions are restricted to the sRGB gamut
37
+ Preprocessors are unable to work on dynamically adjusted colors,
38
+ all current solutions are restricted to the sRGB gamut
34
39
and to the perceptual limitations of HSL
35
40
(colors are bunched up in the color wheel,
36
41
and two colors with visually different lightness,
0 commit comments