fix color loading when dark mode

This commit is contained in:
2025-08-07 14:01:04 +03:00
parent 1727bb6779
commit 45178a770c
5 changed files with 68 additions and 50 deletions

View File

@@ -8,7 +8,7 @@
<div class="flex flex-col">
<div class="flex items-center gap-x-3 text-lg font-semibold leading-7 mb-2 tracking-tight">
{% if svg %}
<svg class="h-full w-6 object-cover flex-none text-indigo-400" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
<svg class="h-full w-6 object-cover flex-none text-gray-500" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
{% if svg %}
<path fill-rule="evenodd" d="{{ svg }}" clip-rule="evenodd" />
{% endif %}

View File

@@ -2,7 +2,7 @@
{% set description = description | default(value="") %}
<div class="flex gap-x-4 rounded-xl bg-white/5 p-6 ring-1 ring-inset ring-white/10">
<div class="flex gap-x-4 rounded-xl bg-black/5 p-6 ring-1 ring-inset ring-white/10">
<div class="text-base leading-7">
<h4 class="font-semibold">{{ title }}</h4>
<p class="mt-2 text-lg">{{ description }}