Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Semantic Selector): Fix CSS syntax when generating selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ketch committed Feb 25, 2020
1 parent e519b63 commit 4963cc6
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 199 deletions.
2 changes: 1 addition & 1 deletion src/scripts/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const generateSelectors = async (): Promise<void> => {
return prev
}, {})
const propSelectorsCss = Object.entries(propSelectors).map(
([name, selectors]) => `@custom-selector :--${name} ${selectors}`
([name, selectors]) => `@custom-selector :--${name} ${selectors};`
)
const propSelectorsJs = Object.entries(propSelectors).map(
([name, selectors]) => `case ":--${name}": return "${selectors}"`
Expand Down
Loading

0 comments on commit 4963cc6

Please sign in to comment.