gradio/frontend/tailwind.config.js
aliabid94 21bd324db5 Add dark theme for huggingface (#273)
* dark theme
* theme changes

Co-authored-by: Ali Abid <you@example.comgit>
Co-authored-by: Ali Abid <ali.abid@gradio.app>
2021-09-27 14:07:17 -07:00

38 lines
770 B
JavaScript

module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
mode: "jit",
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {
typography: {
DEFAULT: {
css: {
h1: {
fontWeight: "semibold"
},
h2: {
fontWeight: "semibold"
},
h3: {
fontWeight: "semibold"
},
h4: {
fontWeight: "semibold"
},
h5: {
fontWeight: "semibold"
},
h6: {
fontWeight: "semibold"
}
}
}
}
}
},
variants: {
extend: {}
},
plugins: [require("@tailwindcss/typography")]
};