Skip to content

Commit b5862f7

Browse files
committed
switch themes
1 parent f67c8c3 commit b5862f7

File tree

8 files changed

+189
-79
lines changed

8 files changed

+189
-79
lines changed

assets/css/custom.css

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
:root {
2+
--color-black: #0a0a0a;
3+
--color-gray-1: #1a1a1a;
4+
--color-gray-2: #1f1f1f;
5+
--color-gray-3: #292929;
6+
--color-gray-4: #2e2e2e;
7+
--color-gray-5: #454545;
8+
--color-gray-6: #878787;
9+
--color-gray-7: #8f8f8f;
10+
--color-gray-8: #7d7d7d;
11+
--color-gray-9: #a0a0a0;
12+
--color-gray-10: #ededed;
13+
--color-blue-1: #0f1b2d;
14+
--color-blue-2: #10243e;
15+
--color-blue-3: #0f3058;
16+
--color-blue-4: #0d3768;
17+
--color-blue-5: #0a4481;
18+
--color-blue-6: #0091ff;
19+
--color-blue-7: #0071f3;
20+
--color-blue-8: #0062d1;
21+
--color-blue-9: #52a9ff;
22+
--color-blue-10: #eaf6ff;
23+
--color-red-1: #2a1314;
24+
--color-red-2: #3d1719;
25+
--color-red-3: #551a1e;
26+
--color-red-4: #671e22;
27+
--color-red-5: #822025;
28+
--color-red-6: #e5484d;
29+
--color-red-7: #e5484d;
30+
--color-red-8: #da3036;
31+
--color-red-9: #ff6368;
32+
--color-red-10: #feecee;
33+
--color-amber-1: #271700;
34+
--color-amber-2: #341c00;
35+
--color-amber-3: #4a2900;
36+
--color-amber-4: #573300;
37+
--color-amber-5: #693f05;
38+
--color-amber-6: #e79d13;
39+
--color-amber-7: #ffb224;
40+
--color-amber-8: #ffa90a;
41+
--color-amber-9: #f1a10d;
42+
--color-amber-10: #fef3dd;
43+
--color-green-1: #0b2211;
44+
--color-green-2: #0f2c17;
45+
--color-green-3: #11351b;
46+
--color-green-4: #0c461c;
47+
--color-green-5: #126426;
48+
--color-green-6: #1a9338;
49+
--color-green-7: #46a758;
50+
--color-green-8: #388e4b;
51+
--color-green-9: #63c174;
52+
--color-green-10: #e5fbeb;
53+
--color-teal-1: #04201b;
54+
--color-teal-2: #062923;
55+
--color-teal-3: #083a33;
56+
--color-teal-4: #053c34;
57+
--color-teal-5: #085e53;
58+
--color-teal-6: #0c9785;
59+
--color-teal-7: #12a594;
60+
--color-teal-8: #0f8a7c;
61+
--color-teal-9: #0ac5b2;
62+
--color-teal-10: #e1faf4;
63+
--color-purple-1: #221527;
64+
--color-purple-2: #301a3a;
65+
--color-purple-3: #432155;
66+
--color-purple-4: #4e2667;
67+
--color-purple-5: #5e2d84;
68+
--color-purple-6: #8e4ec6;
69+
--color-purple-7: #8e4ec6;
70+
--color-purple-8: #773da9;
71+
--color-purple-9: #bf7af0;
72+
--color-purple-10: #f7ecfc;
73+
--color-pink-1: #27141c;
74+
--color-pink-2: #3c1827;
75+
--color-pink-3: #4f1c31;
76+
--color-pink-4: #541b33;
77+
--color-pink-5: #6c1e3f;
78+
--color-pink-6: #b21a57;
79+
--color-pink-7: #e93d82;
80+
--color-pink-8: #de2670;
81+
--color-pink-9: #f76191;
82+
--color-pink-10: #feecf4;
83+
--color-primary: var(--color-blue-9);
84+
85+
/* override archie vars */
86+
--maincolor: var(--color-primary);
87+
--darkMaincolor: var(--color-primary);
88+
--hovercolor: var(--color-primary);
89+
}
90+
91+
::selection {
92+
background-color: var(--color-blue-5);
93+
}
94+
95+
h1, h2, h3, h4, h5, h6 {
96+
color: var(--color-gray-10);
97+
}
98+
99+
a {
100+
border: none;
101+
text-decoration: underline;
102+
text-decoration-color: var(--color-primary);
103+
text-decoration-thickness: 0.24rem;
104+
text-decoration-skip-ink: none;
105+
}
106+
107+
img {
108+
border: none;
109+
}
110+
111+
table th {
112+
font-size: 1rem;
113+
}
114+
115+
section.list-item > .description {
116+
margin: 0.5rem 0;
117+
}
118+
119+
code {
120+
background-color: unset;
121+
color: var(--color-primary)
122+
}
123+
124+
pre {
125+
padding: 0.5rem 1rem;
126+
}
127+
128+
footer {
129+
border-color: var(--color-primary);
130+
}
131+
132+
hr {
133+
border-color: var(--color-primary);
134+
}
135+
136+
.logo {
137+
--size: 2.5rem;
138+
float: left;
139+
margin-right: 1rem;
140+
width: var(--size);
141+
height: var(--size);
142+
border-radius: 5px;
143+
background-size: var(--size) var(--size);
144+
background-repeat: no-repeat;
145+
filter: grayscale(100%);
146+
-webkit-filter: grayscale(100%);
147+
}
148+
149+
.logo:hover {
150+
filter: grayscale(0%);
151+
-webkit-filter: grayscale(0%);
152+
}
153+
154+
.soc {
155+
text-decoration: none;
156+
margin: 0 0.5rem;
157+
}
158+
159+
.border {
160+
margin-right: 1rem;
161+
}
162+
163+
.soc:hover {
164+
text-decoration: none;
165+
background-color: unset;
166+
color: var(--color-primary);
167+
}
168+
169+
.mermaid {
170+
display: flex;
171+
justify-content: center;
172+
}

config.toml

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
theme = "cactus"
1+
theme = "archie"
22
baseURL = "https://blog.reb.gg/"
33
languageCode = "en-us"
44
title = "rob's blog"
@@ -14,31 +14,18 @@ name = "Posts"
1414
url = "/posts"
1515
weight = 2
1616

17-
[[menu.main]]
18-
name = "Tags"
19-
url = "/tags"
20-
weight = 3
21-
2217
[params]
23-
author = "Rob Herley"
24-
colortheme = "dark"
25-
mainSectionTitle = "Recent posts"
26-
tocInline = true
27-
showReadTime = true
28-
css = ["css/custom.css"]
29-
disablecopy = true
30-
dateFormat = "2006 Jan 2"
31-
showProjectsList = true
32-
showAllPostsArchive = true
33-
showAllPostsOnHomePage = true
18+
mode="dark"
19+
customcss = ["css/custom.css"]
20+
favicon = "images/logo.png"
3421

3522
[[params.social]]
3623
name = "github"
3724
link = "https://github.com/robherley"
3825

3926
[[params.social]]
40-
name = "twitter"
41-
link = "https://twitter.com/robherley"
27+
name = "x"
28+
link = "https://x.com/robherley"
4229

4330
[[params.social]]
4431
name = "instagram"
@@ -50,16 +37,7 @@ weight = 3
5037

5138
[markup]
5239
[markup.highlight]
53-
anchorLineNos = false
54-
codeFences = true
55-
guessSyntax = false
56-
hl_Lines = ''
57-
lineAnchors = ''
58-
lineNoStart = 1
59-
lineNos = false
60-
lineNumbersInTable = true
61-
noClasses = true
62-
style = 'dracula'
40+
style = 'catppuccin-frappe'
6341
tabWidth = 4
6442

6543
[outputs]

data/projects.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

layouts/partials/extended_head.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

layouts/shortcodes/terminal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{{ $trimmed := trim .Inner "\n" }}
22
{{ $high := highlight $trimmed "bash" }}
3-
{{ replaceRE `(?P<prompt>(\w|-)+@(\w|-)+\$ )` `<span style="color:#50fa7b;user-select:none;">$prompt</span>` $high | safeHTML }}
3+
{{ replaceRE `(?P<prompt>(\w|-)+@(\w|-)+\$ )` `<span style="color:#81c8be;user-select:none;">$prompt</span>` $high | safeHTML }}

script/server

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
#!/usr/bin/env bash
2-
hugo server -D
2+
3+
if ! [ -x "$(command -v hugo)" ]; then
4+
echo 'Error: hugo is not installed.' >&2
5+
echo 'https://gohugo.io/installation/' >&2
6+
exit 1
7+
fi
8+
9+
hugo server -D

static/css/custom.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

themes/archie

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit d8819d5eee8b0817f41bda3a9dc2100cd6b2b0bd

0 commit comments

Comments
 (0)