Remove shared Tailwind config from backend
Remove the shared Tailwind configuration import and content array integration from the backend's Tailwind config.
This commit is contained in:
@@ -1,16 +1,13 @@
|
|||||||
import tailwindcssAnimate from 'tailwindcss-animate'
|
import tailwindcssAnimate from 'tailwindcss-animate'
|
||||||
import typography from '@tailwindcss/typography'
|
import typography from '@tailwindcss/typography'
|
||||||
import sharedConfig from '@enchun/shared/tailwind-config-v3'
|
|
||||||
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
...sharedConfig,
|
|
||||||
content: [
|
content: [
|
||||||
'./pages/**/*.{ts,tsx}',
|
'./pages/**/*.{ts,tsx}',
|
||||||
'./components/**/*.{ts,tsx}',
|
'./components/**/*.{ts,tsx}',
|
||||||
'./app/**/*.{ts,tsx}',
|
'./app/**/*.{ts,tsx}',
|
||||||
'./src/**/*.{ts,tsx}',
|
'./src/**/*.{ts,tsx}',
|
||||||
...sharedConfig.content,
|
|
||||||
],
|
],
|
||||||
darkMode: ['selector', '[data-theme="dark"]'],
|
darkMode: ['selector', '[data-theme="dark"]'],
|
||||||
plugins: [tailwindcssAnimate, typography],
|
plugins: [tailwindcssAnimate, typography],
|
||||||
|
|||||||
Reference in New Issue
Block a user