-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
75 lines (75 loc) · 1.79 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
corePlugins: {
container: false,
},
theme: {
fontSize: {
xs: '0.8rem',
xsm: '1.6rem',
sm: '1.8rem',
base: '2rem',
md: '2.4rem',
xl: '2.8rem',
'2xl': '3.2rem',
'3xl': '1.953rem',
'4xl': '3.8rem',
'5xl': '6.4rem',
},
lineHeight: {
none: '1',
tight: '1.25',
snug: '1.375',
normal: '1.4',
relaxed: '1.6',
loose: '2.4',
},
fontFamily: {
sans: ['var(--font-family-rajdhani)', 'Vazirmatn', 'sans-serif'],
serif: ['var(--font-family-rajdhani)', 'Vazirmatn', 'serif'],
},
screens: {
mobile: '560px',
tablet: '760px',
desktop: '960px',
wide: '1370px',
},
extend: {
keyframes: {
skeleton: {
'0%': { transform: ['translateX(-200px)', 'skewX(-30deg)'] },
'100%': { transform: ['translateX(150px)'] },
},
},
boxShadow: {
ctaBorder: '0px 0px 0 1px rgb(var(--accent-0))',
},
colors: {
accent: {
0: 'rgb(var(--accent-0) / <alpha-value>)',
1: 'rgb(var(--accent-1) / <alpha-value>)',
},
light: {
0: '#e6e6e6',
1: '#b3b3b3',
muted: 'rgb(255 255 255 / 0.2)',
inactive: 'rgb(255 255 255 / 0.3)',
},
bg: {
0: 'rgb(var(--bg))',
muted: 'rgb(255 255 255 / 10%)',
},
fg: {
0: 'rgb(var(--fg-0) / <alpha-value> )',
1: 'rgb(var(--fg-1) / <alpha-value> )',
muted: 'var(--fg-muted)',
},
dark: {
0: 'rgb(var(--bg) / <alpha-value>)',
},
},
},
},
plugins: [],
};