From ba8b3cd293081649f23fdc4485b7544902a8b2b7 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 27 Mar 2023 17:32:52 +0200 Subject: feat: Change chroma theme --- Makefile | 4 +--- config.toml | 2 ++ themes/flamingo/assets/scss/_fonts.scss | 9 +-------- themes/flamingo/layouts/_default/baseof.html | 8 +------- 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index b9fdd0d..a5553fc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ - - all: openring - hugo + hugo --minify serve: openring hugo serve diff --git a/config.toml b/config.toml index bf38398..48c278a 100644 --- a/config.toml +++ b/config.toml @@ -10,6 +10,8 @@ staticDir = ['static'] [markup] defaultMarkdownHandler = "goldmark" + [markup.highlight] + style='abap' [markup.goldmark] [markup.goldmark.renderer] unsafe = true diff --git a/themes/flamingo/assets/scss/_fonts.scss b/themes/flamingo/assets/scss/_fonts.scss index 586ad0a..5add784 100644 --- a/themes/flamingo/assets/scss/_fonts.scss +++ b/themes/flamingo/assets/scss/_fonts.scss @@ -1,10 +1,6 @@ -* { - box-sizing: border-box; - font-family: 'DejaVu Sans'; - -} body { margin: 0; + font-family: 'DejaVu Sans'; } h1, h2, h3, h4 { font-weight: 400; @@ -14,9 +10,6 @@ code[class*="language-"], nav, .blog-list { font-weight: 400; font-size: 1.025rem; } -code { - font-family: "DejaVu Sans Mono"; -} tags { font-family: "DejaVu Sans Mono"; diff --git a/themes/flamingo/layouts/_default/baseof.html b/themes/flamingo/layouts/_default/baseof.html index 0be16e5..d253d72 100644 --- a/themes/flamingo/layouts/_default/baseof.html +++ b/themes/flamingo/layouts/_default/baseof.html @@ -4,17 +4,11 @@ - {{ with .Site.Params.favicon }}{{ end }} - {{ .Title }} {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.author }}{{ end }} - - {{ with resources.Get "scss/main.scss" | toCSS | minify }} - - {{ end }} - + {{ with resources.Get "scss/main.scss" | toCSS | minify }}{{ end }} {{ partial "meta" . }} -- cgit v1.2.3