less contrasty colors

This commit is contained in:
Youwen Wu 2024-05-25 12:47:40 -07:00
parent ebcc0c86f4
commit 51d064c904
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 12 additions and 6 deletions

View file

@ -39,7 +39,7 @@
@apply text-xl font-medium mt-8 text-accent-light dark:text-accent-dark; @apply text-xl font-medium mt-8 text-accent-light dark:text-accent-dark;
} }
p { p {
@apply leading-loose my-4 text-[1rem]; @apply leading-loose my-4;
} }
img { img {
@apply mx-auto my-6 rounded-lg; @apply mx-auto my-6 rounded-lg;
@ -53,6 +53,10 @@
math[display="block"] { math[display="block"] {
@apply overflow-x-auto my-1 text-xl; @apply overflow-x-auto my-1 text-xl;
} }
ol,
ul {
@apply list-inside leading-loose;
}
ul { ul {
@apply list-disc ml-2; @apply list-disc ml-2;
} }

File diff suppressed because one or more lines are too long

View file

@ -85,7 +85,9 @@
> >
<header class="mt-14 md:mt-24 mb-14"> <header class="mt-14 md:mt-24 mb-14">
<h1 class="text-4xl md:text-5xl font-serif font-medium"> <h1 class="text-4xl md:text-5xl font-serif font-medium">
<a href="/" class="dark:hover:text-muted-dark transition-colors" <a
href="/"
class="dark:hover:text-muted-dark hover:text-muted-light transition-colors duration-500"
>Gradient Ascent</a >Gradient Ascent</a
> >
</h1> </h1>

View file

@ -11,12 +11,12 @@ module.exports = {
}, },
colors: { colors: {
primary: { primary: {
dark: "#e2e8f0", dark: "#e7e5e4",
light: "#0a0a0a", light: "#44403c",
}, },
secondary: { secondary: {
dark: "#2e1065", dark: "#2e1065",
light: "#4f46e5", light: "#4338ca",
}, },
accent: { accent: {
dark: "#9ca3af", dark: "#9ca3af",