-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.cjs
72 lines (70 loc) · 1.74 KB
/
tailwind.config.cjs
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
const colors = require('tailwindcss/colors')
const fallbackFonts = `ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans"`
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
fontFamily: {
text: `Nunito, ${fallbackFonts}, sans-serif`,
interface: `Nunito, ${fallbackFonts}, sans-serif`,
},
colors: {
white: colors.white,
black: colors.black,
current: colors.current,
inherit: colors.inherit,
transparent: colors.transparent,
neutral: {
400: '#858585', // Labels, captions
700: '#384156', // Some secondary texts
900: '#151515', // Primary text
},
gray: {
100: '#F7F8FA',
200: '#F2F4F7',
300: '#EDEFF3',
400: '#E8EBF0',
500: '#CFD3DB',
},
pink: {
100: '#FEEBEF',
400: '#FDD3DD',
700: '#F9AABC',
900: '#EA7590',
},
orange: {
100: '#FEF3EB',
400: '#FEE3D2',
700: '#FFD0B3',
900: '#F7995F',
},
yellow: {
100: '#FEF9E6',
400: '#FDEDAF',
700: '#FBE598',
900: '#F6C955',
},
green: {
100: '#E6F9E8',
400: '#A2ECA8',
700: '#81E489',
900: '#42C24D',
},
blue: {
100: '#E3F3FC',
400: '#B7E2FA',
700: '#90D3F9',
900: '#439ACB',
},
purple: {
100: '#F1EBFE',
400: '#DBCEF8',
700: '#CAB5F8',
900: '#9B7BE0',
},
failure: '#F65555',
},
},
plugins: [],
important: '#root', // To gain more priority than css modules classes have
}