-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add sass support and fonts #33
Conversation
eleventy.config.js
Outdated
eleventyConfig.addPassthroughCopy({ | ||
"src/assets": "assets" | ||
}); | ||
eleventyConfig.addPassthroughCopy({ "src/assets": "assets" }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this for?
|
||
/** Colours **/ | ||
|
||
--blue: hsla(194, 60%, 59%, 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefix colours with --color-
for consistency. It's helpful for grouping variables.
src/assets/styles/base/_fonts.css
Outdated
@@ -3,295 +3,295 @@ | |||
font-family: 'Raleway'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url('../fonts/raleway-v34-latin-regular.woff2') format('woff2'); | |||
src: url('/assets/fonts/raleway-v34-latin-regular.woff2') format('woff2'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to use a relative URL; if this isn't working we should figure out why.
I'm noticing the linting CI job is failing. Can you look into that as well? |
No description provided.