forked from archway-network/archway-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
91 lines (90 loc) · 2.21 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
const defaultTheme = require('tailwindcss/defaultTheme');
const typographyPlugin = require('./tailwindcss.plugins/typography');
const prose = require('./tailwindcss.plugins/prose');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./components/**/*.{js,vue,ts}', './layouts/**/*.vue', './pages/**/*.vue', './plugins/**/*.{js,ts}'],
safelist: [{ pattern: /(w|h)-/, variants: ['sm', 'md', 'lg', 'xl', '2xl'] }],
theme: {
colors: {
transparent: 'transparent',
white: '#ffffff',
black: {
DEFAULT: '#000000',
warm: '#242424',
light: '#000000aa',
100: '#181818',
},
gray: {
DEFAULT: '#e4e4e4',
100: '#f2efed',
200: '#c0c0c0',
300: '#cccccc',
400: '#dddddd',
500: '#555555',
600: '#666666',
700: '#777777',
800: '#888888',
900: '#999999',
1000: '#f7f7f7',
1100: '#F6F7F8',
},
orange: {
100: '#FFE2D6',
DEFAULT: '#FF4D00',
},
green: {
100: '#DBEDE0',
DEFAULT: '#008223',
700: '#00CF30',
},
yellow: {
DEFAULT: '#F4CB63',
},
red: {
100: '#F9D7DD',
DEFAULT: '#D80228',
},
},
fontFamily: {
sans: ['TWK Everett', ...defaultTheme.fontFamily.sans],
inter: ['Inter', ...defaultTheme.fontFamily.sans],
},
extend: {
boxShadow: {
card: '16px 32px 128px -8px rgba(0, 0, 0, 0.07)',
},
borderColor: {
DEFAULT: '#C2BFBE',
},
spacing: {
30: '7.5rem',
35: '8.75rem',
45: '11.25rem',
50: '12.5rem',
60: '15rem',
70: '17.5rem',
},
animation: {
'spin-slow': 'spin 20s linear infinite',
},
typography: prose,
},
container: {
center: true,
padding: '1.5rem',
// default breakpoints but with 40px removed
screens: {
xl: defaultTheme.screens['2xl'],
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@headlessui/tailwindcss'),
typographyPlugin,
],
};