Replies: 1 comment 1 reply
-
The objective of the import { css } from "atomico";
import parse from "./my-css-syntax";
const scss = (...args) => css.call(null, [parse(args)]);
function component() {
return <host shadowDom></host>;
}
component.props = { show: { type: Boolean, reflect: true } };
component.styles = scss`
:host {
display: none;
&([show]) {
display: block;
}
}
`; a while ago I created a package that parses the CSS, you could use it to cover the desired syntax https://github.com/UpperCod/css-to-object |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
it would be great atomico will support scss like im been using
goober
https://www.npmjs.com/package/gooberBeta Was this translation helpful? Give feedback.
All reactions