Skip to content

Commit 9de250d

Browse files
authored
Merge pull request #6652 from litherum/override-colors
[css-fonts] [palettes] override-color takes a list but isn't plural
2 parents 9ddf938 + c703cc6 commit 9de250d

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
@@ -6373,7 +6373,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
63736373
@font-palette-values Cooler {
63746374
font-family: Bixa;
63756375
base-palette: 1;
6376-
override-color:
6376+
override-colors:
63776377
1 #7EB7E4;
63786378
}
63796379
</pre>
@@ -6393,7 +6393,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
63936393
@font-palette-values Augusta {
63946394
font-family: Handover Sans;
63956395
base-palette: 3;
6396-
override-color:
6396+
override-colors:
63976397
1 rgb(43, 12, 9),
63986398
3 var(--highlight);
63996399
}
@@ -6512,7 +6512,7 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
65126512
@font-palette-values Festival {
65136513
font-family: Banner Flag;
65146514
base-palette: 'Dark';
6515-
override-color:
6515+
override-colors:
65166516
'Outline' rgb(123, 64, 27),
65176517
'Base Glyph' currentColor,
65186518
'Glints' var(--highlight);
@@ -6522,10 +6522,10 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
65226522

65236523
This descriptor specifies a palette in the font
65246524
which the containing ''@font-palette-values'' rule uses as an initial value.
6525-
If no <<override-color>> key is present in the ''@font-palette-values'' rule,
6525+
If no <<override-colors>> key is present in the ''@font-palette-values'' rule,
65266526
then the ''@font-palette-values'' rule represents the palette in the font
65276527
with the same index as the value of this descriptor.
6528-
If a <<override-color>> key is present in the ''@font-palette-values'' rule,
6528+
If a <<override-colors>> key is present in the ''@font-palette-values'' rule,
65296529
each item in the value of that descriptor overrides a single color
65306530
in the color palette represented by this ''@font-palette-values'' block.
65316531

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

65566556
<h4 id="override-color">
6557-
Overriding a color from a palette: The 'override-color!!descriptor' descriptor</h4>
6557+
Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor</h4>
65586558

65596559
<pre class='descdef'>
6560-
Name: override-color
6560+
Name: override-colors
65616561
Value: [ [ <<string>> | <<integer [0, ∞]>> ] <<color>> ]#
65626562
For: @font-palette-values
65636563
Initial: N/A
@@ -6576,12 +6576,12 @@ Overriding a color from a palette: The 'override-color!!descriptor' descriptor</
65766576
an entry into the palette
65776577
an a color to replace it with.
65786578

6579-
The '@font-palette-values/override-color' descriptor takes
6579+
The '@font-palette-values/override-colors' descriptor takes
65806580
a comma-separated list
65816581
of palette index entries and colors.
65826582

65836583
Palette index entries
6584-
in the ''@font-palette-values/override-color'' descriptor
6584+
in the ''@font-palette-values/override-colors'' descriptor
65856585
are either a (zero-based) palette index entry, or
65866586
a string, which corresponds to a named palette entry
65876587
in the selected palette.

0 commit comments

Comments
 (0)