Skip to content

Commit ac79559

Browse files
Fix the docs
Co-authored-by: Lea Verou <[email protected]>
1 parent ab4f3f2 commit ac79559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/color-swatch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ If used as a property and is not defined via the `label` attribute, its value is
189189
### The `info` attribute
190190

191191
You can use the `info` attribute to show information about the color.
192-
Currently, the types of information supported are color coords (in any color space), the difference (delta) and contrast between the current color and another one (specified via [the `vs` attribute](./#the-vs-attribute)).
192+
Currently, the types of information supported are color coords (in any color space), the difference (deltaE) and contrast between the current color and another one (specified via [the `vs` attribute](./#the-vs-attribute)).
193193

194194
```html
195195
<color-swatch info="oklch.l, oklch.c, oklch.h" size="large">
@@ -215,7 +215,7 @@ The `info` attribute plays quite nicely with the `--details-style: compact` styl
215215

216216
### The `vs` attribute
217217

218-
You can calculate the difference (delta) and contrast between the current color and another one.
218+
You can calculate the difference (deltaE) and contrast between the current color and another one.
219219
To do so, provide the new color via the `vs` attribute and specify one of the [supported algorithms for calculating the difference](https://colorjs.io/docs/color-difference#delta-e-e) ([contrast](https://colorjs.io/docs/contrast) or both) between two colors inside [the `info` attribute](./#the-info-attribute).
220220

221221
```html

0 commit comments

Comments
 (0)