@import "tailwindcss"; @import "@catppuccin/tailwindcss/mocha.css"; @plugin "@tailwindcss/typography"; @config "../../tailwind.config.js"; @custom-variant dark (&:where(.dark, .dark *)); @custom-variant scrolled (&:where(.scrolled, .scrolled *)); html { color-scheme: light; @variant dark { color-scheme: dark; } } article { @apply max-w-full prose dark:prose-invert prose-img:mx-auto prose-img:my-auto; } @layer utilities { article a { @apply underline decoration-black/15 dark:decoration-white/30 hover:decoration-black/25 hover:dark:decoration-white/50 text-current hover:text-black hover:dark:text-white transition-colors duration-300 ease-in-out; } } .animate, .expressive-code { @apply opacity-0 translate-y-3; @apply transition-all duration-500 ease-out; &.show { @apply opacity-100 translate-y-0; } }