generated from johnnygerard/starter-angular-19
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
100 lines (99 loc) · 2.1 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
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
import plugin from "tailwindcss/plugin";
export default {
content: ["./src/**/*.{html,ts}"],
theme: {
colors: {
lime: "#D8DB2F",
"lime-tint": "#ECED97",
red: "#D73328",
"slate-100": "#E4F4FD",
"slate-300": "#9ABED5",
"slate-500": "#6B94A8",
"slate-700": "#4E6E7E",
"slate-900": "#133041",
white: "#FFFFFF",
},
fontFamily: {
sans: ["Plus Jakarta Sans", ...defaultTheme.fontFamily.sans],
},
fontSize: {
"preset-1": [
"3.5rem",
{
lineHeight: "1.25",
letterSpacing: "-1px",
fontWeight: 700,
},
],
"preset-1-mb": [
"2.5rem",
{
lineHeight: "normal",
letterSpacing: "-1px",
fontWeight: 700,
},
],
"preset-2": [
"1.5rem",
{
lineHeight: "1.25",
letterSpacing: "-1px",
fontWeight: 700,
},
],
"preset-3": [
"1.125rem",
{
lineHeight: "1.25",
letterSpacing: "-1px",
fontWeight: 700,
},
],
"preset-4": [
"1rem",
{
lineHeight: "1.5",
letterSpacing: "0",
fontWeight: 500,
},
],
"preset-5": [
"0.875rem",
{
lineHeight: "1.5",
letterSpacing: "0",
fontWeight: 500,
},
],
},
backgroundImage: {
tint: "linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5))",
},
screens: {
tb: "48em", // Tablet
dt: "90em", // Desktop
},
spacing: {
0: "0",
100: "0.5rem",
150: "0.75rem",
200: "1rem",
300: "1.5rem",
400: "2rem",
500: "2.5rem",
},
transitionDuration: {
DEFAULT: "300ms",
},
transitionTimingFunction: {
DEFAULT: "ease-out",
},
},
plugins: [
plugin(({ addVariant }) => {
addVariant("hocus", ["&:hover", "&:focus-visible"]);
}),
],
} satisfies Config;