Skip to content

Commit 0bb714a

Browse files
committed
tidy up, typo
1 parent 7a7f069 commit 0bb714a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-color-5/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,8 @@ Selecting the most contrasting color: the ''color-contrast()'' function {#colorc
481481
<dfn>color-contrast()</dfn> = color-contrast( <<color>> vs <<color>>#{2,} ( to [<<number>> | AA | AA-large])? )
482482
</pre>
483483

484+
The keyword 'AA' is equivalent to 4.5, and the keyword 'AA-large' is equivalent to 3.
485+
484486
<div class="example">
485487
<pre class="lang-css">color-contrast(wheat vs tan, sienna, var(--myAccent), #d2691e)</pre>
486488

@@ -496,8 +498,6 @@ Selecting the most contrasting color: the ''color-contrast()'' function {#colorc
496498

497499
</div>
498500

499-
The keyword 'AA' is equivalent to 4.5, and the keyword 'AA-large' is equivalent to 3.
500-
501501
<!-- live example
502502
https://colorjs.io/notebook/?storage=https%3A%2F%2Fgist.github.com%2Fsvgeesus%2Fec249f376fcecbaa8794f75dbfc1dacf
503503
-->
@@ -533,7 +533,7 @@ Selecting the most contrasting color: the ''color-contrast()'' function {#colorc
533533
a color is the temporary winner
534534
if it has the highest contrast of all those tested so far.
535535

536-
List traversal is terminated once the target contrast has been meet or exceeded.
536+
List traversal is terminated once the target contrast has been met or exceeded.
537537

538538
Once the end of the list is reached, if there is no target contrast,
539539
the current temporary winner is the overall winner.

0 commit comments

Comments
 (0)