Skip to content
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

Make a demo with CSS generation in frontend land #26

Open
green-coder opened this issue Jan 15, 2021 · 3 comments
Open

Make a demo with CSS generation in frontend land #26

green-coder opened this issue Jan 15, 2021 · 3 comments
Labels
workflow-integration Make using Girouette practical

Comments

@green-coder
Copy link
Owner

Girouette, Instaparse and Garden are all written in CLJC, which means that it should be possible to generate the CSS content while running in the browser.

That could be a good development setup, as it would be independent from the various build tools which the Clojure community enjoys.

@green-coder green-coder added workflow-integration Make using Girouette practical contribution welcome An extra hand is needed labels Jan 15, 2021
@green-coder green-coder mentioned this issue Jan 25, 2021
5 tasks
@green-coder green-coder added the good first issue Good for newcomers label Feb 2, 2021
@green-coder green-coder self-assigned this Feb 26, 2021
@green-coder green-coder added this to the v0.0.2 milestone Feb 28, 2021
@green-coder green-coder removed contribution welcome An extra hand is needed good first issue Good for newcomers labels Feb 28, 2021
@green-coder green-coder removed this from the v0.0.2 milestone Mar 1, 2021
@green-coder green-coder removed their assignment Apr 4, 2021
@awb99
Copy link

awb99 commented Jun 5, 2021

Very interesting! I am curious to see this approach. Could be useful so the user of an app could customize the site theme dynamically. Just regenerate the css based in the config file.

@green-coder
Copy link
Owner Author

There are many ways to collect the list of the CSS classes used in a webapp:

  • By traversing the DOM tree dynamically.
  • By using a macros which collect the CSS classes statically or dynamically.
  • By explicitly providing a generated sequence of CSS classes to Girouette.

@green-coder green-coder added this to the v0.0.6 milestone Nov 24, 2021
@awb99
Copy link

awb99 commented Nov 24, 2021 via email

@green-coder green-coder removed this from the v0.0.6 milestone Nov 28, 2021
@green-coder green-coder added this to the v0.0.8 milestone Feb 22, 2022
@green-coder green-coder removed this from the v0.0.8 milestone Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflow-integration Make using Girouette practical
Projects
None yet
Development

No branches or pull requests

2 participants