Skip to content

Commit 3f0656c

Browse files
committed
PostCSS: Add @csstools/postcss-light-dark-function plugin
1 parent 13a91f5 commit 3f0656c

File tree

3 files changed

+70
-14
lines changed

3 files changed

+70
-14
lines changed

ember-cli-build.js

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ module.exports = function (defaults) {
4444
extension: 'module.css',
4545
plugins: {
4646
before: [require('postcss-nested')],
47+
postprocess: [require('@csstools/postcss-light-dark-function')({ preserve: false })],
4748
},
4849
},
4950
fingerprint: {

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@babel/core": "7.24.5",
5757
"@babel/eslint-parser": "7.24.5",
5858
"@babel/plugin-proposal-decorators": "7.24.1",
59+
"@csstools/postcss-light-dark-function": "1.0.3",
5960
"@ember/optional-features": "2.1.0",
6061
"@ember/render-modifiers": "2.1.0",
6162
"@ember/string": "3.1.1",

pnpm-lock.yaml

+68-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)