avo-hq / avo

Build Ruby on Rails apps 10x faster
https://avohq.io
Other
1.43k stars 223 forks source link

Theming #631

Open adrianthedev opened 2 years ago

adrianthedev commented 2 years ago

[!IMPORTANT]
This feature is on hold until TailwindCSS 4.0 lands in the fall.

This will probably land as a Pro or Advanced feature considering the high level of complexity.

Discussed in https://github.com/avo-hq/avo/discussions/578

### Tasks
- [ ] https://github.com/avo-hq/avo/issues/1191

Must have's

Nice to have

Things to consider

Resources

github-actions[bot] commented 2 years ago

This issue has been marked as stale because there was no activity for the last 60 days

github-actions[bot] commented 2 years ago

This issue has been marked as stale because there was no activity for the last 60 days

brandondrew commented 1 year ago

it's getting marked as stale even though its exempt 😅

MrJoy commented 6 months ago

We've discussed this before, but I'll reiterate here to avoid letting things get forgotten: It would be useful to have parameters configurable per component type, as well. E.G. "Primary button", "secondary button", "primary background", "sidebar background", etc.

I've managed to work around this with some fairly bonkers CSS selectors -- and I've already seen my assumptions break in a couple places as a result of fighting the tooling.

Handling my use-case may be as simple as adding sufficiently distinctive class names I can key to, and avoiding the use of !important so I can more readily override things. Then you can have the general configurability you specify above, while allowing the nitpicky like me to do what we want in a relatively durable way.