Skip to content

Commit 204ab97

Browse files
authored
fix: header dark mode colors (#1492)
1 parent 2538943 commit 204ab97

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/unfold/static/unfold/css/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/unfold/templates/unfold/helpers/navigation_header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{% endif %}
1515

1616
{% if site_dropdown %}
17-
<span class="material-symbols-outlined ml-auto select-none">
17+
<span class="material-symbols-outlined ml-auto select-none text-font-default-light dark:text-font-default-dark">
1818
unfold_more
1919
</span>
2020
{% endif %}

src/unfold/templates/unfold/helpers/site_dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% if site_dropdown %}
44
<div class="absolute bg-white border border-base-200 flex flex-col left-3 py-1 rounded-default shadow-lg top-[73px] w-[264px] z-50 dark:bg-base-800 dark:border-base-700" x-cloak x-show="openDropdown" x-transition x-on:click.outside="openDropdown = false">
55
{% for item in site_dropdown %}
6-
<a href="{{ item.link }}" class="flex flex-row items-center gap-3 max-h-[30px] mx-1 px-2 py-2 rounded-default hover:bg-base-100 hover:text-base-700 dark:hover:bg-base-700 dark:hover:text-base-200">
6+
<a href="{{ item.link }}" class="flex flex-row items-center gap-3 max-h-[30px] mx-1 px-2 py-2 rounded-default text-font-default-light dark:text-font-default-dark hover:bg-base-100 hover:text-font-important-light dark:hover:bg-base-700 dark:hover:text-font-important-dark">
77
{% if item.icon %}
88
<span class="material-symbols-outlined">
99
{{ item.icon }}

0 commit comments

Comments
 (0)