File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ module.exports = class ClarkPlugin extends Plugin {
2424 // Use :enter, which is equal to :hover and :focus combined
2525 require ( 'postcss-pseudo-class-enter' ) ,
2626
27+ // https://github.com/postcss/postcss-custom-selectorsx
28+ // @custom -selector :--heading h1, h2, h3;
29+ require ( 'postcss-custom-selectors' ) ,
30+
2731 // https://github.com/jedmao/postcss-nested-props
2832 // Nest properties like `font: { size: 10px; family: Helvetica; }`
2933 // @TODO : https://github.com/jedmao/postcss-nested-props/issues/9
@@ -91,7 +95,6 @@ module.exports = class ClarkPlugin extends Plugin {
9195
9296 // Explicitly enable features that we want, despite being proposals yet.
9397 features : {
94- 'custom-selectors' : true ,
9598 'custom-properties' : true ,
9699 'custom-media-queries' : true ,
97100 'nesting-rules' : true ,
Original file line number Diff line number Diff line change 2222 "postcss-calc" : " ^7.0.1" ,
2323 "postcss-color-function" : " ^4.1.0" ,
2424 "postcss-conditionals" : " ^2.1.0" ,
25+ "postcss-custom-selectors" : " ^5.1.2" ,
2526 "postcss-each" : " ^0.10.0" ,
2627 "postcss-easing-gradients" : " ^3.0.1" ,
2728 "postcss-for" : " ^2.1.1" ,
You can’t perform that action at this time.
0 commit comments