-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind-tailwind.config.js
56 lines (54 loc) · 1.67 KB
/
tailwind-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
const tailwindColors = require("tailwindcss/colors");
const { fontFamily } = require("tailwindcss/defaultTheme");
const tailwindThemePlugin = require("tailwindcss-variable-themes");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/tailwind-colors/*.tsx", "./components/**/*.tsx"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-inter)", ...fontFamily.sans],
},
},
},
plugins: [
tailwindThemePlugin({
themes: {
"gray-light": {
primary: tailwindColors.gray,
},
"gray-dark": {
primary: {
50: tailwindColors.gray["900"],
100: tailwindColors.gray["800"],
200: tailwindColors.gray["700"],
300: tailwindColors.gray["600"],
400: tailwindColors.gray["500"],
500: tailwindColors.gray["400"],
600: tailwindColors.gray["300"],
700: tailwindColors.gray["200"],
800: tailwindColors.gray["100"],
900: tailwindColors.gray["50"],
},
},
"amber-light": {
primary: tailwindColors.amber,
},
"amber-dark": {
primary: {
50: tailwindColors.amber["900"],
100: tailwindColors.amber["800"],
200: tailwindColors.amber["700"],
300: tailwindColors.amber["600"],
400: tailwindColors.amber["500"],
500: tailwindColors.amber["400"],
600: tailwindColors.amber["300"],
700: tailwindColors.amber["200"],
800: tailwindColors.amber["100"],
900: tailwindColors.amber["50"],
},
},
},
}),
],
};