-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
64 lines (62 loc) · 1.4 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
const tones = Array.from({ length: 10 }).reduce((obj, val, index) => {
const tone = index == 0 ? '50' : String(index * 100);
const tones = Array.from({ length: 10 }).reduce((_obj, _val, _index) => {
const _tone = String(_index) + (_index != 0 ? '0' : '');
_obj[tone + '/' + _tone] = `var(--${tone}-${_tone})`;
return _obj;
}, {});
obj = {
...tones,
...obj
};
return obj;
}, {});
/** @type {import('tailwindcss').Config}*/
const config = {
mode: 'jit',
important: true,
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'none',
theme: {
extend: {
hueRotate: {
0: 'var(--500)'
},
colors: {
// Reed
dark: '#16151d',
waohhh: '#000000',
cards: '#191919',
carrd: '#000000',
violet_samp: 'rgba(139, 92, 246, .50)',
blue_samp: 'rgba(59, 130, 246, .50)',
emerald_samp: 'rgba(16, 185, 129, .50)',
rose_samp: 'rgba(239, 68, 68, .50)',
summer_samp: 'rgb(250, 95, 100)',
themable_samp: 'rgba(245, 158, 11, .50)',
modes: {
dark: '#16151d',
light: ''
},
themable: {
...tones,
900: 'var(--900)',
800: 'var(--800)',
700: 'var(--700)',
600: 'var(--600)',
500: 'var(--500)',
400: 'var(--400)',
300: 'var(--300)',
200: 'var(--200)',
100: 'var(--100)',
50: 'var(--50)'
}
}
}
},
variants: {
extend: {}
},
plugins: [require('@tailwindcss/typography')]
};
module.exports = config;