-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
59 lines (57 loc) · 1.74 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [ "./src/**/*.{js,jsx,ts,tsx}" ],
theme: {
extend: {
colors: {
tinkerYellow: '#f8ce46', // Main yellow
tinkerDarkYellow: 'rgba(248, 206, 70, .20)', // Filter button
tinkerGrey: '#202125', // Project card bg
tinkerLightGrey: '#2D2E34', // Selected active account bg
tinkerDarkGrey: '#16171b', // Project desc bg
tinkerTextGrey: '#7b7d84', // Card text
},
scrollbar: [ 'dark' ],
fontFamily: {
sans: [ "InterVariable", ...defaultTheme.fontFamily.sans ],
},
fontSize: {
'xxs': '0.7rem',
},
keyframes: {
colorChange: {
'0%': { backgroundColor: '#8B5CF6' }, // purple
'15%': { backgroundColor: '#D946EF' }, // violet
'30%': { backgroundColor: '#F59E0B' }, // orange
'45%': { backgroundColor: '#FCD34D' }, // amber
'60%': { backgroundColor: '#FBBF24' }, // yellow
'75%': { backgroundColor: '#34D399' }, // teal
'90%': { backgroundColor: '#60A5FA' }, // light blue
'100%': { backgroundColor: '#8B5CF6' }, // back to purple
},
},
animation: {
colorChange: 'colorChange 13s infinite',
},
scale: {
'10': '.1',
'20': '.2',
'30': '.3',
'40': '.4',
'50': '.5',
'60': '.6',
'70': '.7',
'80': '.8',
'90': '.9',
'100': '1',
'110': '1.1',
'120': '1.2',
'130': '1.3',
'140': '1.4',
'150': '1.5',
},
},
},
plugins: [ require("@tailwindcss/forms"), require('tailwind-scrollbar') ],
};