From cc60c92a3a93a067c8e12450bd2f708001a4cb8a Mon Sep 17 00:00:00 2001 From: Deepak Prabhakara Date: Fri, 8 Mar 2024 15:17:34 +0000 Subject: [PATCH] cleanup theme, we use default in any case (#535) --- tailwind.config.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index a0a8fe5..707c87d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,25 +1,6 @@ -const colors = require('tailwindcss/colors'); - -function withOpacityValue(variable) { - return ({ opacityValue }) => { - if (opacityValue === undefined) { - return `rgb(var(${variable}))`; - } - return `rgb(var(${variable}) / ${opacityValue})`; - }; -} - module.exports = { darkMode: 'class', content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'], - theme: { - colors: { - ...colors, - primary: withOpacityValue('--color-primary'), - secondary: withOpacityValue('--color-secondary'), - }, - extend: {}, - }, plugins: [require('daisyui')], daisyui: { themes: ['light'],