From 55a6bd22781dcfc0de3bf066ade2d6d76b830534 Mon Sep 17 00:00:00 2001 From: prplwtf Date: Sat, 20 Jul 2024 22:27:24 +0200 Subject: [PATCH] Revert "feat `tailwind`: turn tailwind config into vars" This reverts commit 0132609d30ae30d43bebcfdfd81afd521c289da3. --- tailwind.config.js | 51 ---------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 tailwind.config.js diff --git a/tailwind.config.js b/tailwind.config.js deleted file mode 100644 index dce9b52..0000000 --- a/tailwind.config.js +++ /dev/null @@ -1,51 +0,0 @@ -const colors = require('tailwindcss/colors'); - -const gray = { - 50: 'var(--tw-gray-50)', - 100: 'var(--tw-gray-100)', - 200: 'var(--tw-gray-200)', - 300: 'var(--tw-gray-300)', - 400: 'var(--tw-gray-400)', - 500: 'var(--tw-gray-500)', - 600: 'var(--tw-gray-600)', - 700: 'var(--tw-gray-700)', - 800: 'var(--tw-gray-800)', - 900: 'var(--tw-gray-900)', -}; - -module.exports = { - content: [ - './resources/scripts/**/*.{js,ts,tsx}', - ], - theme: { - extend: { - fontFamily: { - header: ['"IBM Plex Sans"', '"Roboto"', 'system-ui', 'sans-serif'], - }, - colors: { - black: '#131a20', - // "primary" and "neutral" are deprecated, prefer the use of "blue" and "gray" - // in new code. - primary: colors.blue, - gray: gray, - neutral: gray, - cyan: colors.cyan, - }, - fontSize: { - '2xs': '0.625rem', - }, - transitionDuration: { - 250: '250ms', - }, - borderColor: theme => ({ - default: theme('colors.neutral.400', 'currentColor'), - }), - }, - }, - plugins: [ - require('@tailwindcss/line-clamp'), - require('@tailwindcss/forms')({ - strategy: 'class', - }), - ] -};