-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (57 loc) · 1.48 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
/** @type {import('tailwindcss').Config} */
const isWidgetOnly = process.env.MODE === "widget";
module.exports = {
important: isWidgetOnly ? '#jupiter-terminal' : false,
corePlugins: {
preflight: isWidgetOnly ? false : true,
},
mode: 'jit',
darkMode: 'class',
content: [
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
'jupiter-input-light': '#EBEFF1',
'jupiter-bg': '#3A3B43',
'jupiter-jungle-green': '#24AE8F',
'jupiter-primary': '#FBA43A',
warning: '#FAA63C',
'v3-bg': 'rgba(28, 41, 54, 1)',
'v3-primary': '#c7f284',
},
fontSize: {
xxs: ['0.625rem', '1rem'],
},
backgroundImage: {
'v3-text-gradient': 'linear-gradient(247.44deg, #C7F284 13.88%, #00BEF0 99.28%)',
},
keyframes: {
shine: {
'100%': {
'background-position': '200% center',
},
},
hue: {
'0%': {
'-webkit-filter': 'hue-rotate(0deg)',
},
'100%': {
'-webkit-filter': 'hue-rotate(-360deg)',
},
},
},
animation: {
shine: 'shine 3.5s linear infinite',
hue: 'hue 10s infinite linear',
}
},
},
variants: {
extend: {
// Enable dark mode, hover, on backgroundImage utilities
backgroundImage: ['dark', 'hover', 'focus-within', 'focus'],
},
},
}