diff --git a/postcss.config.cjs b/postcss.config.js similarity index 86% rename from postcss.config.cjs rename to postcss.config.js index e569373f..feab3515 100644 --- a/postcss.config.cjs +++ b/postcss.config.js @@ -1,4 +1,4 @@ -module.exports = { +export default { plugins: { 'postcss-import': {}, 'tailwindcss/nesting': {}, diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index a5250cc9..e69c98c9 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -24,7 +24,6 @@ import { useMainProcess } from '../../hooks/useMainProcess'; import { ProgressPage } from '../progress'; import { SuccessPage } from '../success'; import { FailurePage } from '../failure'; -import { TermsAndConditions } from '../../components/TermsAndConditions'; import { useInputTokenBalance } from '../../hooks/useInputTokenBalance'; import { UserBalance } from '../../components/UserBalance'; import { useEventsContext } from '../../contexts/events'; @@ -320,7 +319,6 @@ export const SwapPage = () => { const modals = ( <> - { diff --git a/tailwind.config.js b/tailwind.config.js index b88c0dc6..f8930c5d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,5 @@ +import daisyui from 'daisyui'; + const colors = { whiteAlpha: { 50: 'rgba(255, 255, 255, 0.04)', @@ -25,7 +27,7 @@ const colors = { }, }; // eslint-disable-next-line no-undef -module.exports = { +export default { darkMode: 'class', content: [ './src/**/*.{js,ts,jsx,tsx}', @@ -33,7 +35,7 @@ module.exports = { 'node_modules/react-daisyui/dist/**/*.js', ], // eslint-disable-next-line no-undef - plugins: [require('daisyui')], + plugins: [daisyui], themes: ['pendulum', 'amplitude'], theme: { extend: {