Repository navigation
Rollup with style sheet #4
Unanswered
sensor-freak
asked this question in
Q&A
Replies: 2 comments 2 replies
|
Hello @sensor-freak. <svg width="2560" height="1080" viewBox="0 0 2560 1080" xmlns="http://www.w3.org/2000/svg">
<style>
text {
font-size: 24px;
}
</style>
<text x="100" y="100">Hello</text>
</svg>I do like the idea of style files. I'll try to implement it. It might take some time (2-3 days), because I'm a little busy ATM. |
1 reply
|
Hello again @sensor-freak. Feedback is greatly appreciated :D |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I tried to use this template, but with limited success:
I couldn't find a place where to put the CSS styles in. Adding my own styles to
style.cssdid work. The styles where not applied to the elements in the#shadow-rootnode. The cause for this might be the encapsulation borders in the DOM, or something like this.Also, I wanted to extend the template to copy the style sheet file to the build directory, but didn't find a solution for this. Extending
rollup.config.dev.jswas not successfull :-(Can you (or anyone else) help with this?
Kind regards
All reactions