Skip to content

Commit

Permalink
Update size-limit settings
Browse files Browse the repository at this point in the history
  • Loading branch information
omgovich authored and Vlad Shilov committed May 7, 2021
1 parent a5dd163 commit 5cde677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import { colord } from "colord";

colord("#ff0000").grayscale().alpha(0.25).toRgbString(); // "rgba(128, 128, 128, 0.25)"
colord("rgb(192, 192, 192)").isLight(); // true
colord("hsl(0, 50%, 50%)").darken(0.25).toHex(); // "#602020"
colord("hsl(0deg, 50%, 50%)").darken(0.25).toHex(); // "#602020"
```

<div><img src="assets/divider.png" width="838" alt="---" /></div>
Expand Down Expand Up @@ -602,7 +602,7 @@ colord("#ffffff").toLab(); // { l: 100, a: 0, b: 0, alpha: 1 }
</details>

<details>
<summary><b><code>lch</code> (CIE LCH color space)</b> <i>1.28 KB</i></summary>
<summary><b><code>lch</code> (CIE LCH color space)</b> <i>1.3 KB</i></summary>

Adds support of [CIE LCH](https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/) color space. The conversion logic is ported from [CSS Color Module Level 4 Specification](https://www.w3.org/TR/css-color-4/#color-conversion-code).

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
{
"path": "dist/plugins/lch.mjs",
"limit": "1.3 KB"
"limit": "1.5 KB"
},
{
"path": "dist/plugins/mix.mjs",
Expand Down

0 comments on commit 5cde677

Please sign in to comment.