File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ module.exports = class ClarkPlugin extends Plugin {
24
24
// Use :enter, which is equal to :hover and :focus combined
25
25
require ( 'postcss-pseudo-class-enter' ) ,
26
26
27
+ // https://github.com/postcss/postcss-custom-selectorsx
28
+ // @custom -selector :--heading h1, h2, h3;
29
+ require ( 'postcss-custom-selectors' ) ,
30
+
27
31
// https://github.com/jedmao/postcss-nested-props
28
32
// Nest properties like `font: { size: 10px; family: Helvetica; }`
29
33
// @TODO : https://github.com/jedmao/postcss-nested-props/issues/9
@@ -91,7 +95,6 @@ module.exports = class ClarkPlugin extends Plugin {
91
95
92
96
// Explicitly enable features that we want, despite being proposals yet.
93
97
features : {
94
- 'custom-selectors' : true ,
95
98
'custom-properties' : true ,
96
99
'custom-media-queries' : true ,
97
100
'nesting-rules' : true ,
Original file line number Diff line number Diff line change 22
22
"postcss-calc" : " ^7.0.1" ,
23
23
"postcss-color-function" : " ^4.1.0" ,
24
24
"postcss-conditionals" : " ^2.1.0" ,
25
+ "postcss-custom-selectors" : " ^5.1.2" ,
25
26
"postcss-each" : " ^0.10.0" ,
26
27
"postcss-easing-gradients" : " ^3.0.1" ,
27
28
"postcss-for" : " ^2.1.1" ,
You can’t perform that action at this time.
0 commit comments