tailwind.config.js 459 Bytes
Newer Older
ziwencao's avatar
ziwencao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line no-undef
module.exports = {
  mode: "jit",
  content: ["index.html", "./src/**/*.{js,jsx,ts,tsx,vue,html}"],
  darkMode: "media", // or 'media' or 'class'
  theme: {
    extend: {},
    backgroundColor: (theme) => ({
      ...theme("colors"),
      orange: "#ea5529",
    }),
    textColor: (theme) => ({
      ...theme("colors"),
      orange: "#ea5529",
    }),
  },
  plugins: [],
};