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

Load CSS files for more complex style customizations #36

Open
weber-d opened this issue Jun 26, 2019 · 0 comments
Open

Load CSS files for more complex style customizations #36

weber-d opened this issue Jun 26, 2019 · 0 comments

Comments

@weber-d
Copy link

weber-d commented Jun 26, 2019

The example for css extensions show embedded css in the payload.css property. This is okay for an simple POC. But we want to apply more complex css customizations, dynamically build with sass. So a css file in the filesystem is required to do this in a clean way.

So my question is: How can I load and apply a css file?

Already tried, not working:

"payload": {
      "url": "{extensionPath}/samples/test.css"
 }
"payload": {
      "css": "@import url('{extensionPath}/samples/test.css');"
 }
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

1 participant