-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
43 additions
and
944 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
My personal website and blog | ||
|
||
Built with [Svelte](https://github.com/sveltejs/svelte)/[Sapper](https://github.com/sveltejs/sapper) and [HackCSS](https://github.com/egoist/hack) and deployed with Netlify. | ||
Built with [Svelte](https://github.com/sveltejs/svelte)/[Sapper](https://github.com/sveltejs/sapper), styled with [HackCSS](https://github.com/egoist/hack), and deployed with Netlify. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* https://davidwalsh.name/prefers-color-scheme */ | ||
|
||
html { | ||
content: ""; /* (ab)using the content property */ | ||
} | ||
|
||
/* Light mode */ | ||
@media (prefers-color-scheme: light) { | ||
html { | ||
content: "light"; /* (ab)using the content property */ | ||
} | ||
} | ||
|
||
/* Dark mode */ | ||
@media (prefers-color-scheme: dark) { | ||
html { | ||
content: "dark"; /* (ab)using the content property */ | ||
} | ||
} |
Oops, something went wrong.