From 5662a11f2d620d283b8baf0a62f69e3b265090fd Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sat, 25 Dec 2021 10:52:47 +1100 Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F=20Remove=20redundant=20Tailw?= =?UTF-8?q?ind=20v2=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tailwind.config.js | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index d8e6bda6..207d0131 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,15 +1,12 @@ const colors = require("tailwindcss/colors"); module.exports = { - mode: "jit", - purge: { - content: [ - "./layouts/**/*.html", - "./content/**/*.{html,md}", - "./themes/congo/layouts/**/*.html", - "./themes/congo/content/**/*.{html,md}", - ], - }, + content: [ + "./layouts/**/*.html", + "./content/**/*.{html,md}", + "./themes/congo/layouts/**/*.html", + "./themes/congo/content/**/*.{html,md}", + ], darkMode: "class", theme: { colors: { @@ -52,12 +49,6 @@ module.exports = { 900: "var(--color-secondary-900)", }, }, - underlineOffset: { - small: "2px", - }, - underlineThickness: { - bold: "2px", - }, extend: { typography: (theme) => ({ DEFAULT: { @@ -70,10 +61,10 @@ module.exports = { textDecorationColor: theme("colors.primary.300"), fontWeight: "500", "&:hover": { - backgroundColor: theme("colors.primary.600"), - borderRadius: "0.09rem", color: theme("colors.neutral.DEFAULT"), textDecoration: "none", + backgroundColor: theme("colors.primary.600"), + borderRadius: "0.09rem", }, }, strong: { @@ -222,10 +213,5 @@ module.exports = { }), }, }, - variants: { - extend: { - typography: ["dark"], - }, - }, - plugins: [require("@tailwindcss/typography"), require("tailwind-underline-utils")], + plugins: [require("@tailwindcss/typography")], };