gradio/ui/packages/workbench/tailwind.config.cjs

45 lines
866 B
JavaScript
Raw Normal View History

const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
const production = !process.env.ROLLUP_WATCH;
2022-02-25 20:24:32 +08:00
module.exports = {
content: [
"./src/**/*.{html,js,svelte,ts}",
"**/@gradio/**/*.{html,js,svelte,ts,css}"
2022-02-25 20:24:32 +08:00
],
2022-02-22 20:20:28 +08:00
theme: {
extend: {
fontFamily: {
sans: ["Source Sans Pro", ...defaultTheme.fontFamily.sans],
mono: ["IBM Plex Mono", ...defaultTheme.fontFamily.mono]
},
colors: {
gray: {
2022-05-17 21:58:25 +08:00
950: "#0b0f19"
},
orange: {
50: "#FFF2E5",
100: "#FFE5CC",
200: "#FFD8B4",
300: "#FFB066",
400: "#FF9633",
500: "#FF7C00",
600: "#EE7400",
700: "#CE6400",
800: "#A45000",
900: "#5C2D00"
}
}
}
2022-02-22 20:20:28 +08:00
},
mode: "jit",
darkMode: "class", // or 'media' or 'class'
2022-02-22 20:20:28 +08:00
variants: {
extend: {}
},
plugins: [require("@tailwindcss/forms")]
2022-02-22 20:20:28 +08:00
};