Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/goodroot/hugo-classic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodroot <9484709+goodroot@users.noreply.github.com>2021-07-03 08:11:41 +0300
committergoodroot <9484709+goodroot@users.noreply.github.com>2021-07-03 08:11:41 +0300
commit7558874bcdc985bafb44043b72e24ab73c622be4 (patch)
treed70780a8e6c1b59cb731995f82521e4af93ac605
parentac084d95625957a432cfb3f70e47f10bd83cbe96 (diff)
stuart
-rw-r--r--README.md22
1 files 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)