Skip to content

Commit c6d57a8

Browse files
committed
PostCSS: Add @csstools/postcss-light-dark-function plugin
1 parent 60df642 commit c6d57a8

File tree

3 files changed

+57
-2
lines changed

3 files changed

+57
-2
lines changed

ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = function (defaults) {
4343
cssModules: {
4444
extension: 'module.css',
4545
plugins: {
46-
before: [require('postcss-nested')],
46+
before: [require('postcss-nested'), require('@csstools/postcss-light-dark-function')],
4747
},
4848
},
4949
fingerprint: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@babel/core": "7.24.4",
5757
"@babel/eslint-parser": "7.24.1",
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

Lines changed: 55 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)