-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathtailwind.config.js
159 lines (153 loc) · 5.01 KB
/
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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
const plugin = require('tailwindcss/plugin')
const colors = require('tailwindcss/colors');
module.exports = {
mode: 'jit',
darkMode: 'class',
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./styles/templates/**/*.{js,ts,jsx,tsx}",
'./src/**/*.{js,jsx,ts,tsx}'
],
plugins: [
//hide scrollbar
plugin(function({ addComponents }) {
const components = {
// ...
'.hideScroll::-webkit-scrollbar': {
width: '12px',
},
'.hideScroll::-webkit-scrollbar-track': {
background: 'rgb(33, 37, 41)',
border: '2px solid theme(\'colors.prim2\')',
"border-radius": '20px',
},
'.hideScroll::-webkit-scrollbar-thumb': {
"background-color": 'theme(\'colors.prim2\')',
// "border-radius": '50% / 10%',
border: '4px solid theme(\'colors.back\')'
},
}
addComponents(components)
}),
//splotch
plugin(function({ addComponents }) {
const components = {
'.splotch': {
backgroundImage: "url(/right-bg-decor.png)",
backgroundPosition: 'bottom right'
},
'.splotch-mobile': {
backgroundImage: "url(/right-bg-decor-mob.png)",
backgroundPosition: 'bottom right'
}
}
addComponents(components)
}),
//no
plugin(function({ addComponents }) {
const components = {
'.text-overflow-none': {
'text-overflow': "initial",
'white-space': 'normal',
overflow: 'visible'
},
'.text-overflow-trunc': {
'text-overflow': 'ellipsis',
'white-space': 'nowrap',
overflow: 'hidden'
}
}
addComponents(components)
}),
require("daisyui"),
require('tailwind-scrollbar')
],
daisyui: {
styled: true,
// themes: true,
// base: true,
// utils: true,
logs: true,
// rtl: false,
// prefix: "",
// darkTheme: "night",
themes: [
{
arlight: {
primary: "#1273ea",
secondary: "#1273ea",
accent: "#37cdbe",
neutral: "#3d4451",
"base-100": "#fff",
"--rounded-box": "1rem", // border radius rounded-box utility class, used in card and other large boxes
"--rounded-btn": "6px", // border radius rounded-btn utility class, used in buttons and similar element
"--rounded-badge": "1.9rem", // border radius rounded-badge utility class, used in badges and similar
"--animation-btn": "0.25s", // duration of animation when you click on button
"--animation-input": "0.2s", // duration of animation for inputs like checkbox, toggle, radio, etc
"--btn-text-case": "normal-case", // set default text transform for buttons
"--btn": "",
"--btn-focus-scale": "0.95", // scale transform of button when you focus on it
"--border-btn": "1px", // border width of buttons
"--tab-border": "1px", // border width of tabs
"--tab-radius": "0.5rem",
}
},
{
ardark: {
primary: "#1273ea",
secondary: "#1273ea",
accent: "#ADD0E6",
neutral: "#3d4451",
"base-100": "#0f1729",
"base-200": "#000",
"--btn-text-case": "normal-case", // set default text transform for buttons
"--rounded-box": "1rem", // border radius rounded-box utility class, used in card and other large boxes
"--rounded-btn": "6px", // border radius rounded-btn utility class, used in buttons and similar element
"--rounded-badge": "1.9rem", // border radius rounded-badge utility class, used in badges and similar
"--animation-btn": "0.25s", // duration of animation when you click on button
"--animation-input": "0.2s", // duration of animation for inputs like checkbox, toggle, radio, etc
"--btn-text-case": "normal-case", // set default text transform for buttons
"--btn": "",
"--btn-focus-scale": "0.95", // scale transform of button when you focus on it
"--border-btn": "1px", // border width of buttons
"--tab-border": "1px", // border width of tabs
"--tab-radius": "0.5rem",
}
}
]
},
theme: {
extend: {
fontFamily: {
inter: 'Inter-Regular, regular'
},
colors: {
'gray-450': 'rgb(136, 136, 136)',
sviolet : 'rgb(156, 82, 139)',
prim1: 'rgb(227, 181, 164)',
prim2: 'rgb(149, 239, 174)',
nftbg: 'rgba(255, 255, 255, 0.10)',
buttonSelected: 'rgba(18, 115, 234, 0.2)',
back: 'rgb(29, 30, 44)',
pri: {
900: '#CBFB01',
100: '#C4E49E',
},
sec: colors.indigo,
ter: colors.slate,
pinksheet: {
900: '#E154C2',
100: '#CBB0DA',
},
bluechip: {
900: '#2F2F86',
100: '#ADC1E5',
},
},
height: {
'body': 'calc(100vh - 56px)',
},
}
},
}