-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
122 lines (120 loc) · 2.64 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// https://tailwindcss.com/docs/configuration
import type { Config } from "tailwindcss";
import forms from "@tailwindcss/forms";
import typography from "@tailwindcss/typography";
export default {
content: [
"./app/**/*.php",
"./resources/**/*.{php,js,ts,tsx,vue}",
"./resources/views/**/*.php",
"./public/content/themes/radicle/index.php",
],
theme: {
fontFamily: {
sans: ["sans-serif"],
serif: ["serif"],
mono: ["monospace"],
},
colors: {
inherit: "inherit",
current: "currentColor",
transparent: "transparent",
black: "#000",
white: "#fff",
text: "#012130",
gray: {
50: "#f9fafb",
100: "#f3f4f6",
200: "#e5e7eb",
300: "#d1d5db",
400: "#9ca3af",
500: "#6b7280",
600: "#4b5563",
700: "#374151",
800: "#1f2937",
900: "#111827",
950: "#030712",
},
indigo: {
50: "#eef2ff",
100: "#e0e7ff",
200: "#c7d2fe",
300: "#a5b4fc",
400: "#818cf8",
500: "#6366f1",
600: "#4f46e5",
700: "#4338ca",
800: "#3730a3",
900: "#312e81",
950: "#1e1b4b",
},
primary: "#45C4AF",
auxiliar: "#DAFDB9",
"primary-dark": "#13678B",
"back-light": "#F1FFEE",
"detail-gray": "#D9D9D9",
},
extend: {
screens: {
'2xl': '1536px',
},
fontSize: {
"3xxl": "2rem",
},
maxWidth: {
"temp-container": "1308px",
},
spacing: {
"3.5": "0.875rem",
"17": "4.25rem",
"23": "5.75rem",
"25": "6.25rem",
"3/5": "60%",
},
lineHeight: {
"7.5": "1.875rem",
"10.5": "2.625rem",
"14": "3.5rem",
tighter: "1.15",
comfort: "1.75",
},
width: {
"12/25": "48%",
},
},
},
plugins: [
forms,
typography,
function ({ addComponents }) {
addComponents({
'.container': {
maxWidth: '100%',
marginLeft: "auto",
marginRight: "auto",
padding: '0 1.25rem',
'@screen sm': {
maxWidth: '540px',
padding: '0',
},
'@screen md': {
maxWidth: '720px',
padding: '0',
},
'@screen lg': {
maxWidth: '960px',
padding: '0',
},
'@screen xl': {
maxWidth: '1140px',
padding: '0',
},
'@screen 2xl': {
maxWidth: '1304px',
padding: '0',
},
},
});
},
],
} satisfies Config;