forked from jup-ag/plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
81 lines (75 loc) · 2.24 KB
/
tailwind.config.js
File metadata and controls
81 lines (75 loc) · 2.24 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/** @type {import('tailwindcss').Config} */
const isWidgetOnly = process.env.MODE === 'widget';
module.exports = {
corePlugins: {
preflight: true,
},
mode: 'jit',
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
// Theming
primary: 'rgba(var(--jupiter-plugin-primary, 199, 242, 132), <alpha-value>)',
background: 'rgba(var(--jupiter-plugin-background,0, 0, 0), <alpha-value>)',
'primary-text': 'rgba(var(--jupiter-plugin-primary-text,232, 249, 255),<alpha-value>)',
warning: 'rgba(var(--jupiter-plugin-warning,251, 191, 36),<alpha-value>)',
interactive: 'rgba(var(--jupiter-plugin-interactive,33, 42, 54),<alpha-value>)',
module: 'rgba(var(--jupiter-plugin-module,16, 23, 31),<alpha-value>)',
'v3-bg': 'rgba(28, 41, 54, 1)',
// #region V3 palette
'utility-warning-300': '#B54708',
'success':'#23C1AA',
'uiv2-text': '#07090F',
'landing-bg': '#0b0e13',
'landing-gradient-start': '#0f111a',
'landing-gradient-end': '#181b27',
'landing-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)',
},
},
pulse: {
'0%, 100%': {
opacity: '1',
},
'50%': {
opacity: '.5',
},
},
},
animation: {
shine: 'shine 3.5s linear infinite',
hue: 'hue 10s infinite linear',
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
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'],
},
},
};