Limited styling options #228
Replies: 3 comments 5 replies
-
Yes, I definitely long for a tailwindcss implementation as well, just haven't found the time for that. Also, subcomponents seem to make sense to me too! It might help with feature requests like this one too: #196 |
Beta Was this translation helpful? Give feedback.
-
I just want to mention that you should of course be able to access DOM children of components with classes via the usual CSS syntax like |
Beta Was this translation helpful? Give feedback.
-
@dargmuesli As there are probably more things, can we continue the discussion here instead of the issue (#229)? So there are probably these things:
Reg. "1." - I think we could change the structure (which we prob. will have to if we choose to use a component library) or we try to get "closest to original". This would definitely help with compatibility issues. Reg. "2." - I think the easiest way would be to add a "styles" (?) config prop where you can update the styles of the elements of the cookie control? Do you agree/have other ideas? Reg. "3." - If we decide to not use a third-party I think we only have to keep in mind that iOS has some caveats + we should not use |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am thinking about using this module in production but for this to work for me IMO the options for styling are very limited.
Please correct me if I'm wrong but aren't the only options to change the styling:
But then the questions comes to me, why don't all the children in the component have a class. ATM it is really difficult to style certain elements in the component tree. image.
Would probably also be nice to be able to add custom classes. This would be useful f.e. when using tailwindcss.
FYI: I am open to create a PR, I just want to make sure that I am on the same page as everyone else :)
Beta Was this translation helpful? Give feedback.
All reactions