Skip to content

Commit 4109c43

Browse files
Fix the docs
Co-authored-by: Lea Verou <[email protected]>
1 parent 2da7d56 commit 4109c43

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
@@ -131,7 +131,7 @@ future_swatch_container.append(swatch);
131131
### The `info` attribute
132132

133133
You can use the `info` attribute to show information about the color.
134-
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)).
134+
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)).
135135

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

158158
### The `vs` attribute
159159

160-
You can calculate the difference (delta) and contrast between the current color and another one.
160+
You can calculate the difference (deltaE) and contrast between the current color and another one.
161161
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).
162162

163163
```html

0 commit comments

Comments
 (0)