-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
169 lines (168 loc) · 5.75 KB
/
tailwind.config.js
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
import tailwindcssAnimate from "tailwindcss-animate";
/** @type {import('tailwindcss').Config} */
export default {
darkMode: "class",
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
theme: {
screens: {
xs: "429px",
sm: "481px",
md: "768px",
lg: "1024px",
xl: "1440px",
},
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
fontSize: {
xs1: ["10px", { lineHeight: "18px", letterSpacing: "0" }],
xs: ["12px", { lineHeight: "20px", letterSpacing: "0" }],
sm: ["14px", { lineHeight: "22px", letterSpacing: "0" }],
lg: ["16px", { lineHeight: "26px", letterSpacing: "0" }],
xl: ["18px", { lineHeight: "28px", letterSpacing: "0" }],
"2xl": ["22px", { lineHeight: "32px", letterSpacing: "0" }],
"3xl": ["28px", { lineHeight: "44px", letterSpacing: "0" }],
"4xl": ["40px", { lineHeight: "56px", letterSpacing: "0" }],
"5xl": ["56px", { lineHeight: "72px", letterSpacing: "0" }],
"6xl": ["72px", { lineHeight: "84px", letterSpacing: "0" }],
"7xl": ["86px", { lineHeight: "100px", letterSpacing: "-0.02em" }],
},
extend: {
truncate: {
lines: {
2: "2",
3: "3",
},
},
xl: {
fontSize: {
xs1: ["12px", { lineHeight: "18px", letterSpacing: "0" }],
xs: ["14px", { lineHeight: "20px", letterSpacing: "0" }],
sm: ["16px", { lineHeight: "22px", letterSpacing: "0" }],
lg: ["28px", { lineHeight: "26px", letterSpacing: "0" }],
xl: ["28px", { lineHeight: "28px", letterSpacing: "0" }],
"2xl": ["34px", { lineHeight: "32px", letterSpacing: "0" }],
"3xl": ["32px", { lineHeight: "44px", letterSpacing: "0" }],
"4xl": ["44px", { lineHeight: "56px", letterSpacing: "0" }],
"5xl": ["62px", { lineHeight: "72px", letterSpacing: "0" }],
"6xl": ["78px", { lineHeight: "84px", letterSpacing: "0" }],
"7xl": ["92px", { lineHeight: "100px", letterSpacing: "-0.02em" }],
},
},
fontFamily: {
"nokia-bold": ["Nokia Pure Headline Bold", "Inter", "sans-serif"],
"nokia-light": ["Nokia Pure Headline Light", "Inter", "sans-serif"],
"Lato-Light": ["Lato-Light", "sans-serif"],
"Lato-Regular": ["Lato-Regular", "sans-serif"],
"Lato-Black": ["Lato-Black", "sans-serif"],
"Lato-Bold": ["Lato-Bold", "sans-serif"],
"Lato-Thin": ["Lato-Thin", "sans-serif"],
inter: ["Inter", "sans-serif"],
sans: ["Public sans", "Inter", "sans-serif"],
},
backgroundImage: {
"header-img": "url('./assets/header-img.svg')",
"hero-img": "url('./assets/home-page-img.webp')",
"coming-soon": "url('./assets/coming-soon.webp')",
"chapter-img-1": "url('./assets/chapter-img-1.svg)",
"about-img": "url('./assets/bible-about.webp')",
// 'footer-texture': "url('/img/footer-texture.png')",
},
colors: {
"primary-1": "#FDFDFD",
"primary-2": "#FBFBFB",
"primary-3": "#F8F8F8",
"primary-4": "#F4F4F4",
"primary-5": "#F1F1F1",
"primary-6": "#EEEEEE",
"primary-7": "#CACACA",
"primary-8": "#A9A9A9",
"primary-9": "#888888",
"primary-10": "#6B6B6B",
"secondary-1": "#EBEDEE",
"secondary-2": "#D0D3D5",
"secondary-3": "#AAB0B4",
"secondary-4": "#838B91",
"secondary-5": "#5D6870",
"secondary-6": "#3A4750",
"secondary-7": "#313C44",
"secondary-8": "#293239",
"secondary-9": "#21282E",
"secondary-10": "#1A2024",
"accent-1": "#FDF4E8",
"accent-2": "#FAE5C7",
"accent-3": "#F6D09A",
"accent-4": "#F2BA6C",
"accent-5": "#EEA63F",
"accent-6": "#EA9215",
"accent-7": "#C77C12",
"accent-8": "#A6680F",
"accent-9": "#85530C",
"accent-10": "#694209",
"accent-11": "#EFC180",
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"accordion-down": {
from: { height: 0 },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: 0 },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
},
},
plugins: [tailwindcssAnimate],
};