update text color

This commit is contained in:
Kentai Radiquum 2024-05-19 16:51:14 +05:00
parent 2d0a1adf42
commit 0b09f1b50f
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 11 additions and 7 deletions

View file

@ -36,7 +36,7 @@ window.onload = function () {
const template = `
<img class="rounded-t-lg object-cover h-[192px] w-full" src="${cards[index].image}" alt="" />
<div class="p-5">
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">${cards[index].name}
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-800 dark:text-white">${cards[index].name}
</h5>
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">${cards[index].description}
</p>

View file

@ -1653,6 +1653,11 @@ input:checked + .toggle-bg {
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-gray-600 {
--tw-text-opacity: 1;
color: rgb(75 85 99 / var(--tw-text-opacity));
}
.opacity-0 {
opacity: 0;
}