-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
49 lines (47 loc) · 2.31 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
preflight: false,
},
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
fontFamily: {
sans: ['"Inter"', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif']
},
extend: {
spacing: {
"space-3xs": "clamp(0.31rem, calc(0.31rem + 0vw), 0.31rem)",
"space-2xs": "clamp(0.56rem, calc(0.54rem + 0.11vw), 0.63rem)",
"space-xs": "clamp(0.88rem, calc(0.85rem + 0.11vw), 0.94rem)",
"space-s": "clamp(1.13rem, calc(1.08rem + 0.22vw), 1.25rem)",
"space-m": "clamp(1.69rem, calc(1.62rem + 0.33vw), 1.88rem)",
"space-l": "clamp(2.25rem, calc(2.16rem + 0.43vw), 2.5rem)",
"space-xl": "clamp(3.38rem, calc(3.24rem + 0.65vw), 3.75rem)",
"space-2xl": "clamp(4.5rem, calc(4.33rem + 0.87vw), 5rem)",
"space-3xl": "clamp(6.75rem, calc(6.49rem + 1.3vw), 7.5rem)",
"space-3xs-2xs": "clamp(0.31rem, calc(0.2rem + 0.54vw), 0.63rem)",
"space-2xs-xs": "clamp(0.56rem, calc(0.43rem + 0.65vw), 0.94rem)",
"space-xs-s": "clamp(0.88rem, calc(0.74rem + 0.65vw), 1.25rem)",
"space-s-m": "clamp(1.13rem, calc(0.86rem + 1.3vw), 1.88rem)",
"space-m-l": "clamp(1.69rem, calc(1.4rem + 1.41vw), 2.5rem)",
"space-l-xl": "clamp(2.25rem, calc(1.73rem + 2.61vw), 3.75rem)",
"space-xl-2xl": "clamp(3.38rem, calc(2.81rem + 2.83vw), 5rem)",
"space-xl-2xl": " clamp(4.5rem, calc(3.46rem + 5.22vw), 7.5rem)",
},
fontSize: {
"step--2": "clamp(0.7rem, calc(0.73rem + -0.03vw), 0.72rem)",
"step--1": "clamp(0.9rem, calc(0.89rem + 0.07vw), 0.94rem)",
base: "clamp(1.25rem, calc(1.25rem + 0vw), 1.25rem)",
"step-1": "clamp(1.41rem, calc(1.32rem + 0.45vw), 1.67rem)",
"step-2": "clamp(1.76rem, calc(1.6rem + 0.81vw), 2.22rem)",
"step-3": "clamp(2.2rem, calc(1.93rem + 1.33vw), 2.96rem)",
"step-4": "clamp(2.75rem, calc(2.33rem + 2.09vw), 3.95rem)",
"step-5": "clamp(3.43rem, calc(2.8rem + 3.18vw), 5.26rem)",
"step-6": "clamp(4.29rem, calc(3.34rem + 4.73vw), 7.01rem)",
"step-7": "clamp(5.36rem, calc(3.98rem + 6.93vw), 9.35rem)",
"step-8": "clamp(6.71rem, calc(4.7rem + 10.01vw), 12.46rem)",
},
},
},
plugins: [],
};