feat: the catppuccin update
This commit is contained in:
parent
25ca02da0a
commit
141de7c95f
13 changed files with 1326 additions and 3116 deletions
|
|
@ -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"),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue