Is there a way to have SASS imports relative to the current file? #2764
Answered
by
colorninja
colorninja
asked this question in
Q&A
-
If I were to import a font I need to place it in the Example:
// scss/typography/_index.scss
@font-face {
font-family: 'Inter';
src: url(InterVariable.woff2) format('woff2');
font-weight: 1 999;
font-style: normal;
font-display: swap;
} |
Beta Was this translation helpful? Give feedback.
Answered by
colorninja
Jul 3, 2024
Replies: 1 comment
-
This is actually supported! However, you must use Cool - and I like it's explicit! I suppose this can be closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
colorninja
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is actually supported!
However, you must use
./InterVariable.woff2
instead of justInterVariable.woff2
.Cool - and I like it's explicit! I suppose this can be closed.