فهرست منبع

fix(whiteboard): tldraw demo should inherit root tailwind config

Peng Xiao 2 سال پیش
والد
کامیت
edc9618a81
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      tldraw/demo/postcss.config.js

+ 3 - 0
tldraw/demo/postcss.config.js

@@ -1,3 +1,5 @@
+const rootTailwindConfig = require('../../tailwind.config')
+
 module.exports = {
   plugins: {
     'postcss-import': {},
@@ -5,6 +7,7 @@ module.exports = {
     'postcss-import-ext-glob': {},
     'tailwindcss/nesting': {},
     tailwindcss: {
+      ...rootTailwindConfig,
       content: ['./**/*.jsx', '../apps/**/*.{js,jsx,ts,tsx}'],
     },
     autoprefixer: {},