forked from amadeobrands/valorem-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
95 lines (95 loc) · 2.12 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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ['_site/**/*.{html,js}'],
theme: {
fontFamily: {
primary: 'nm',
secondary: 's',
mono: 'maison',
},
lineHeight: {
tight: '0.9',
neutral: '1.0',
snug: '1.1',
normal: '1.6',
loose: '1.8'
},
listStyleType: {
none: 'none',
decimal: 'decimal',
square: 'square',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
white: '#ffffff',
purple: {
600: '#151B50',
500: '#3E5DC7',
400: '#C4B3E2'
},
gray: {
900: '#111F2E',
800: '#233747',
700: '#405365',
600: '#768592',
500: '#95A3AD',
400: '#D8DFE2',
300: '#F2F2F2',
200: '#F8F8F8',
'cool': '#DDE3EC'
}
},
fontSize: {
xs: ['0.75rem', '1.6'],
sm: ['0.875rem', '1.6'],
base: ['1rem', '1.6'],
lg: ['1.125rem', '1.6'],
xl: ['1.25rem', '1.6'],
'2xl': ['1.5rem', '1.6'],
'3xl': ['1.75rem', '1.6'],
'4xl': ['2rem', '1.1'],
'5xl': ['3rem', '1.1'],
'6xl': ['3.75rem', '1.1'],
'7xl': ['4.5rem', '1.1'],
'8xl': ['6rem', '1.1'],
'9xl': ['8rem', '1.1']
},
extend: {
letterSpacing: {
tight: '-.010em',
wide: '.010em',
wider: '.075em'
},
spacing: {
'18': '4.5rem'
}
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/aspect-ratio'),
plugin(function({ matchUtilities, theme }) {
matchUtilities(
{
'bg-gradient': (angle) => ({
'background-image': `linear-gradient(${angle}, var(--tw-gradient-stops))`,
}),
},
{
// values from config and defaults you wish to use most
values: Object.assign(
theme('bgGradientDeg', {}), // name of config key. Must be unique
{
default: '214.68deg',
}
)
}
)
})
],
};