-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.js
48 lines (47 loc) · 1.39 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
import { createThemes } from 'tw-colors';
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
content: ['./index.html', './src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
colors: {
neutral: {
1: 'rgba(var(--color-neutral-1))',
3: 'rgba(var(--color-neutral-3))',
4: 'rgba(var(--color-neutral-4))',
6: 'rgba(var(--color-neutral-6))',
7: 'var(--color-neutral-7)',
},
},
backgroundImage: {
selected:
'linear-gradient(270deg, #323337 50%, rgba(80, 62, 110, 0.29) 100%)',
'selected-light':
'linear-gradient(270deg, #fefefe 50%, rgba(255, 255, 255, 0.29) 100%)',
},
},
},
plugins: [
createThemes({
dark: {
text: '#fefefe',
bg: '#141718',
light: '#1F2022',
accent: {
1: '#1F2022',
2: '#191A1D',
},
},
light: {
text: '#141718',
bg: '#fefefe',
light: '#f3f5f7',
accent: {
1: '#fefefe',
2: '#f3f5f7',
},
},
}),
],
};