-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
98 lines (97 loc) · 2.32 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
const plugin = require('tailwindcss/plugin');
const defaultTheme = require('tailwindcss/defaultTheme');
const typographyPlugin = require('./tailwind.plugins/typography');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./components/**/*.{js,vue,ts}', './layouts/**/*.vue', './pages/**/*.vue', './plugins/**/*.{js,ts}'],
theme: {
colors: {
transparent: 'transparent',
white: '#ffffff',
black: {
DEFAULT: '#000000',
warm: '#242424',
},
gray: {
warm: '#f2efed',
DEFAULT: '#777777',
100: '#f8f7f6',
200: '#f2efed',
300: '#C2BFBE',
400: '#CCCCCC',
600: '#72706F',
700: '#61605F',
800: '#666666',
900: '#999999',
},
orange: {
100: '#FFE2D6',
DEFAULT: '#FF4D00',
},
green: {
100: '#DBEDE0',
DEFAULT: '#008223',
700: '#00CF30',
},
yellow: {
DEFAULT: '#F4CB63',
},
blue: {
DEFAULT: '#62C3F4',
},
red: {
100: '#F9D7DD',
DEFAULT: '#D80228',
},
},
fontFamily: {
sans: ['TWK Everett', ...defaultTheme.fontFamily.sans],
offbit: ['OffBit', ...defaultTheme.fontFamily.sans],
mono: defaultTheme.fontFamily.mono,
},
extend: {
borderColor: {
DEFAULT: '#C2BFBE',
},
spacing: {
30: '7.5rem',
35: '8.75rem',
45: '11.25rem',
50: '12.5rem',
60: '15rem',
70: '17.5rem',
},
boxShadow: {
card: '16px 32px 128px -8px rgba(0, 0, 0, 0.07)',
'large-card': '0px 15px 54px 0px rgba(0, 0, 0, 0.06)',
},
dropShadow: {
button: '0 15px 34px rgba(0, 0, 0, 0.1)',
'button-hov': '0 10px 34px rgba(0, 0, 0, 0.13)',
},
animation: {
'spin-slow': 'spin 20s linear infinite',
},
},
container: {
center: true,
padding: {
DEFAULT: '1.5rem',
lg: '2rem',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@headlessui/tailwindcss'),
typographyPlugin,
plugin(({ addComponents }) => {
addComponents({
'.label': {
'@apply block caption text-gray-800': {},
},
});
}),
],
};