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

How do I style? #120

Open
easierbycode opened this issue Jul 24, 2019 · 1 comment
Open

How do I style? #120

easierbycode opened this issue Jul 24, 2019 · 1 comment

Comments

@easierbycode
Copy link

How do we apply external styles? I can override the <object> style, but not sure how to override anything in shadow dom using rules or variables.

example:
https://jsfiddle.net/easierbycode/4ps10hx2

@chemerisuk
Copy link
Owner

@easierbycode use object.contentDocument to get ref on the document element. On the other case it's probably better in future to allow style modification with custom css variables... I need to investigate possible use cases for presentation styling.

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

No branches or pull requests

2 participants