Added color transitions for dark/light.

This commit is contained in:
Benjamin A. Shelton 2026-06-26 12:47:59 -06:00
commit 78c5c759af
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -55,10 +55,7 @@
}
body {
@apply dark:bg-gray-900;
}
body {
@apply duration-700 transition-colors;
@apply dark:bg-gray-900;
}
@ -118,7 +115,7 @@ footer {
}
#notes-list {
@apply mx-auto lg:max-w-7xl xl:max-w-7xl 2xl:max-w-7xl;
@apply mx-auto lg:max-w-7xl xl:max-w-7xl 2xl:max-w-7xl transition-colors duration-500;
}
#notes-list > ul {
@ -138,7 +135,7 @@ footer {
}
#notes-list ul > li > hgroup {
@apply grow p-4;
@apply grow p-4 transition-colors duration-500;
h2 > a {
@apply font-bold text-2xl;
}
@ -165,7 +162,7 @@ footer {
}
article#notes-page {
@apply pt-4 text-xl;
@apply pt-4 text-xl duration-500 transition-colors;
@apply dark:text-gray-200;
hgroup h1 {
@apply font-bold mt-8 mb-8 text-3xl lg:text-6xl;
@ -271,7 +268,7 @@ article#notes-page {
}
nav#pagination {
@apply flex items-center justify-center mt-6 mb-6 text-xl;
@apply flex items-center justify-center mt-6 mb-6 text-xl transition-colors duration-500;
}
nav#pagination {