forked from jup-ag/terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
58 lines (56 loc) · 1.47 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
/** @type {import('tailwindcss').Config} */
const isWidgetOnly = process.env.MODE === 'widget';
module.exports = {
important: isWidgetOnly ? '#jupiter-terminal' : false,
mode: 'jit',
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
'jupiter-input-light': '#EBEFF1',
'jupiter-jungle-green': '#24AE8F',
'jupiter-primary': '#FBA43A',
warning: '#FAA63C',
'v3-bg': 'rgba(28, 41, 54, 1)',
'v3-primary': '#c7f284',
'v3-modal': '#222B33',
'v2-lily': '#E8F9FF',
},
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',
},
boxShadow: {
'swap-input-dark': '0px 2px 16px rgba(199, 242, 132, 0.25)',
},
},
},
variants: {
extend: {
// Enable dark mode, hover, on backgroundImage utilities
backgroundImage: ['dark', 'hover', 'focus-within', 'focus'],
},
},
};