Skip to content

Commit 8ee5fc8

Browse files
committed
removed tagging from element expander
1 parent 339add3 commit 8ee5fc8

File tree

2 files changed

+0
-114
lines changed

2 files changed

+0
-114
lines changed

packages/heml-styles/src/plugins/postcss-element-expander/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ export default postcss.plugin('postcss-element-expander', ({ elements, aliases }
3838

3939
return (root, result) => {
4040
for (let element of elements) {
41-
/**
42-
* add the element tag to any css selectors that implicitly target an element
43-
* .i.e. #my-button that selects <button id="my-button">click me</button>
44-
*/
45-
root.walkRules((rule) => {
46-
tagAliasSelectors(element, aliases[element.tag], rule)
47-
})
48-
4941
/**
5042
* There are 3 (non-mutually exclusive) possibilities when it contains the element tag
5143
*

packages/heml-styles/src/plugins/postcss-element-expander/tagAliasSelectors.js

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)