Socket
Socket
Sign inDemoInstall

@csstools/postcss-oklab-function

Package Overview
Dependencies
6
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.1.0

30

CHANGELOG.md
# Changes to PostCSS OKLab Function
### 1.1.0 (April 4, 2022)
- Allow percentage and number units in more color components.
```css
.percentages {
color-1: oklab(40% 0.309% 0.975%);
color-2: oklch(40% 31.718385875% 34.568626);
/* becomes */
color-1: rgb(73, 71, 69);
color-1: color(display-p3 0.28515 0.27983 0.27246);
color-2: rgb(126, 37, 15);
color-2: color(display-p3 0.45368 0.16978 0.09411);
}
.numbers {
color-1: oklab(0.40 0.001236 0.0039);
color-2: oklch(0.40 0.1268735435 34.568626);
/* becomes */
color-1: rgb(73, 71, 69);
color-1: color(display-p3 0.28515 0.27983 0.27246);
color-2: rgb(126, 37, 15);
color-2: color(display-p3 0.45368 0.16978 0.09411);
}
```
### 1.0.2 (March 8, 2022)

@@ -4,0 +34,0 @@

6

package.json
{
"name": "@csstools/postcss-oklab-function",
"description": "Use oklab() and oklch() color functions in CSS",
"version": "1.0.2",
"version": "1.1.0",
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
"license": "CC0-1.0",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/csstools"
},
"engines": {

@@ -8,0 +12,0 @@ "node": "^12 || ^14 || >=16"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc