mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 13:39:55 +03:00
Color pallettes and hide header mode
This commit is contained in:
parent
59698ac280
commit
6c716b49dd
3 changed files with 35 additions and 0 deletions
15
assets/css/colors/eink.css
Normal file
15
assets/css/colors/eink.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
:root {
|
||||
--content-primary: rgb(0, 0, 0);
|
||||
--content-secondary: rgb(0, 0, 0);
|
||||
--background: rgb(255, 255, 255);
|
||||
--code-background: rgb(255, 255, 255);
|
||||
--code-border: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--content-primary: rgb(255, 255, 255);
|
||||
--content-secondary: rgb(255, 255, 255);
|
||||
--background: rgb(0, 0, 0);
|
||||
--code-background: rgb(0, 0, 0);
|
||||
--code-border: rgb(255, 255, 255);
|
||||
}
|
15
assets/css/colors/gruvebox.css
Normal file
15
assets/css/colors/gruvebox.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
:root {
|
||||
--content-primary: rgb(60, 56, 54);
|
||||
--content-secondary: rgb(148, 133, 112);
|
||||
--background: rgb(251, 241, 199);
|
||||
--code-background: rgb(241, 231, 189);
|
||||
--code-border: rgb(178, 163, 142);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--content-primary: rgb(235, 219, 178);
|
||||
--content-secondary: rgb(132, 122, 114);
|
||||
--background: rgb(40, 40, 40);
|
||||
--code-background: rgb(50, 50, 50);
|
||||
--code-border: rgb(112, 102, 94);
|
||||
}
|
|
@ -1,6 +1,9 @@
|
|||
{{/* Header */}}
|
||||
|
||||
<div class="header">
|
||||
|
||||
{{ if or (not (.Param "hideHeader")) .IsHome }}
|
||||
|
||||
<h1 class="header-title">{{ site.Title }}</h1>
|
||||
|
||||
<div class="flex">
|
||||
|
@ -17,4 +20,6 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue