Commit 329abd6
[luv-332] feat: restyle dashboard for befailproof.ai theme; drop light mode (#332)
* [luv-332] feat: restyle dashboard for befailproof.ai theme; drop light mode
Swap the dashboard palette from deep-navy + sky-blue to near-black + electric
cyan (#0a0a0a / #06b6d4) with a sharper 0.5rem radius, wire Geist Mono via
next/font/google, paint a faint cyan radial vignette behind the canvas, and
turn the loading splash into a terminal-prompt with a blinking caret. The
navbar drops the Exosphere icon + "Failproof AI" text combo for the failproof
wordmark from the CDN. Light mode is removed entirely — ThemeContext,
ThemeProvider, ThemeToggle, Logo (theme-branching), the localStorage-keyed
pre-paint script, the .light CSS block, and the obsolete public/exospheresmall*
assets all go. Also fixes the entry-highlight keyframe (which referenced
hsl(var(--primary)/0.15) against a hex variable, so the row-click highlight
never actually painted) using color-mix(in oklch, …).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-332] docs: drop dashboard 'Theme' section after removing light mode
The "## Theme" section in docs/dashboard.mdx described a runtime light/dark
toggle that no longer exists. Drop it rather than rewriting to "the dashboard
is dark" — that line adds no information for the reader.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-332] docs: fold dashboard.mdx cleanup note into changelog entry
Keep the restyle as a single coherent changelog entry rather than splitting
across "feature" and "docs" lines, since the docs deletion is downstream of
the same code change.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-332] docs: stamp PR number in changelog entry
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-332] fix: address CodeRabbit review on PR #332
- app/layout.tsx: drop the inline <script> (used to set the dark class) and
inline <style> (loading-screen CSS). The dark class is now rendered
statically via className={`${geistMono.variable} dark`} so no inline JS is
required, and the loading-screen placeholder is removed entirely — with no
theme indeterminacy there's no FOUC to mask. Cleaner CSP posture, fewer
ast-grep warnings on dangerouslySetInnerHTML.
- app/globals.css: also drop the now-unused #__loading and body > * unhide
rules and the caret-blink keyframe; add the empty line before
`position: relative;` in the body block to satisfy the
declaration-empty-line-before stylelint rule.
- CHANGELOG.md: tighten the Unreleased entry from a long narrative paragraph
to a single dense paragraph (~half the prior length). The CodeRabbit
guideline of "single line" is honored in spirit but not literally — every
existing entry under Unreleased / 0.0.10-beta.x is multi-paragraph prose,
so a true one-liner here would diverge from house style.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-332] docs: shorten changelog entry to one line per project rule
Per the CHANGELOG.md format rule documented in CLAUDE.md ("Each entry should
be a single line: a short description followed by the PR number") and
reiterated in CodeRabbit's review on PR #332. The detailed prose now lives
only in the PR description.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-332] feat: re-palette dashboard to brand colors (black/pink/green)
Replace the cyan-on-near-black scheme from the prior commits with the actual
failproofai brand: black-dominant canvas (#09090b — matches the dark logo
SVG's text fill), pink primary #e4587d (from docs/docs.json's colors.light),
green accent (#4ade80 / #16a34a / #18e299 — the leaf gradient stops in
docs/logo/dark.svg). The faint top-of-page wash is now pink instead of
cyan, focus rings + active states + the entry-highlight keyframe pick up
the new --primary automatically through the existing @theme inline tokens.
Also swap the navbar wordmark from the CDN PNG to the local SVG copy at
public/wordmark.svg (sourced from docs/logo/dark.svg) — sharper at any
size, includes the green leaf, and removes the external-host dependency.
New CSS variables --success / --success-deep / --success-glow expose the
green leaf gradient stops as theme tokens for status indicators.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* Revert "[luv-332] feat: re-palette dashboard to brand colors (black/pink/green)"
This reverts commit 99cef7f.
* [luv-332] feat: switch primary accent from cyan to brand pink #e4587d
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 070a9c6 commit 329abd6
16 files changed
Lines changed: 108 additions & 454 deletions
File tree
- __tests__
- components
- helpers
- app
- components
- components
- ui
- contexts
- docs
- public
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 6 | + | |
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments