You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-fonts-4/Overview.bs
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2807,7 +2807,14 @@ Value: <<integer>>
2807
2807
For: @font-palette-values
2808
2808
</pre>
2809
2809
2810
-
This descriptor specifies a palette in the font which the containing ''@font-palette-values'' rule uses as an initial value. If no <<integer>> keys are present in the ''@font-palette-values'' rule, then the ''@font-palette-values'' rule represents the palette in the font with the same index as the value of this descriptor. If <<integer>> keys are present in the ''@font-palette-values'' rule, each one of those descriptors overrides a single color in the color palette represented by this ''@font-palette-values'' block.
2810
+
This descriptor specifies a palette in the font
2811
+
which the containing ''@font-palette-values'' rule uses as an initial value.
2812
+
If no <<integer>> keys are present in the ''@font-palette-values'' rule,
2813
+
then the ''@font-palette-values'' rule represents the palette in the font
2814
+
with the same index as the value of this descriptor.
2815
+
If <<integer>> keys are present in the ''@font-palette-values'' rule,
2816
+
each one of those descriptors overrides a single color
2817
+
in the color palette represented by this ''@font-palette-values'' block.
2811
2818
2812
2819
<div class="example">
2813
2820
Rename Handover Sans's 3rd color palette
@@ -2820,7 +2827,15 @@ This descriptor specifies a palette in the font which the containing ''@font-pal
2820
2827
</pre>
2821
2828
</div>
2822
2829
2823
-
If this descriptor is not present in the ''@font-palette-values'', a value of 0 is used. If the font does not contain a palette at the index of the value of 'base-palette', a value of 0 is used. If a font does not contain any color palettes, no colors are included in the initial color palette represented by this ''@font-palette-values'' rule. Colors can be added to the color palette by using the <<integer>> descriptor in the ''@font-palette-values'' rule.
2830
+
If this descriptor is not present in the ''@font-palette-values'',
2831
+
a value of ''0'' is used.
2832
+
If the font does not contain a palette at the index of the value of 'base-palette',
2833
+
a value of ''0'' is used.
2834
+
If a font does not contain any color palettes,
2835
+
no colors are included in the initial color palette
2836
+
represented by this ''@font-palette-values'' rule.
2837
+
Colors can be added to the color palette
2838
+
by using the <<integer>> descriptor in the ''@font-palette-values'' rule.
2824
2839
2825
2840
<h3 id="palette-integer-desc">
2826
2841
Overriding a color in the palette: The <<integer>> descriptor</h3>
0 commit comments