-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtailwind.config.js
More file actions
76 lines (75 loc) · 2.14 KB
/
Copy pathtailwind.config.js
File metadata and controls
76 lines (75 loc) · 2.14 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
import { addIconSelectors } from '@iconify/tailwind'
import typography from '@tailwindcss/typography'
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./src/renderer/index.html',
'./src/renderer/src/**/*.{vue,js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#3b82f6',
dark: '#2563eb',
light: '#60a5fa',
},
secondary: {
DEFAULT: '#8b5cf6',
dark: '#7c3aed',
light: '#a78bfa',
},
accent: {
DEFAULT: '#10b981',
dark: '#059669',
light: '#34d399',
},
},
boxShadow: {
'premium': '0 4px 20px rgba(0, 0, 0, 0.03)',
'premium-hover': '0 30px 60px rgba(59, 130, 246, 0.12)',
'glass': '0 8px 32px 0 rgba(31, 38, 135, 0.07)',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
heading: ['Outfit', 'sans-serif'],
},
animation: {
'fade-in-up': 'fadeInUp 0.5s ease-out',
'fade-in': 'fadeIn 0.5s ease-out',
'menu': 'menuIn 0.12s ease-out',
'pulse-soft': 'pulseSoft 2s infinite ease-in-out',
'indeterminate': 'indeterminate 1.2s infinite ease-in-out',
},
keyframes: {
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
// Snappy dropdown/popover entrance: quick fade + faint scale from
// the anchor edge (pair with origin-top / origin-bottom).
menuIn: {
'0%': { opacity: '0', transform: 'scale(0.97)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
pulseSoft: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.8' },
},
indeterminate: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
},
},
},
},
darkMode: 'class',
plugins: [
typography,
addIconSelectors(['tabler']),
],
}