mirror of
https://github.com/supabase/supabase.git
synced 2026-06-22 01:02:52 +08:00
* Move all components in ui-patterns into src folder. Add exports field for all files. * Fix all apps to use the new ui-patterns. * Fix the design-system build. * Remove all unused rexports from ui-patterns index. Apps should use direct imports instead. * Change the tailwind content property to include src folder of ui-patterns. * Remove autoprefixer from the tailwind configs. * Remove autoprefixer as a dependency. * Fix the CVA conditions in FormLayout.
28 lines
750 B
JavaScript
28 lines
750 B
JavaScript
const config = require('config/tailwind.config')
|
|
|
|
module.exports = config({
|
|
content: [
|
|
'./app/**/*.{ts,tsx,mdx}',
|
|
'./components/**/*.tsx',
|
|
'./content/**/*.{ts,tsx,mdx}',
|
|
'./docs/**/*.{tsx,mdx}',
|
|
'./features/**/*.{ts,tsx,mdx}',
|
|
'./layouts/**/*.tsx',
|
|
'./pages/**/*.{tsx,mdx}',
|
|
'./../../packages/ui/src/**/*.{tsx,ts,js}',
|
|
'./../../packages/ui-patterns/src/**/*.{tsx,ts,js}',
|
|
],
|
|
plugins: [
|
|
function ({ addUtilities, addVariant }) {
|
|
addUtilities({
|
|
// prose (tailwind typography) helpers
|
|
// useful for removing margins in prose styled sections
|
|
'.prose--remove-p-margin p': {
|
|
margin: '0',
|
|
},
|
|
})
|
|
},
|
|
require('@tailwindcss/container-queries'),
|
|
],
|
|
})
|