2022-05-02 16:38:18 +08:00
|
|
|
const defaultTheme = require("tailwindcss/defaultTheme");
|
2022-02-01 21:45:55 +08:00
|
|
|
const production = !process.env.ROLLUP_WATCH;
|
2022-05-02 16:38:18 +08:00
|
|
|
|
2022-02-01 21:45:55 +08:00
|
|
|
module.exports = {
|
2022-04-06 01:11:29 +08:00
|
|
|
content: [
|
|
|
|
"./src/**/*.{html,js,svelte,ts}",
|
|
|
|
"**/@gradio/**/*.{html,js,svelte,ts,css}"
|
|
|
|
],
|
|
|
|
|
2022-02-01 23:46:50 +08:00
|
|
|
theme: {
|
2022-04-26 22:03:03 +08:00
|
|
|
extend: {
|
2022-05-02 16:38:18 +08:00
|
|
|
fontFamily: {
|
|
|
|
sans: ["Source Sans Pro", ...defaultTheme.fontFamily.sans],
|
|
|
|
mono: ["IBM Plex Mono", ...defaultTheme.fontFamily.mono]
|
|
|
|
},
|
2022-04-26 22:03:03 +08:00
|
|
|
colors: {
|
2022-05-02 16:38:18 +08:00
|
|
|
orange: {
|
|
|
|
50: "#FFF2E5",
|
|
|
|
100: "#FFE5CC",
|
|
|
|
200: "#FFD8B4",
|
|
|
|
300: "#FFB066",
|
|
|
|
400: "#FF9633",
|
|
|
|
500: "#FF7C00",
|
|
|
|
600: "#EE7400",
|
|
|
|
700: "#CE6400",
|
|
|
|
800: "#A45000",
|
|
|
|
900: "#5C2D00"
|
|
|
|
}
|
2022-04-26 22:03:03 +08:00
|
|
|
}
|
2022-04-06 01:11:29 +08:00
|
|
|
}
|
2022-02-01 23:46:50 +08:00
|
|
|
},
|
2022-05-02 16:38:18 +08:00
|
|
|
mode: "jit",
|
|
|
|
darkMode: "class", // or 'media' or 'class'
|
2022-04-06 01:11:29 +08:00
|
|
|
|
2022-05-02 16:38:18 +08:00
|
|
|
variants: {
|
|
|
|
extend: {}
|
|
|
|
},
|
2022-04-06 01:11:29 +08:00
|
|
|
plugins: [require("@tailwindcss/forms")]
|
2022-02-01 23:46:50 +08:00
|
|
|
};
|