-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
85 lines (76 loc) · 1.81 KB
/
tailwind.config.mjs
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: "class",
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
accent: {
DEFAULT: "#f05050",
light: "#f26262"
},
primary: {
DEFAULT: "#FFF2F2",
dark: "#3A2E2E"
},
secondary: {
DEFAULT: "#F1E2E2",
dark: "#312626"
},
black: "#302B2B",
white: "#FFF2F2",
danger: "#ff0000"
},
borderRadius: {
"none": "0",
"sm": "4px",
"md": "7px",
"lg": "10px",
"xl": "15px"
},
fontFamily: {
sans: ["Outfit", "sans-serif"],
},
extend: {
margin: {
...spacing(),
"half-page": "calc(50vh - 50px)",
"navbar": "104px"
},
padding: spacing(),
zIndex: {
"1": 1
},
maxWidth: width(),
minWidth: width(),
width: width(),
maxHeight: {
"navbar": "104px"
},
transitionProperty: {
"width": "width",
"color-ring": "box-shadow, color"
},
}
},
plugins: [],
}
function spacing() {
return {
"xxs": "3px",
"xs": "6px",
"sm": "10px",
"md": "20px",
"lg": "30px",
"xl": "60px",
}
}
function width() {
return {
"content": "898px",
"project-max": "280px",
"project-min": "200px",
"1/2": "50%",
}
}