mirror of
https://github.com/Dvorinka/Dash.git
synced 2026-10-29 00:01:24 +00:00
feat: phase 0 foundation — monorepo scaffold, backend, frontend, CI, docker
Establishes the skeleton every later phase builds on: Go+Gin API with zap logging, /api/healthz, SQLite+goose runner; Vite+React18+TS strict+ Tailwind v4 frontend with bento-mono theme tokens; openapi.yaml driving a generated TS client; oxlint with vendored anti-slop rules; GitHub CI; multi-stage Dockerfile -> 33.6MB distroless image; docker compose up serves the blank board. Generated with [Devin](https://devin.ai) Authored By: TDvorak <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
e7f32949e9
commit
b60821350a
46 files changed
+6415
-10
No files matched your search
@@ -0,0 +1,81 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/* Design tokens — ported from mockups/d-bento-mono.html.
|
||||
Semantic vars flip on [data-theme]; Tailwind utilities map via @theme. */
|
||||
:root {
|
||||
--ease: cubic-bezier(0.2, 0, 0, 1);
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
--bg: #0a0a0a;
|
||||
--surface: #111111;
|
||||
--surface-hover: #161616;
|
||||
--border: rgba(255, 255, 255, 0.08);
|
||||
--border-strong: rgba(255, 255, 255, 0.14);
|
||||
--text: #fafafa;
|
||||
--text-dim: #a1a1aa;
|
||||
--text-faint: #52525b;
|
||||
--accent: #3b82f6;
|
||||
--up: #22c55e;
|
||||
--down: #f59e0b;
|
||||
--icon-bg: #1c1c1e;
|
||||
--popover: #141414;
|
||||
}
|
||||
|
||||
[data-theme="light"] {
|
||||
--bg: #fafafa;
|
||||
--surface: #ffffff;
|
||||
--surface-hover: #f4f4f5;
|
||||
--border: rgba(0, 0, 0, 0.08);
|
||||
--border-strong: rgba(0, 0, 0, 0.16);
|
||||
--text: #09090b;
|
||||
--text-dim: #52525b;
|
||||
--text-faint: #a1a1aa;
|
||||
--accent: #2563eb;
|
||||
--up: #16a34a;
|
||||
--down: #d97706;
|
||||
--icon-bg: #f4f4f5;
|
||||
--popover: #ffffff;
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-bg: var(--bg);
|
||||
--color-surface: var(--surface);
|
||||
--color-surface-hover: var(--surface-hover);
|
||||
--color-border: var(--border);
|
||||
--color-border-strong: var(--border-strong);
|
||||
--color-text: var(--text);
|
||||
--color-text-dim: var(--text-dim);
|
||||
--color-text-faint: var(--text-faint);
|
||||
--color-accent: var(--accent);
|
||||
--color-up: var(--up);
|
||||
--color-down: var(--down);
|
||||
--color-icon-bg: var(--icon-bg);
|
||||
--color-popover: var(--popover);
|
||||
--font-sans: "Geist Variable", ui-sans-serif, system-ui, -apple-system, sans-serif;
|
||||
--font-mono: "Geist Mono Variable", ui-monospace, monospace;
|
||||
}
|
||||
|
||||
html {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
min-height: 100dvh;
|
||||
transition:
|
||||
background 200ms var(--ease),
|
||||
color 200ms var(--ease);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
* {
|
||||
transition: none !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user