diff options
author | goodroot <9484709+goodroot@users.noreply.github.com> | 2021-07-03 08:11:41 +0300 |
---|---|---|
committer | goodroot <9484709+goodroot@users.noreply.github.com> | 2021-07-03 08:11:41 +0300 |
commit | 7558874bcdc985bafb44043b72e24ab73c622be4 (patch) | |
tree | d70780a8e6c1b59cb731995f82521e4af93ac605 | |
parent | ac084d95625957a432cfb3f70e47f10bd83cbe96 (diff) |
stuart
-rw-r--r-- | README.md | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -1,8 +1,8 @@ # Hugo.io - Classic Theme -Classic is forked from the **XMin** theme, written by [Yihui Xie](https://yihui.name). +Classic is a slick of the **XMin** theme, written by [Yihui Xie](https://yihui.name). -It provides some simplifications, `highlight.js` for syntax highlighting, emoji support, and slick fonts. +Provides `highlight.js` for syntax highlighting, emoji support, Inter and optional **_darkmode_**. [**View live demo**](https://goodroot.ca) @@ -66,6 +66,24 @@ header a { Change `color:` to a nice matching colour. +### Darkmode + +1. Open `static/css/style.css` + +2. Edit the following attributes to match light/dark + +```css +/* darkmode */ +@media (prefers-color-scheme: dark) { + ... +} + +/* lightmode */ +@media (prefers-color-scheme: light) { + ... +} +``` + #### Screenshot ![Screenshot of Hugo Classic](/images/screenshot.png) |