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

[WIP] Use reagent components as parent & other small fixes #27

Draft
wants to merge 3 commits into
base: ornament-next
Choose a base branch
from

Conversation

oxalorg
Copy link
Member

@oxalorg oxalorg commented Aug 3, 2024

  • Allows using reagent components as parents
  • README minor fixes
  • Preserve user options provided to set-tokens, and make pretty-print configurable for generated css

@oxalorg oxalorg force-pushed the ox/donavan-shelf-changes branch from 5d05bca to 1d762ae Compare August 3, 2024 16:24
@oxalorg oxalorg changed the base branch from main to ornament-next August 3, 2024 17:00
@oxalorg oxalorg force-pushed the ox/donavan-shelf-changes branch from 1d762ae to 320999c Compare August 3, 2024 17:08
@@ -46,6 +46,11 @@
props-registry
(atom {})))

#?(:clj
(defonce ^{:doc "Store of passed in custom options/tokens"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this about?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would store all the tokens set from different places and show the last overriden tokens. This means options like pretty-print? can then be accessed later in the ornament code.

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

Successfully merging this pull request may close these issues.

3 participants