tailwind.config.js 513 B

12345678910111213141516171819
  1. /** @type {import('tailwindcss').Config} */
  2. const pxToViewport = require('postcss-px-to-viewport');
  3. module.exports = {
  4. darkMode: "class",
  5. corePlugins: {
  6. preflight: false
  7. },
  8. content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
  9. theme: {
  10. extend: {
  11. colors: {
  12. bg_color: "var(--el-bg-color)",
  13. primary: "var(--el-color-primary)",
  14. text_color_primary: "var(--el-text-color-primary)",
  15. text_color_regular: "var(--el-text-color-regular)"
  16. },
  17. }
  18. },
  19. };