-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
43 lines (41 loc) · 1.07 KB
/
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
43
import type { Config } from "tailwindcss";
const config: Config = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
important: "#app",
corePlugins: {
preflight: false,
},
darkMode: "class",
theme: {
container: {
center: true,
padding: {
DEFAULT: "1.5rem",
md: "2rem",
},
},
extend: {
screens: {
xs: "375px",
},
fontFamily: {
dmSans: ["DM Sans", "sans-serif"],
},
colors: {
primary: "rgb(27 161 253 / <alpha-value>)",
"dark-primary": "#0B9EDB",
success: "#26D962",
"dark-success": "#20B75B",
warning: "#FFB152",
"dark-warning": "#DFAE4C",
error: "#FF5740",
"dark-error": "#D94A2C",
},
},
},
plugins: [
require("tailwindcss-animated"),
require("tailwindcss-safe-area"),
],
};
export default config;