Multi-level LESS/CSS customizations #169
fynnfeldpausch
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Padding is a tough call because it is not just about styles, in inputs it changes programmatically to accommodate icons, cleaners etc. As for radius — maybe it can be solved with I will show it on today's session. Do you have a design you want to achieve that you can show publicly? Or maybe in DM? I'm skeptical about making a big architecture on customization at this point. It would be great to see some significantly different design that somebody wants to have and see what's missing to get there. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
I am thinking a lot lately about the customization features that Taiga UI has to offer. There is already a lot of stuff going on and a couple of feature are currently being developed. I, too, am a big believer in CSS custom properties and their power. I really like that you are going all in on them and try to get rid of LESS variables all together.
Unfortunately, the level of customization that is offered by the current set of variables is not enough for our use case (and probably never will be even if you add more). Let me give some examples to make things clearer:
I was asking myself you ever considered going for a multi-level customization approach that combines the two. The idea would be to have a set of CSS properties but also have an even greater set of LESS variables. Those would not be touched by most of the users but offer an additional level of flexibility. For the examples given above, the LESS variables (all in a single file) would look like this:
Let me know what you think of this.
Beta Was this translation helpful? Give feedback.
All reactions