From 09ddc0cdc6edba600a846a93fe3a36e07839be39 Mon Sep 17 00:00:00 2001 From: "Myles C. Maxfield" Date: Tue, 21 Sep 2021 00:00:24 -0700 Subject: [PATCH] [css-fonts] [palettes] override-color takes a list but isn't plural Fixes https://github.com/w3c/csswg-drafts/issues/6630. --- css-fonts-4/Overview.bs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/css-fonts-4/Overview.bs b/css-fonts-4/Overview.bs index 09a43f3e1ec..c5e321a4edd 100644 --- a/css-fonts-4/Overview.bs +++ b/css-fonts-4/Overview.bs @@ -6371,7 +6371,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule @font-palette-values Cooler { font-family: Bixa; base-palette: 1; - override-color: + override-colors: 1 #7EB7E4; } @@ -6391,7 +6391,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule @font-palette-values Augusta { font-family: Handover Sans; base-palette: 3; - override-color: + override-colors: 1 rgb(43, 12, 9), 3 var(--highlight); } @@ -6482,7 +6482,7 @@ Specifying the base palette: the 'base-palette' descriptor @font-palette-values Festival { font-family: Banner Flag; base-palette: 'Dark'; - override-color: + override-colors: 'Outline' rgb(123, 64, 27), 'Base Glyph' currentColor, 'Glints' var(--highlight); @@ -6492,10 +6492,10 @@ Specifying the base palette: the 'base-palette' descriptor This descriptor specifies a palette in the font which the containing ''@font-palette-values'' rule uses as an initial value. - If no <> key is present in the ''@font-palette-values'' rule, + If no <> key is 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 a <> key is present in the ''@font-palette-values'' rule, + If a <> key is present in the ''@font-palette-values'' rule, each item in the value of that descriptor overrides a single color in the color palette represented by this ''@font-palette-values'' block. @@ -6524,10 +6524,10 @@ Specifying the base palette: the 'base-palette' descriptor according to [[#localized-name-matching]].

-Overriding a color from a palette: The 'override-color!!descriptor' descriptor

+Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor
-    Name: override-color
+    Name: override-colors
     Value: [ [ <> | <> ] <> ]#
     For: @font-palette-values
     Initial: N/A
@@ -6546,12 +6546,12 @@ Overriding a color from a palette: The 'override-color!!descriptor' descriptor