Skip to content

Commit 37e28d0

Browse files
oogasvgeesus
authored andcommitted
[css-fonts-4] Fix examples to match the spec
1 parent fde73cb commit 37e28d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

css-fonts-4/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6312,7 +6312,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
63126312
Modify Handover Sans's color palette
63136313

63146314
<pre>
6315-
@font-palette-values Augusta {
6315+
@font-palette-values --Augusta {
63166316
font-family: Handover Sans;
63176317
base-palette: 3;
63186318
override-colors:
@@ -6348,26 +6348,26 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
63486348
src: url('./bungeehee.woff') format('woff');
63496349
}
63506350

6351-
@font-palette-values ToxicGreen {
6351+
@font-palette-values --ToxicGreen {
63526352
font-family: Bixxxa;
63536353
base-palette: 3; /* This is Bixxxa's green palette */
63546354
}
63556355

63566356

6357-
@font-palette-values ToxicGreen {
6357+
@font-palette-values --ToxicGreen {
63586358
font-family: Bungeehee;
63596359
base-palette: 7; /* This is Bungeehee's green palette... */
63606360
2: lime; /* ...except this is pink, which I overwrite to lime */
63616361
}
63626362

63636363
h1 {
63646364
font-family: Bixxxa;
6365-
font-palette: ToxicGreen;
6365+
font-palette: --ToxicGreen;
63666366
}
63676367

63686368
h2 {
63696369
font-family: Bungeehee;
6370-
font-palette: ToxicGreen;
6370+
font-palette: --ToxicGreen;
63716371
}
63726372
</pre>
63736373

@@ -6393,7 +6393,7 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
63936393
<pre class="lang-css">
63946394
h3 {
63956395
font-family: Bixxxa, Bungeehee;
6396-
font-palette: ToxicGreen;
6396+
font-palette: --ToxicGreen;
63976397
}
63986398
</pre>
63996399

@@ -6487,7 +6487,7 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
64876487
Modify Banner Flag's color palette
64886488

64896489
<pre>
6490-
@font-palette-values Festival {
6490+
@font-palette-values --Festival {
64916491
font-family: Banner Flag;
64926492
base-palette: 1;
64936493
override-colors:
@@ -6511,7 +6511,7 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
65116511
Rename Handover Sans's 3rd color palette
65126512

65136513
<pre>
6514-
@font-palette-values Augusta {
6514+
@font-palette-values --Augusta {
65156515
font-family: Handover Sans;
65166516
base-palette: 3;
65176517
}

0 commit comments

Comments
 (0)