forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
87 lines (86 loc) · 2.58 KB
/
Copy pathtailwind.config.ts
File metadata and controls
87 lines (86 loc) · 2.58 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
82
83
84
85
86
87
import type { Config } from 'tailwindcss'
export default {
content: ['./src/renderer/index.html', './src/renderer/src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
bg: {
primary: 'transparent',
secondary: 'transparent',
tertiary: 'transparent',
quaternary: 'transparent',
color: 'transparent'
},
text: {
primary: 'rgba(255, 255, 255, 0.95)',
secondary: 'rgba(255, 255, 255, 0.72)',
tertiary: 'rgba(255, 255, 255, 0.48)',
quaternary: 'rgba(255, 255, 255, 0.32)'
},
purple: {
primary: 'rgba(255, 255, 255, 0.9)',
secondary: 'rgba(255, 255, 255, 0.75)',
accent: 'rgba(255, 255, 255, 0.6)',
light: 'rgba(255, 255, 255, 0.95)'
},
signal: {
record: 'rgba(255, 255, 255, 0.9)',
recordDim: 'rgba(255, 255, 255, 0.2)'
},
success: 'rgba(255, 255, 255, 0.85)',
warning: 'rgba(255, 255, 255, 0.65)',
error: 'rgba(255, 255, 255, 0.75)',
info: 'rgba(255, 255, 255, 0.72)'
},
fontFamily: {
display: [
'"SF Pro Display"',
'"SF Pro Text"',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI Variable"',
'system-ui',
'sans-serif'
],
body: [
'"SF Pro Display"',
'"SF Pro Text"',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI Variable"',
'system-ui',
'sans-serif'
]
},
backdropBlur: {
glass: '24px',
'glass-lg': '48px'
},
boxShadow: {
glass: '0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1)',
'glass-hover':
'0 12px 40px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14)'
},
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(6px)' },
'100%': { opacity: '1', transform: 'translateY(0)' }
},
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' }
},
pulseRing: {
'0%, 100%': { transform: 'scale(1)', opacity: '0.4' },
'50%': { transform: 'scale(1.12)', opacity: '0.15' }
}
},
animation: {
'fade-in': 'fadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both',
shimmer: 'shimmer 2s ease-in-out infinite',
'pulse-ring': 'pulseRing 2s ease-in-out infinite'
}
}
},
plugins: []
} satisfies Config