Skip to content

Commit 958385d

Browse files
committed
refactor: remove light/dark switch
1 parent 3876d11 commit 958385d

File tree

5 files changed

+1
-61
lines changed

5 files changed

+1
-61
lines changed

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ display_author = true
3535
favicon = "favicon.ico"
3636
image = "icon.png"
3737

38-
default_theme = "light"
38+
default_theme = "dark"
3939
list_pages = false
4040
twitter_card = true
4141

static/click.ogg

-1.03 KB
Binary file not shown.

static/css/style.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
color: var(--accent);
2121
}
2222

23-
.theme-transition {
24-
transition: color 0.3s ease, background-color 0.3s ease;
25-
}
26-
2723
.tags-data {
2824
display: flex;
2925
flex-direction: column;

static/js/script.js

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

templates/header.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,5 @@
1212
{{ nav_item[language_key] }}
1313
</a>
1414
{% endfor %}
15-
<div>
16-
<input type="checkbox" id="theme-toggle" style="display: none;">
17-
<label for="theme-toggle" id="theme-toggle-label"><svg id="theme-icon" class="icons"><use href="{{ get_url(path='/icons.svg#lightMode', trailing_slash=false) | safe }}"></use></svg></label>
18-
<audio id="theme-sound">
19-
<source src="{{ get_url(path='click.ogg', trailing_slash=false) | safe }}" type="audio/ogg">
20-
</audio>
21-
</div>
2215
</nav>
2316
{% endif %}

0 commit comments

Comments
 (0)