diff --git a/config/development/config.json b/config/development/config.json index d83444fd..e763bf10 100644 --- a/config/development/config.json +++ b/config/development/config.json @@ -2,6 +2,7 @@ "theme": ["gaunt-site", "styleguide", "base-theme"], "ignoreFiles": [], "params": { + "styleguideSection": "styleguide", "baseTheme": { "themes": ["gaunt-site", "styleguide", "base-theme"] } diff --git a/themes/base-theme b/themes/base-theme index 7d03dd88..022e0c35 160000 --- a/themes/base-theme +++ b/themes/base-theme @@ -1 +1 @@ -Subproject commit 7d03dd889ca91c2df559bf6499c9b362fca6d1f4 +Subproject commit 022e0c35dd5560eb750490a8624b0ae05a17ba09 diff --git a/themes/gaunt-site/assets/css/variables/always.css b/themes/gaunt-site/assets/css/variables/always.css deleted file mode 100644 index 31056b98..00000000 --- a/themes/gaunt-site/assets/css/variables/always.css +++ /dev/null @@ -1 +0,0 @@ -/* Intentionally empty. */ diff --git a/themes/gaunt-site/assets/css/variables/colors.css b/themes/gaunt-site/assets/css/variables/colors.css new file mode 100644 index 00000000..2eddd477 --- /dev/null +++ b/themes/gaunt-site/assets/css/variables/colors.css @@ -0,0 +1,24 @@ +:root { + --t-base: #f8f6f4; + --t-opposite: #373150; + --t-base-2: #373150; + --t-opposite-2: #f8f6f4; + --t-accent-1: #ff7867; + --t-accent-2: #84d2ee; + --t-accent-3: #fed9a1; + --t-accent-4: #3c55a5; + --print-color: #121212; +} + +@media (prefers-color-scheme: dark) { + :root { + --t-base: #072448; + --t-opposite: #f8f6f4; + --t-base-2: #121212; + --t-opposite-2: #f8f6f4; + --t-accent-1: #54d2d2; + --t-accent-2: #ffcb00; + --t-accent-3: #f8aa4b; + --t-accent-4: #ff6150; + } +} diff --git a/themes/gaunt-site/assets/css/variables/dimensions.css b/themes/gaunt-site/assets/css/variables/dimensions.css new file mode 100644 index 00000000..3766ef23 --- /dev/null +++ b/themes/gaunt-site/assets/css/variables/dimensions.css @@ -0,0 +1,4 @@ +:root { + --padding: 12px; + --page-max-width: 800px; +} diff --git a/themes/gaunt-site/assets/css/variables/fonts.css b/themes/gaunt-site/assets/css/variables/fonts.css new file mode 100644 index 00000000..03787be9 --- /dev/null +++ b/themes/gaunt-site/assets/css/variables/fonts.css @@ -0,0 +1,6 @@ +:root { + --body-font: -apple-system, blinkmacsystemfont, "avenir next", avenir, + "segoe ui", "helvetica neue", helvetica, cantarell, ubuntu, roboto, noto, + arial, sans-serif; + --title-font: "Montserrat", var(--body-font); +} diff --git a/themes/gaunt.dev/layouts/rss.xml b/themes/gaunt.dev/layouts/rss.xml index f7e9dcb3..64d0b91e 100644 --- a/themes/gaunt.dev/layouts/rss.xml +++ b/themes/gaunt.dev/layouts/rss.xml @@ -18,9 +18,6 @@ {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}} @@ -31,7 +28,6 @@ {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Summary | html }} diff --git a/themes/styleguide b/themes/styleguide index e0e24686..d6e5cc29 160000 --- a/themes/styleguide +++ b/themes/styleguide @@ -1 +1 @@ -Subproject commit e0e24686524ce773781a080a3d31469060ba0e1b +Subproject commit d6e5cc29b9af1907b37a72d809a3f7d7bbae0360