-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
60 lines (59 loc) · 1.49 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
const defaultTheme = require("tailwindcss/defaultTheme");
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
xs: "475px",
"md-lg": "900px",
...defaultTheme.screens,
},
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
colors: {
primary: {
DEFAULT: "#03dac6",
light: "#d4f6f2",
dark: "#00b798",
},
secondary: {
DEFAULT: "#0F75E0",
light: "#4fb1e4",
dark: "#102a71",
darktransparent: "#102a7190",
},
accent: "#c503da",
background: "#FDFCFD",
surface: "#FFFFFF",
error: "#B00020",
"on-primary": "#000000",
"on-secondary": "#FFFFFF",
"on-background": "#000000",
"on-surface": "#000000",
"on-error": "#FFFFFF",
"on-light": "#000000",
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
".flex-center": {
display: "flex",
"align-items": "center",
"justify-content": "center",
},
});
}),
],
};
export default config;