-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
74 lines (72 loc) · 2.08 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import type { Config } from "tailwindcss";
const { nextui } = require("@nextui-org/react");
import theme from "./themes/static.json";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
container: {
center: true,
},
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
keyframes: {
"scrolling-banner": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(calc(-50% - var(--gap)/2))" },
},
"scrolling-banner-vertical": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(calc(-50% - var(--gap)/2))" },
},
},
animation: {
"scrolling-banner": "scrolling-banner var(--duration) linear infinite",
"scrolling-banner-vertical":
"scrolling-banner-vertical var(--duration) linear infinite",
},
},
},
darkMode: "class",
// plugins: [nextui()],
plugins: [
nextui({
prefix: "nextui",
addCommonColors: false, // override common colors (e.g. "blue", "green", "pink").
defaultTheme: "light", // default theme from the themes object
defaultExtendTheme: "light", // default theme to extend on custom themes
themes: {
light: {
colors: {
background: "#F8F8F8",
white: "#ffffff",
foreground: "#000000",
...theme.colors,
},
layout: {
disabledOpacity: "0.3",
radius: {
small: "4px",
medium: "6px",
large: "8px",
},
borderWidth: {
small: "1px",
medium: "2px",
large: "3px",
},
},
},
},
}),
],
};
export default config;