35d46f532a
- electron/epic.ts: auto-detect Epic Games from Manifests/*.item (skip DLCs) - electron/favorites.ts: persist favorites + recent (last 20) in userData - electron/steam.ts: replace winreg callbacks with reg query execSync + fallback paths - electron: new IPC handlers — favorites:get/toggle, recent:get; launch tracks recent - UI: star button on cards (favorites), sort A→Z/Z→A toggle, skeleton loading, fade-in card animation, Epic/Favorites/Recent filter tabs, SVG placeholder with initials Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
39 lines
930 B
TypeScript
39 lines
930 B
TypeScript
import type { Config } from 'tailwindcss'
|
|
|
|
export default {
|
|
content: ['./src/**/*.{ts,tsx}', './index.html'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
bg: '#0f0f0f',
|
|
card: '#1a1a2e',
|
|
cardHover: '#16213e',
|
|
accent: '#22c55e',
|
|
accentHover: '#16a34a',
|
|
surface: '#0f3460',
|
|
text: '#e2e8f0',
|
|
muted: '#64748b',
|
|
border: '#1e293b',
|
|
},
|
|
aspectRatio: {
|
|
steam: '460 / 215',
|
|
},
|
|
animation: {
|
|
'fade-in': 'fadeIn 0.22s ease-out both',
|
|
shimmer: 'shimmer 1.4s ease-in-out infinite',
|
|
},
|
|
keyframes: {
|
|
fadeIn: {
|
|
from: { opacity: '0', transform: 'translateY(8px)' },
|
|
to: { opacity: '1', transform: 'translateY(0)' },
|
|
},
|
|
shimmer: {
|
|
'0%, 100%': { opacity: '0.4' },
|
|
'50%': { opacity: '0.8' },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
} satisfies Config
|