-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
85 lines (84 loc) · 2.02 KB
/
Copy pathtailwind.config.js
File metadata and controls
85 lines (84 loc) · 2.02 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx,svg,html}",
], // content: ["./src/index.html", "./src/**/*.{html,svg,mdx,js,ts}"],
theme: {
fontSize: {
tag: [
"0.6875rem",
{
lineHeight: "1",
letterSpacing: "0.025em",
fontWeight: "800",
textTransform: "uppercase",
},
],
sm: [
"0.875rem",
{
lineHeight: "1.5",
},
],
base: [
"1rem",
{
lineHeight: "1.5",
},
],
lg: [
"clamp(1.125rem, 1.0637rem + 0.2614vw, 1.25rem)", // 18px - 20px
{
lineHeight: "1.125",
letterSpacing: "-0.02em",
},
],
xl: [
"clamp(1.25rem, 1.0049rem + 1.0458vw, 1.75rem)", // 20px - 28px
{
lineHeight: "1.125",
letterSpacing: "-0.02em",
},
],
"2xl": [
"clamp(1.875rem, 1.6912rem + 0.7843vw, 2.25rem)", // 30px - 36px
{
lineHeight: "1.125",
letterSpacing: "-0.02em",
},
],
"3xl": [
"clamp(2.25rem, 1.9436rem + 1.3072vw, 2.875rem)", // 36px - 46px
{
lineHeight: "1.125",
letterSpacing: "-0.02em",
},
],
"4xl": [
"clamp(2.5rem, 2.0711rem + 1.8301vw, 3.375rem)", // 40px - 54px
{
lineHeight: "1.125",
letterSpacing: "-0.001em",
},
],
},
// Colors live in the @theme block in src/style.css (Tailwind 4 idiom).
fontFamily: {
sans: "'Greycliff CF', Arial, sans-serif",
},
extend: {
boxShadow: {
hover:
"0 10px 20px 0px rgb(0 0 0 / 0.1), 0 4px 4px 0px rgb(0 0 0 / 0.1)",
card: "0 10px 20px 0px rgb(0 0 0 / 0.1), 0 4px 4px 0px rgb(0 0 0 / 0.1)",
float: "0px 5px 15px 0px rgb(44 45 60 / 0.2)",
},
aspectRatio: {
map: "495 / 220",
},
},
},
variants: {},
plugins: [],
}