Skip to content

Commit

Permalink
style(tailwind): extend tailwind config to be used by the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
joseacabaneros committed Dec 2, 2024
1 parent 90f4a85 commit 953814b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/x-components/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ export default {
'./node_modules/@empathyco/x-tailwindcss/showcase/**/*.js'
],
prefix: 'x-',
theme: {
extend: {
fontFamily: ({ theme }) => theme('x.fontFamily'),
fontSize: ({ theme }) => theme('x.fontSize'),
spacing: ({ theme }) => theme('x.spacing'),
colors: ({ theme }) => theme('x.colors'),
screens: ({ theme }) => theme('x.screens')
}
},
plugins: [xTailwindPlugin(options), oldDsPlugin],
important: true
} as Config;

0 comments on commit 953814b

Please sign in to comment.