generated from DomZem/next-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
104 lines (103 loc) · 2.59 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
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
primary: 'var(--primary)',
primaryHover: 'var(--primaryHover)',
midnightBlue: 'var(--midnightBlue)',
darkRoyalBlue: 'var(--darkRoyalBlue)',
softLavender: 'var(--softLavender)',
heatherGray: 'var(--heatherGray)',
bluebellGray: 'var(--bluebellGray)',
starlessNight: 'var(--starlessNight)',
whisperWhite: 'var(--whisperWhite)',
darkAbyss: 'var(--darkAbyss)',
destructive: 'var(--destructive)',
destructiveHover: 'var(--destructiveHover)',
},
fontSize: {
'heading-l': [
'2.25rem',
{
lineHeight: '1.5',
letterSpacing: '-1.125px',
fontWeight: '700',
},
],
'heading-m': [
'1.5rem',
{
lineHeight: '1.5',
letterSpacing: '-0.75px',
fontWeight: '700',
},
],
'heading-s': [
'15px',
{
lineHeight: '1.5rem',
letterSpacing: '-0.25px',
fontWeight: '700',
},
],
'heading-s-variant': [
'15px',
{
lineHeight: '100%',
letterSpacing: '-0.25px',
fontWeight: '700',
},
],
body: [
'13px',
{
lineHeight: '138.462%',
letterSpacing: '-0.1px',
fontWeight: '500',
},
],
'body-variant': [
'13px',
{
lineHeight: '115.385%',
letterSpacing: '-0.1px',
fontWeight: '500',
},
],
label: [
'13px',
{
lineHeight: '15px',
letterSpacing: '-0.1px',
fontWeight: '500',
},
],
'invoice-detail': [
'15px',
{
lineHeight: '133.333%',
letterSpacing: '-0.25px',
fontWeight: '700',
},
],
},
backgroundImage: {
shadow:
'linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.10) 100%)',
},
boxShadow: {
wrapper: '0px 10px 10px -10px rgba(72, 84, 159, 0.10)',
box: '0px 10px 20px 0px rgba(72, 84, 159, 0.25)',
},
},
},
plugins: [require('tailwindcss-animate')],
};
export default config;