-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
65 lines (63 loc) · 1.82 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
import type { Config } from 'tailwindcss';
{
/*
import { toneMap } from '@nextcss/color-tools';
function generateColors(color) {
console.log(color, toneMap(color));
return {
DEFAULT: color,
...toneMap(color),
};
}
*/
}
const config: Config = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/styles/**/*.{js,ts,jsx,tsx}',
'./node_modules/react-tailwindcss-datepicker/dist/index.esm.{js,ts}',
],
theme: {
extend: {
borderWidth: {
1: '1px',
},
colors: {
primary: {
DEFAULT: 'var(--primary)',
100: 'var(--primary-100)',
200: 'var(--primary-200)',
250: 'var(--primary-250)',
300: 'var(--primary-300)',
350: 'var(--primary-350)',
400: 'var(--primary-400)',
450: 'var(--primary-450)',
},
block: {
connect: '#DF5C25',
text: '#6EBD72',
image: '#6FBADB',
divide: '#8BCF42',
video: '#8348E9',
calendar: '#D144AD',
event: '#EDB72A',
},
input: {
line: 'var(--input-color-line)',
bg: 'var(--input-color-bg)',
},
text: {
333: 'var(--foreground)',
444: '#444444',
666: '#666666',
999: '#999999',
ddd: '#dddddd',
ccc: '#cccccc',
},
},
},
},
plugins: [],
};
export default config;