feat: the catppuccin update

This commit is contained in:
zackartz 2024-05-05 18:25:40 -04:00
parent 25ca02da0a
commit 141de7c95f
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
13 changed files with 1326 additions and 3116 deletions

View file

@ -2,10 +2,36 @@
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {},
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
color: "rgba(var(--ctp-text), 1)",
"--tw-prose-body": "rgba(var(--ctp-text), 1)",
"--tw-prose-headings": "rgba(var(--ctp-mauve), 1)",
"--tw-prose-hr": "rgba(var(--ctp-surface0), 1)",
"--tw-prose-code": "rgba(var(--ctp-pink), 1)",
a: {
color: "rgba(var(--ctp-blue), 1)",
"text-decoration-thickness": ".1em",
"text-underline-offset": "4px",
"&:hover": {
color: "rgba(var(--ctp-sky), 1)",
},
},
},
},
}),
},
fontFamily: {
sans: ["Iosevka Web", "ui-monospace", "monospace"],
},
},
plugins: [require("@tailwindcss/typography")],
plugins: [
require("@catppuccin/tailwindcss")({
prefix: "ctp",
defaultFlavor: "mocha",
}),
require("@tailwindcss/typography"),
],
};