Skip to content

How does it work? #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ilyadoroshin opened this issue Dec 12, 2016 · 2 comments
Closed

How does it work? #3

ilyadoroshin opened this issue Dec 12, 2016 · 2 comments

Comments

@ilyadoroshin
Copy link

ilyadoroshin commented Dec 12, 2016

Hi, @siddharthkp!

This is terrific, man! I really like your approach 👍
Could you, please, tell me.. How is it supposed to work? Does it compile to css in the end? Or is it possible to accumulate all these properties to one separate css file?

@siddharthkp
Copy link
Owner

@ilyadoroshin Thanks for asking 😄

I plan to write the explanation soon (this week)

@siddharthkp
Copy link
Owner

siddharthkp commented Dec 12, 2016

Temporary answers to your question -

How is it supposed to work?

If you're asking about the syntax, check out the example.
If you mean under the hood, it uses method decorations (more on this soon)

Does it compile to css in the end?

It does, inserts styles into <head>

Or is it possible to accumulate all these properties to one separate css file?

The current implementation evaluates styles at runtime. Soon, you will be able to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants