Skip to content
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

Exclude default css (option) #68

Closed
KennethJoris opened this issue Feb 12, 2019 · 3 comments
Closed

Exclude default css (option) #68

KennethJoris opened this issue Feb 12, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@KennethJoris
Copy link

Is there an option to exclude the default css? (style tag rendered in the document head).
Would be nice to do this by setting data-style-prefix on the script tag, or by setting an option in the config file?

@jaller94
Copy link
Contributor

Are you asking for a way to restyle the interface or to avoid side effects on other parts of the embedding website?
Would the usage of Shadow DOM solve your problem?
CSS inside a Shadow DOM node not affect styles in any parent node. It localizes the rules.

@KennethJoris
Copy link
Author

A way to restyle the interface.

I don't mind keeping the classes, but it would be nice to exclude the css that gets added in the document head. It would be nice if this was an option in the config file:

css: false

@jaller94 jaller94 added the enhancement New feature or request label Aug 30, 2019
@jmartsch
Copy link
Contributor

@Genenenenaam Can you please close this issue? It is resolved now. There is an option to use klaro without the default styling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants