Skip to content

Commit 09ddc0c

Browse files
committed
[css-fonts] [palettes] override-color takes a list but isn't plural
Fixes #6630.
1 parent b7049bc commit 09ddc0c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

css-fonts-4/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6371,7 +6371,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
63716371
@font-palette-values Cooler {
63726372
font-family: Bixa;
63736373
base-palette: 1;
6374-
override-color:
6374+
override-colors:
63756375
1 #7EB7E4;
63766376
}
63776377
</pre>
@@ -6391,7 +6391,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
63916391
@font-palette-values Augusta {
63926392
font-family: Handover Sans;
63936393
base-palette: 3;
6394-
override-color:
6394+
override-colors:
63956395
1 rgb(43, 12, 9),
63966396
3 var(--highlight);
63976397
}
@@ -6482,7 +6482,7 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
64826482
@font-palette-values Festival {
64836483
font-family: Banner Flag;
64846484
base-palette: 'Dark';
6485-
override-color:
6485+
override-colors:
64866486
'Outline' rgb(123, 64, 27),
64876487
'Base Glyph' currentColor,
64886488
'Glints' var(--highlight);
@@ -6492,10 +6492,10 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
64926492

64936493
This descriptor specifies a palette in the font
64946494
which the containing ''@font-palette-values'' rule uses as an initial value.
6495-
If no <<override-color>> key is present in the ''@font-palette-values'' rule,
6495+
If no <<override-colors>> key is present in the ''@font-palette-values'' rule,
64966496
then the ''@font-palette-values'' rule represents the palette in the font
64976497
with the same index as the value of this descriptor.
6498-
If a <<override-color>> key is present in the ''@font-palette-values'' rule,
6498+
If a <<override-colors>> key is present in the ''@font-palette-values'' rule,
64996499
each item in the value of that descriptor overrides a single color
65006500
in the color palette represented by this ''@font-palette-values'' block.
65016501

@@ -6524,10 +6524,10 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
65246524
according to [[#localized-name-matching]].
65256525

65266526
<h4 id="override-color">
6527-
Overriding a color from a palette: The 'override-color!!descriptor' descriptor</h4>
6527+
Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor</h4>
65286528

65296529
<pre class='descdef'>
6530-
Name: override-color
6530+
Name: override-colors
65316531
Value: [ [ <<string>> | <<integer>> ] <<color>> ]#
65326532
For: @font-palette-values
65336533
Initial: N/A
@@ -6546,12 +6546,12 @@ Overriding a color from a palette: The 'override-color!!descriptor' descriptor</
65466546
an entry into the palette
65476547
an a color to replace it with.
65486548

6549-
The '@font-palette-values/override-color' descriptor takes
6549+
The '@font-palette-values/override-colors' descriptor takes
65506550
a comma-separated list
65516551
of palette index entries and colors.
65526552

65536553
Palette index entries
6554-
in the ''@font-palette-values/override-color'' descriptor
6554+
in the ''@font-palette-values/override-colors'' descriptor
65556555
are either a (zero-based) palette index entry, or
65566556
a string, which corresponds to a named palette entry
65576557
in the selected palette.

0 commit comments

Comments
 (0)