modali icon indicating copy to clipboard operation
modali copied to clipboard

separate display from logic

Open wmertens opened this issue 5 years ago • 1 comments

I like the approach here and I appreciate all the aria things, but I think the current styling approach is a bit heavy-handed.

How about separating the styling into the absolutely necessary for modals, and the optional for making it look nice? Then the necessary bits can be done with inline styles, which work everywhere, and the optional bits can be in a css file that the user has to include themselves.

An additional approach would be to allow passing components that replace the ones with optional styling. That way css-in-js can be used as well.

wmertens avatar Jul 18 '19 21:07 wmertens

I agree with this. It should allow for inline styling!

King-Success avatar Feb 21 '20 10:02 King-Success