-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
42 lines (40 loc) · 924 Bytes
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
import { borderRadius, boxShadow, colors, screens } from "./config/defaults";
export default <Config>{
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
corePlugins: {
preflight: false,
},
theme: {
colors: {
...colors,
test: "#ffc700",
},
borderRadius,
screens,
container: {
center: true,
padding: "1rem",
},
boxShadow: {
...boxShadow,
inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
},
extend: {
fontFamily: {
sans: ["'Golos Text'", "sans-serif"],
heading: ["Inter", "sans-serif"],
},
borderColor: ({ theme }) => ({
DEFAULT: theme("colors.gray.300", "currentColor"),
}),
},
},
plugins: [
plugin(({ addVariant }) => {
addVariant("light", ".light &");
}),
],
};