forked from noodle-run/noodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
60 lines (59 loc) · 1.45 KB
/
tailwind.config.ts
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
import { nextui } from "@nextui-org/react";
import type { Config } from "tailwindcss";
import { primary, secondaryDark, secondaryLight } from "./src/utils/colors";
const config: Config = {
content: [
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
gridTemplateAreas: {
featuresWide: [
`leftTop leftTop centerTop centerTop centerTop right right`,
`leftBottom leftBottom leftBottom centerBottom centerBottom right right`,
],
},
fontFamily: {
sans: ["var(--font-sans)"],
mono: ["var(--font-mono)"],
},
},
},
plugins: [
require("@tailwindcss/typography"),
require("@savvywombat/tailwindcss-grid-areas"),
nextui({
prefix: "noodle",
layout: {
radius: {
small: "4px",
medium: "8px",
large: "12px",
},
},
themes: {
light: {
colors: {
background: "#ffffff",
foreground: "#000000",
primary: {
...primary,
foreground: "#ffffff",
},
secondary: secondaryLight,
},
},
dark: {
colors: {
background: "#000000",
foreground: "#ffffff",
primary,
secondary: secondaryDark,
},
},
},
}),
],
};
export default config;