-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind-custom.config.js
53 lines (50 loc) · 1.29 KB
/
tailwind-custom.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
const { fontFamily } = require("tailwindcss/defaultTheme");
const tailwindThemePlugin = require("tailwindcss-variable-themes");
/**
* colors partially picked from https://vercel.com/design/color
*/
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/custom/*.tsx", "./components/**/*.tsx"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-inter)", ...fontFamily.sans],
},
},
},
plugins: [
tailwindThemePlugin({
themes: {
light: {
geist: {
foreground: "#000",
background: "#fff",
"accents-1": "#fafafa",
"accents-2": "#eaeaea",
"accents-3": "#999",
"accents-4": "#888",
"accents-5": "#666",
"accents-6": "#444",
"accents-7": "#333",
"accents-8": "#111",
},
},
dark: {
geist: {
foreground: "#fff",
background: "#000",
"accents-8": "#fafafa",
"accents-7": "#eaeaea",
"accents-6": "#999",
"accents-5": "#888",
"accents-4": "#666",
"accents-3": "#444",
"accents-2": "#333",
"accents-1": "#111",
},
},
},
}),
],
};