-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
styling opt out? #80
Comments
Hi @arnemileswinter, It is recommended that Angular components be encapsulated and that ViewEncapsulation.Emulated is used as the default.
If you have any other ideas that don't involve @input binding, I'd like to keep the number of attributes in the HTML for certain components to a minimum. |
Hello! Thanks for the lib, it works like a charm.
I'm trying to integrate the sketch-picker into a tailwind css project so the styling is so much different and it should support dark and light theme.
So what I did was fight against the styles that are already assigned styles like this:
but that's obviously working against the library. so i am wondering if maybe one could somehow opt-out of the styling you provided? I am thinking perhaps a css class name that can be overwritten via an input, and the scss only applies to components of that class?
Something like:
And one could overwrite like this
and then have their custom sketch-picker-component.myTheme css rules
This should obviously not apply to the color-swatches and widgets, those should stay default. But rather the inputs and css-tables and such.
Then again, I am fairly new to angular and perhaps it is somehow possible to disable imported styles?
Let me know what you think!
The text was updated successfully, but these errors were encountered: