mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-13 14:37:26 +00:00
The .btn skin is built for the light page ground (white fill, ink text). The topnav rail is #101418, so those buttons landed there as stray light-mode chips -- and ".bar a{color:var(--rail-text)}" outranks ".btn" on color (0,1,1 vs 0,1,0), so <a class="btn">Settings</a> painted rail-text on a white fill: 1.08:1, effectively invisible. Scope a rail variant to .bar: transparent fill, rail-text label, and a border at 38% rail-text (3.40:1, clearing the 3:1 non-text minimum -- --rail-line is only 1.4:1 and vanishes). Sign in keeps the green accent, the focus ring moves green -> mint (3.60:1 -> 9.03:1), and .faint/.dim in the bar resolve to --rail-dim. Settings and Sign out go 1.08:1 and light-chip-on-dark to 17.20:1. Body buttons are untouched -- every rule is .bar-scoped. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| test | ||
| .env.example | ||
| .gitignore | ||
| package.json | ||
| Procfile | ||
| railway.json | ||
| README.md | ||
@logicsrc/pwa — LogicSRC credentials
Express + libSQL/Turso app for team credential sharing: auth (email/password,
passkeys, CoinPay OAuth, sessions, lsk_ CLI API keys) + end-to-end-encrypted
team vaults. Zero-knowledge — the server only stores ciphertext, per-member
sealed vault keys, and identity public keys. Decryption happens in the
logicsrc CLI.
cp .env.example .env # set SESSION_SECRET; TURSO_* for prod (else local file db)
npm install
npm start # migrates on boot, serves on :8080
The CLI connects with LOGICSRC_API=<origin> logicsrc login (browser OAuth-PKCE
loopback → an lsk_ key). See docs/credential-sharing.md in the repo root.