-
Notifications
You must be signed in to change notification settings - Fork 277
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
[onefetch.dev] switch to dark theme #1297
Conversation
"check:svelte": "svelte-check", | ||
"check:prettier": "prettier --check **/*.{ts,js,svelte,css,html,json}", | ||
"check:lint": "eslint 'src/**/*.{ts,js,svelte}'" | ||
"check:lint": "eslint src/**/*.{ts,js,svelte}" |
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 forget exactly why this nuance is important, but quoting the glob ensures that eslint
receives it as a string instead of the glob getting expanded to several arguments IIRC
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.
With the quotes, i was getting the following error: ""No files matching the pattern "'src/**/*.{ts,js,svelte}'" were found.""
@@ -1,3 +1,4 @@ | |||
/* $color-text: #dedce5; */ |
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.
Was this file manually edited, or did you grab one of the other stylesheets?
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 overrode it with https://github.com/oxalorg/sakura/blob/master/css/sakura-dark.css
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 renamed the css file to sakura-dark.css
Co-authored-by: Spenser Black <[email protected]>
Switching to a dark theme to make the site easier on the eyes,