Skip to content

Commit ecdaa0c

Browse files
committed
[fonts-4] Rewrap.
1 parent 13e7532 commit ecdaa0c

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,7 +2807,14 @@ Value: <<integer>>
28072807
For: @font-palette-values
28082808
</pre>
28092809

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.
28112818

28122819
<div class="example">
28132820
Rename Handover Sans's 3rd color palette
@@ -2820,7 +2827,15 @@ This descriptor specifies a palette in the font which the containing ''@font-pal
28202827
</pre>
28212828
</div>
28222829

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.
28242839

28252840
<h3 id="palette-integer-desc">
28262841
Overriding a color in the palette: The <<integer>> descriptor</h3>

0 commit comments

Comments
 (0)