-
Notifications
You must be signed in to change notification settings - Fork 15
/
tailwind.config.ts
100 lines (97 loc) · 3.41 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import { nextui } from "@nextui-org/react";
import typography from "@tailwindcss/typography";
import scrollbar from "tailwind-scrollbar";
import { withTV } from "tailwind-variants/transformer";
import { Config } from "tailwindcss";
import legacyPreset from "./tailwind.legacy.preset";
const config: Config = withTV({
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./hooks/**/*.{js,ts,jsx,tsx}",
"./.storybook/**/*.{js,ts,jsx,tsx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
presets: [legacyPreset],
theme: {
extend: {
aspectRatio: {
"2.16/1": "2.16 / 1",
"3.41/1": "3.41 / 1",
"302/59": "302 / 59",
"0.89/1": "0.89 / 1",
"8/5": "8 / 5",
"16/9": "16 / 9",
},
colors: {
/** CONTAINER */
"container-1": "var(--container-1)",
"container-2": "var(--container-2)",
"container-3": "var(--container-3)",
"container-4": "var(--container-4)",
"container-action": "var(--container-action)",
"container-inverse": "var(--container-inverse)",
"container-stroke-separator": "var(--container-stroke-separator)",
"container-backdrop": "var(--container-backdrop)",
/** TEXT */
"text-1": "var(--text-1)",
"text-2": "var(--text-2)",
"text-3": "var(--text-3)",
"text-4": "var(--text-4)",
/** TEXT */
"label-red": "var(--label-red)",
"label-pink": "var(--label-pink)",
"label-green": "var(--label-green)",
"label-yellow": "var(--label-yellow)",
"label-orange": "var(--label-orange)",
"label-purple": "var(--label-purple)",
"label-blue": "var(--label-blue)",
"label-grey": "var(--label-grey)",
/** INTERACTION */
"interactions-error-default": "var(--interactions-error-default)",
"interactions-error-hover": "var(--interactions-error-hover)",
"interactions-error-active": "var(--interactions-error-active)",
"interactions-error-disabled": "var(--interactions-error-disabled)",
"interactions-white-default": "var(--interactions-white-default)",
"interactions-white-hover": "var(--interactions-white-hover)",
"interactions-white-active": "var(--interactions-white-active)",
"interactions-white-disabled": "var(--interactions-white-disabled)",
"interactions-black-default": "var(--interactions-black-default)",
"interactions-black-hover": "var(--interactions-black-hover)",
"interactions-black-active": "var(--interactions-black-active)",
"interactions-black-disabled": "var(--interactions-black-disabled)",
/**BRAND */
"brand-1": "var(--_Brand1)",
"brand-2": "var(--_Brand2)",
"brand-3": "var(--_Brand3)",
"brand-4": "var(--_Brand4)",
},
},
},
plugins: [
typography,
scrollbar({ nocompatible: true }),
nextui({
defaultTheme: "dark",
themes: {
dark: {
colors: {
background: "transparent",
primary: "#AE00FF", // Space Purple 500
},
layout: {
radius: {
large: "10px",
},
boxShadow: {
medium: "0px 8px 64px 0px rgba(0, 0, 0, 0.32)",
},
},
},
},
}),
],
});
export default config;