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'],