-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
103 lines (103 loc) · 3.73 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./shared/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
fontSize: {
'headline-xlg': [
'36px',
{ lineHeight: '42px', letterSpacing: '0.009em', fontWeight: 400 },
],
'headline-lg': [
'32px',
{ lineHeight: '40px', letterSpacing: '0.009em', fontWeight: 500 },
],
'headline-md': [
'28px',
{ lineHeight: '36px', letterSpacing: '0.009em', fontWeight: 400 },
],
'headline-sm': [
'18px',
{ lineHeight: '21px', letterSpacing: '0.009em', fontWeight: 700 },
],
'label-md': [
'12px',
{ lineHeight: '16px', letterSpacing: '0.009em', fontWeight: 500 },
],
'label-sm': [
'11px',
{ lineHeight: '16px', letterSpacing: '0.009em', fontWeight: 500 },
],
'body-lg': [
'16px',
{ lineHeight: '24px', letterSpacing: '0.009em', fontWeight: 500 },
],
'body-md': [
'14px',
{ lineHeight: '20px', letterSpacing: '0.009em', fontWeight: 400 },
],
'body-xmd': [
'14px',
{ lineHeight: '16px', letterSpacing: '0.009em', fontWeight: 400 },
],
'body-sm-lg': [
'12px',
{ lineHeight: '14px', letterSpacing: '0.009em', fontWeight: 400 },
],
'body-sm': [
'10px',
{ lineHeight: '20px', letterSpacing: '0.009em', fontWeight: 400 },
],
'subtitle-md': [
'12px',
{ lineHeight: '14px', letterSpacing: '0.009em', fontWeight: 400 },
],
'subtitle-lg': [
'16px',
{ lineHeight: '19px', letterSpacing: '0.009em', fontWeight: 400 },
],
caption: [
'10px',
{ lineHeight: '12px', letterSpacing: '0.009em', fontWeight: 400 },
],
// lg: ['32px', { lineHeight: '40px', letterSpacing: '-0.03em' }],
// xl: ['14px', { lineHeight: '24px', letterSpacing: '-0.03em' }],
// '2xl': ['14px', { lineHeight: '24px', letterSpacing: '-0.032em' }],
// '3xl': ['14px', { lineHeight: '24px', letterSpacing: '-0.032em' }],
// '4xl': ['14px', { lineHeight: '24px', letterSpacing: '-0.032em' }],
// '5xl': ['14px', { lineHeight: '24px', letterSpacing: '-0.032em' }],
},
fontFamily: {
roboto: ['Roboto', 'sans-serif'], //'sans-serif'
},
extend: {
colors: {
'color-one': 'rgba(var(--color-one), <alpha-value>)',
'color-two': 'rgba(var(--color-two), <alpha-value>)',
'color-three': 'rgba(var(--color-three), <alpha-value>)',
'color-four': 'rgba(var(--color-four), <alpha-value>)',
'color-five': 'rgba(var(--color-five), <alpha-value>)',
'color-six': 'rgba(var(--color-six), <alpha-value>)',
'color-stroke': 'rgba(var(--color-stroke), <alpha-value>)',
'color-protein': 'rgba(var(--color-protein), <alpha-value>)',
'color-fat': 'rgba(var(--color-fat), <alpha-value>)',
'color-carb': 'rgba(var(--color-carb), <alpha-value>)',
'color-vegetarian': 'rgba(var(--color-vegetarian), <alpha-value>)',
'color-hug': 'rgba(var(--color-hug), <alpha-value>)',
'color-neutral': 'rgba(var(--color-neutral), <alpha-value>)',
'color-star': 'rgba(var(--color-star), <alpha-value>)',
'color-border': 'rgba(var(--color-border), <alpha-value>)',
'color-secondary-light':
'rgba(var(--color-secondary-light), <alpha-value>)',
'color-secondary-dark':
'rgba(var(--color-secondary-dark), <alpha-value>)',
'color-dark': 'rgba(var(--color-dark), <alpha-value>)',
},
},
},
plugins: [],
};