- web/: Vue 3 + Vite + UnoCSS + Pinia, dark tactical theme (amber/#0d1117) - AppNav, ListingCard, SearchView with filters/sort, composables (useSnipeMode, useKonamiCode, useMotion), Pinia search store - Steal shimmer, auction countdown, Snipe Mode easter egg all native in Vue - docker/web/: nginx + multi-stage Dockerfile (node build → nginx serve) - compose.yml: api (8510) + web (8509) services - Dockerfile CMD updated to uvicorn for upcoming FastAPI layer - Clean build: 0 TS errors, 380 modules
13 lines
603 B
TypeScript
13 lines
603 B
TypeScript
import { defineConfig, presetWind, presetAttributify } from 'unocss'
|
|
|
|
export default defineConfig({
|
|
presets: [
|
|
presetWind(),
|
|
// prefixedOnly: avoids false-positive CSS for bare attribute names like "h2", "grid",
|
|
// "shadow" in source files. Use <div un-flex> not <div flex>. Gotcha #4.
|
|
presetAttributify({ prefix: 'un-', prefixedOnly: true }),
|
|
],
|
|
// Snipe-specific theme tokens are defined as CSS custom properties in
|
|
// src/assets/theme.css — see that file for the full dark tactical palette.
|
|
// UnoCSS config is kept minimal; all colour decisions use var(--...) tokens.
|
|
})
|