Skip to content

Commit 5976842

Browse files
committed
update theme
1 parent f7da753 commit 5976842

File tree

3 files changed

+31
-22
lines changed

3 files changed

+31
-22
lines changed

_sass/minima/_base.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,17 +257,19 @@ table {
257257
}
258258

259259
#footnotediv {
260-
background-color: lighten($background-color, 1%);
261-
border: 1px solid darken($background-color, 1%);
262-
box-shadow: 0 0 5px rgba(0,0,0,0.3);
260+
background-color: var(--bg-card);
261+
border: 1px solid var(--border-color);
262+
box-shadow: 0 2px 8px var(--shadow);
263263
padding: 10px;
264264
font-size: 14px;
265265
line-height: 1.4;
266266
border-radius: 5px;
267267
z-index: 1000;
268+
color: var(--text-primary);
268269
}
269270

270271
#footnotediv p {
271-
margin: 0;
272-
padding: 0;
272+
margin: 0 !important;
273+
padding: 0 !important;
274+
margin-bottom: 0 !important;
273275
}

_sass/minima/_layout.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@
1515
letter-spacing: -1px;
1616
margin-bottom: 0;
1717
float: left;
18-
color: inherit;
18+
color: var(--text-primary) !important;
19+
text-decoration: none;
20+
21+
&:hover,
22+
&:visited {
23+
color: var(--text-primary) !important;
24+
text-decoration: none;
25+
}
1926
}
2027

2128
.site-nav {

_sass/theme-clean.scss

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,29 @@
2727
// =============================================================================
2828

2929
// Warm Light Theme (Default)
30-
// Warm, inviting palette with terracotta accents
30+
// Solarized Light inspired - warm, high contrast
3131
[data-theme="warm-light"],
3232
:root {
33-
--bg-primary: #fffbf4; // Warm off-white background
34-
--bg-card: #fff8ef; // Slightly darker for cards/sections
35-
--text-primary: #4a453f; // Soft dark grey for readability
36-
--text-secondary: #6b7b81; // Muted grey for secondary text
37-
--border-color: #e8cfb8; // Warm beige border
38-
--border-light: #f0dcc8; // Lighter variant for subtle borders
39-
--accent: #c85a3c; // Terracotta accent for links/highlights
40-
--shadow: rgba(200, 90, 60, 0.06);
33+
--bg-primary: #fdf6e3; // Solarized light base3
34+
--bg-card: #eee8d5; // Solarized light base2
35+
--text-primary: #586e75; // Solarized base01 (darker)
36+
--text-secondary: #657b83; // Solarized base00
37+
--border-color: #d9cdb3; // Between base2 and base3
38+
--border-light: #e9ddc3; // Lighter variant
39+
--accent: #b5632d; // Medium warm orange
40+
--shadow: rgba(0, 0, 0, 0.04);
4141
}
4242

4343
// Dark Theme
44-
// Solarized dark blue palette with elegant blue accents
44+
// Solarized Dark inspired
4545
[data-theme="dark"] {
46-
--bg-primary: #002b36; // Deep blue-black background
47-
--bg-card: #073642; // Lighter blue for cards
48-
--text-primary: #93a1a1; // Light grey for primary text
49-
--text-secondary: #839496; // Muted grey for secondary text
50-
--border-color: #0d4552; // Subtle blue-grey border
46+
--bg-primary: #002b36; // Solarized dark base03
47+
--bg-card: #073642; // Solarized dark base02
48+
--text-primary: #839496; // Solarized base0
49+
--text-secondary: #657b83; // Solarized base00
50+
--border-color: #0d4552; // Between base02 and base03
5151
--border-light: #073642; // Matches card background
52-
--accent: #6ba5db; // Soft periwinkle blue for links
52+
--accent: #5c9db8; // Medium teal-blue
5353
--shadow: rgba(0, 0, 0, 0.2);
5454
}
5555

0 commit comments

Comments
 (0)