[RFC]: Landtamic v2 Ideas #21
Closed
lokmanm
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings!
We're in the planning stage for Landtamic v2, and we have a bunch of ideas for improvements, but we'd love to incorporate some suggestions from our community and especially from our frequent (or future 😉 ) users.
We're sharing our current thoughts and reasoning below, but remember, nothing's set in stone here - your feedback is more than welcome.
Blade Components
While we have Antlers components, they can't match the flexibility of Blade. Typically, you'd have to perform several maneuvers to achieve a certain level of customization. We used Blade components in one of our Starter Kits, as well as in our own projects. It simplifies working with Tailwind CSS and its variants. Here's a Button component sample from our Formatic Starter Kit.
This allows us to use the Button as an
html
tag in Antlers templates, simplifying formatting and making usage with Alpine easier.Coupling these components with Tailwind Merge makes for an easy and intuitive experience, building and re-using components. Components will be available as a UI Kit in Landtamic’s
components
directory, you will be able to extend blocks easily.CSS Variables for Theming
By opting to use CSS Variables for theming, theme changing gets simpler — a single file is all you need. This also paves the way for introducing a Dark Theme, where we only add a
.dark
class:Inspired by our Formatic Starter Kit, this example showcases how easy it is to introduce new themes by altering these variables. Here is the themes folder for if you are curious about how it works.
In Conclusion
These are just initial thoughts. We’re eager to hear from you.
Are these modifications unnecessary?
Should we leave it as is? Or do you have fresh ideas?
If you have any new ideas for blocks, or refactors that we can do as an added value drop them in the comments.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions