-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
98 lines (97 loc) · 2.35 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 colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}', // Note the addition of the `app` directory.
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-modern-era)', ...defaultTheme.fontFamily.sans],
mono: ['var(--font-dm-mono)', ...defaultTheme.fontFamily.mono],
},
colors: {
transparent: "transparent",
black: "#000",
white: "#FFF",
grey: {
50: "#F3F3F5",
100: "#EBEBEB",
150: "#F3F3F5",
200: "#C4C1CF",
250: "#BEBEBE",
300: "#A7A2B6",
400: "#555", // "#757087",
500: "#0E0333",
},
blue: {
...colors.blue,
100: "#D3EDFE",
200: "#15B8DC",
300: "#5F94BC",
800: "#15003E"
},
green: {
...colors.green,
50: "#DCF5F2",
100: "#ADEDE5",
200: "#47A095",
300: "rgba(0, 67, 59, 1)",
},
orange: {
...colors.orange,
100: "#FFD9CD",
},
violet: {
100: "#F0EBFF",
200: "#C9B8FF",
300: "#8C65F7",
400: "#6F3FF5",
500: "#5932C4",
},
teal: {
100: "#E6FFF9",
200: "#B3FFED",
300: "#5BF1CD",
400: "#02E2AC",
500: "#11BC92",
},
pink: {
100: "#FDDEE4",
200: "#FAADBF",
300: "#F579A6",
400: "#F3587D",
500: "#D03E63",
},
yellow: {
100: "#FFF8DB",
200: "#FFEEA8",
300: "#FFDB4C",
400: "#FFCC00",
500: "#E1B815",
},
red: {
100: "#D44D6E",
},
"gitcoin-violet": {
100: "#F0EBFF",
200: "#C9B8FF",
300: "#8C65F7",
400: "#6F3FF5",
500: "#5932C4",
},
},
},
},
plugins: [
require("@tailwindcss/typography"),
// require("@tailwindcss/forms"),
// require("@tailwindcss/line-clamp"),
function ({ addVariant }) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
},
],
}