⚰️ Remove redundant Tailwind v2 config

pull/100/head
James Panther 2021-12-25 10:52:47 +11:00
parent 86fc39f667
commit 5662a11f2d
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 9 additions and 23 deletions

View File

@ -1,15 +1,12 @@
const colors = require("tailwindcss/colors"); const colors = require("tailwindcss/colors");
module.exports = { module.exports = {
mode: "jit",
purge: {
content: [ content: [
"./layouts/**/*.html", "./layouts/**/*.html",
"./content/**/*.{html,md}", "./content/**/*.{html,md}",
"./themes/congo/layouts/**/*.html", "./themes/congo/layouts/**/*.html",
"./themes/congo/content/**/*.{html,md}", "./themes/congo/content/**/*.{html,md}",
], ],
},
darkMode: "class", darkMode: "class",
theme: { theme: {
colors: { colors: {
@ -52,12 +49,6 @@ module.exports = {
900: "var(--color-secondary-900)", 900: "var(--color-secondary-900)",
}, },
}, },
underlineOffset: {
small: "2px",
},
underlineThickness: {
bold: "2px",
},
extend: { extend: {
typography: (theme) => ({ typography: (theme) => ({
DEFAULT: { DEFAULT: {
@ -70,10 +61,10 @@ module.exports = {
textDecorationColor: theme("colors.primary.300"), textDecorationColor: theme("colors.primary.300"),
fontWeight: "500", fontWeight: "500",
"&:hover": { "&:hover": {
backgroundColor: theme("colors.primary.600"),
borderRadius: "0.09rem",
color: theme("colors.neutral.DEFAULT"), color: theme("colors.neutral.DEFAULT"),
textDecoration: "none", textDecoration: "none",
backgroundColor: theme("colors.primary.600"),
borderRadius: "0.09rem",
}, },
}, },
strong: { strong: {
@ -222,10 +213,5 @@ module.exports = {
}), }),
}, },
}, },
variants: { plugins: [require("@tailwindcss/typography")],
extend: {
typography: ["dark"],
},
},
plugins: [require("@tailwindcss/typography"), require("tailwind-underline-utils")],
}; };