mirror of https://github.com/jpanther/congo.git
⚰️ Remove redundant Tailwind v2 config
parent
86fc39f667
commit
5662a11f2d
|
@ -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")],
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue