File tree 3 files changed +5
-16
lines changed
plugins/postcss-light-dark-function
3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 1
1
# Changes to PostCSS Light Dark Function
2
2
3
- ### Unreleased (major)
3
+ ### 2.0.0
4
+
5
+ _ August 3, 2024_
4
6
5
7
- Updated: Support for Node v18+ (major).
6
8
- Updated [ ` @csstools/css-tokenizer ` ] ( https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer ) to [ ` 3.0.0 ` ] ( https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#300 ) (major)
Original file line number Diff line number Diff line change 1
1
# PostCSS Light Dark Function [ <img src =" https://postcss.github.io/postcss/logo.svg " alt =" PostCSS Logo " width =" 90 " height =" 90 " align =" right " >] [ PostCSS ]
2
2
3
- [ <img alt =" npm version " src =" https://img.shields.io/npm/v/@csstools/postcss-light-dark-function.svg " height =" 20 " >] [ npm-url ] [ <img alt =" Build Status " src =" https://github.com/csstools/postcss-plugins/workflows/test/badge.svg " height =" 20 " >] [ cli-url ] [ <img alt =" Discord " src =" https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white " >] [ discord ] <br ><br >[ <img alt =" Baseline Status " src =" https://cssdb.org/images/badges-baseline/light-dark-function.svg " height =" 20 " >] [ css-url ] [ <img alt =" CSS Standard Status " src =" https://cssdb.org/images/badges/light-dark-function.svg " height =" 20 " >] [ css-url ]
4
-
5
- ``` bash
6
- npm install @csstools/postcss-light-dark-function --save-dev
7
- ```
3
+ ` npm install @csstools/postcss-light-dark-function --save-dev `
8
4
9
5
[ PostCSS Light Dark Function] lets you use the ` light-dark ` color function in
10
6
CSS, following the [ CSS Color 5 Specification] .
@@ -113,16 +109,7 @@ postcss([
113
109
]).process (YOUR_CSS /* , processOptions */ );
114
110
```
115
111
116
- [ PostCSS Light Dark Function] runs in all Node environments, with special
117
- instructions for:
118
112
119
- - [ Node] ( INSTALL.md#node )
120
- - [ PostCSS CLI] ( INSTALL.md#postcss-cli )
121
- - [ PostCSS Load Config] ( INSTALL.md#postcss-load-config )
122
- - [ Webpack] ( INSTALL.md#webpack )
123
- - [ Next.js] ( INSTALL.md#nextjs )
124
- - [ Gulp] ( INSTALL.md#gulp )
125
- - [ Grunt] ( INSTALL.md#grunt )
126
113
127
114
## Options
128
115
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @csstools/postcss-light-dark-function" ,
3
3
"description" : " Use the light-dark() color function in CSS" ,
4
- "version" : " 1 .0.8 " ,
4
+ "version" : " 2 .0.0 " ,
5
5
"contributors" : [
6
6
{
7
7
"name" : " Antonio Laguna" ,
You can’t perform that action at this time.
0 commit comments