Skip to content

Commit cfee711

Browse files
committed
[css-color] export definitions
1 parent 64afd14 commit cfee711

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

css-color-4/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Ignored Terms: stacking context, double, octet
1818

1919
<pre class="link-defaults">
2020
spec:css-color-4; type:descriptor; for:@color-profile; text:src
21+
spec:css-color-4; type:dfn; text:colorspace
22+
spec:css-color-4; type:dfn; text:gamut
2123
</pre>
2224

2325
<style>

css-color-5/Overview.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,27 @@ Abstract: This module extends CSS Color [[css-color-4]] to add color modificatio
1515
Repository: w3c/csswg-drafts
1616
</pre>
1717

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+
1823
Introduction {#intro}
1924
=====================
2025

2126
<em>This section is not normative.</em>
2227

2328
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
2530
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
2732
and multiple user preferences, like the increased capability of Dark Mode in UI,
2833
this becomes even more useful to not need to manually set color,
2934
and to instead have a single source from which schemes are calculated.
3035

3136
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
3439
and to the perceptual limitations of HSL
3540
(colors are bunched up in the color wheel,
3641
and two colors with visually different lightness,

0 commit comments

Comments
 (0)