Repository navigation
How to import .css file from node module into my custom .css file? #1275
Answered
by
CAYdenberg
martinswan
asked this question in
Q&A
|
I have a custom stylesheet, say How can import this stylesheet into my custom stylesheet? So far my various incantations of importing that file path have not worked. Thanks! |
Answered by
CAYdenberg
Apr 22, 2024
Replies: 1 comment 4 replies
|
I tried this, and it looks to me like Observable can't (yet) handle serving font files as static assets. It correctly resolves all the paths, but it doesn't yet know what to do with the actual font files (eot and woff). Best bet for now is to get the font from a CDN. |
4 replies
Answer selected by
martinswan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried this, and it looks to me like Observable can't (yet) handle serving font files as static assets. It correctly resolves all the paths, but it doesn't yet know what to do with the actual font files (eot and woff).
Best bet for now is to get the font from a CDN.