From 7558874bcdc985bafb44043b72e24ab73c622be4 Mon Sep 17 00:00:00 2001 From: goodroot <9484709+goodroot@users.noreply.github.com> Date: Fri, 2 Jul 2021 22:11:41 -0700 Subject: stuart --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3ecfbc..283db5f 100644 --- a/README.md +++ b/README.md @@ -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) -- cgit v1.2.3