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:
Diffstat (limited to 'README.md')
-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)