-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.js
79 lines (77 loc) · 1.83 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
// @ts-check
/** @type {import('tailwindcss/lib/util/createPlugin').default} */
// @ts-ignore
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss/tailwind-config').TailwindConfig} */
module.exports = {
content: ['./libs/ui/**/*.{ts,tsx,mdx}', './app/**/*.{ts,tsx}'],
theme: {
extend: {
borderRadius: {
DEFAULT: '.0625rem',
},
},
fontFamily: {
display: ['"Haas Grot Disp Web"', 'sans-serif'],
sans: ['Inter', 'sans-serif'],
mono: ['"GT America Mono"', 'monospace'],
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#080F11',
white: '#FFFFFF',
gray: {
50: '#E7E7E8',
100: '#9EA5A7',
200: '#808789',
300: '#62696B',
400: '#353C3E',
450: '#2E3537',
500: '#1D2427',
550: '#131B1F',
600: '#0E1518',
},
red: {
500: '#E86886',
600: '#BC5770',
700: '#8F465A',
800: '#643644',
900: '#37252E',
950: '#211C23',
},
yellow: {
500: '#F5CF65',
600: '#C6AA56',
700: '#978447',
800: '#695F36',
900: '#3A3927',
950: '#222720',
},
blue: {
500: '#4969F6',
600: '#3C58CA',
700: '#30479E',
800: '#243670',
900: '#182544',
950: '#111C2F',
},
green: {
500: '#48D597',
600: '#3CAE7E',
700: '#2F8865',
800: '#24614A',
900: '#173B31',
950: '#112725',
},
},
},
plugins: [
plugin(({ addVariant }) => {
// imitation of the twin.macro svg: variant. svg:text-green-500 puts green
// on an SVG that's an immediate child of the element
addVariant('svg', '& > svg')
addVariant('children', '& > *')
}),
],
}