🐛 fixes dark mode issue with alert

This commit is contained in:
Greg Newman
2023-06-30 09:03:33 -04:00
parent a31ca8f49c
commit 6aefcdbef0
2 changed files with 23 additions and 1 deletions

View File

@@ -2757,6 +2757,28 @@ input[type=file] {
background-color: rgb(49 74 87 / var(--tw-bg-opacity));
}
.dark .dark\:bg-yellow-300 {
--tw-bg-opacity: 1;
background-color: rgb(253 224 71 / var(--tw-bg-opacity));
}
.dark .dark\:bg-yellow-300\/70 {
background-color: rgb(253 224 71 / 0.7);
}
.dark .dark\:bg-yellow-300\/50 {
background-color: rgb(253 224 71 / 0.5);
}
.dark .dark\:bg-yellow-200 {
--tw-bg-opacity: 1;
background-color: rgb(254 240 138 / var(--tw-bg-opacity));
}
.dark .dark\:bg-yellow-200\/80 {
background-color: rgb(254 240 138 / 0.8);
}
.dark .dark\:font-medium {
font-weight: 500;
}

View File

@@ -7,7 +7,7 @@
{% if latest_library_version %}
<a href="{% url 'library-detail' slug=latest_library_version.library.slug %}" class="py-1 px-2 text-white rounded bg-slate">
{% else %}
<a href="{% url 'version-detail' latest_version.slug %}" class="font-semibold underline text-charcoal">
<a href="{% url 'version-detail' latest_version.slug %}" class="font-semibold underline dark:text-white text-charcoal">
{% endif %}
{{ latest_version.display_name }}</a>
</p>