Repository navigation
style(web): warm paper/ink palette, serif display type, pill buttons, hero gradient wash - #22
Conversation
… hero gradient wash
Reviewer's GuideThis PR implements a warm paper-and-ink visual refresh across the web app by changing theme tokens, adding Fraunces display typography, introducing pill button variants, and redesigning the marketing hero with sunset gradients and a recolored scan illustration, with corresponding design documentation and changelog updates. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
🤖 SENTINEL-V DeepForensics AI Review
📋 1. Executive SummaryThis Pull Request introduces a significant visual refresh to the SENTINEL-V web interface. It transitions the UI to a warm paper/ink color palette with a burnt-orange accent, incorporates the Fraunces serif typeface for display headings, updates button styles to a pill shape, and enhances the hero section with a sunset-gradient wash and recolored illustration. The changes are primarily confined to CSS variables, component styling, and font imports, aiming to improve the aesthetic appeal and brand consistency of the platform. 🛡️ 2. Specification & Policy Compliance Checklist
🔍 3. Deep Forensic Findings & Vulnerability Analysis🔴 [BLOCKING] IssuesNone detected. 🟡 [WARNING] Architectural & Code Quality Improvements
🟢 [VERIFIED] Strengths & Positive Highlights
💡 4. Actionable Next Steps
5. Inline Actionable Suggestions (FOR CONVERSATIONS)`` |
| variants: { | ||
| variant: { | ||
| primary: 'bg-accent text-accent-contrast shadow-1 hover:bg-accent/90 hover:shadow-2', | ||
| primary: 'bg-text text-bg shadow-1 hover:bg-text/85 hover:shadow-2', |
There was a problem hiding this comment.
🟡 Clarify Button Variant Naming
The 'primary' variant now uses 'bg-text', while 'accent' uses 'bg-accent'. To avoid potential confusion, consider renaming 'primary' to 'text-primary' or 'ink-primary' to better reflect its color source, or consolidate if 'accent' is the intended primary call-to-action.
| primary: 'bg-text text-bg shadow-1 hover:bg-text/85 hover:shadow-2', | |
| text-primary: 'bg-text text-bg shadow-1 hover:bg-text/85 hover:shadow-2', |
| | accent-contrast on accent | 6.06 | 8.30 | | ||
| | band-authentic on its 10% tint | 4.99 | 7.62 | | ||
| | band-review on its 10% tint | 4.82 | 8.53 | | ||
| | band-manipulated on its 10% tint | 5.58 | 6.39 | |
There was a problem hiding this comment.
🟡 Update band-on-tint contrast ratios
The comment indicates these values are from the previous palette. For complete and accurate documentation, please re-measure and update these contrast ratios to reflect the new color palette.
| | band-manipulated on its 10% tint | 5.58 | 6.39 | | |
| | band-authentic on its 10% tint | [NEW_LIGHT_VALUE] | [NEW_DARK_VALUE] | | |
| | band-review on its 10% tint | [NEW_LIGHT_VALUE] | [NEW_DARK_VALUE] | | |
| | band-manipulated on its 10% tint | [NEW_LIGHT_VALUE] | [NEW_DARK_VALUE] | |
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="web/src/design/Logo.tsx" line_range="12" />
<code_context>
- <stop offset="0" stopColor="rgb(44 199 192)" />
- <stop offset="1" stopColor="rgb(109 91 208)" />
+ <stop offset="0" stopColor="rgb(242 153 79)" />
+ <stop offset="1" stopColor="rgb(79 86 190)" />
</linearGradient>
</defs>
</code_context>
<issue_to_address>
**Logo retains the old cool palette**
When the logo is displayed in the refreshed interface, `LogoMark` updates its gradient but keeps a navy tile and cool blue-white check, so the brand mark remains visibly tied to the previous palette in the refreshed interface.
Update the tile and check colors to match the new ink-and-paper palette, using theme-aware tokens if needed.
</issue_to_address>Sourcery assessment
Approved.
| <stop offset="0" stopColor="rgb(44 199 192)" /> | ||
| <stop offset="1" stopColor="rgb(109 91 208)" /> | ||
| <stop offset="0" stopColor="rgb(242 153 79)" /> | ||
| <stop offset="1" stopColor="rgb(79 86 190)" /> |
There was a problem hiding this comment.
⚪ Low · Logo retains the old cool palette
When the logo is displayed in the refreshed interface, LogoMark updates its gradient but keeps a navy tile and cool blue-white check, so the brand mark remains visibly tied to the previous palette in the refreshed interface.
Update the tile and check colors to match the new ink-and-paper palette, using theme-aware tokens if needed.
Prompt for AI agents
In `web/src/design/Logo.tsx` at line 12:
**Logo retains the old cool palette**
When the logo is displayed in the refreshed interface, `LogoMark` updates its gradient but keeps a navy tile and cool blue-white check, so the brand mark remains visibly tied to the previous palette in the refreshed interface.
Update the tile and check colors to match the new ink-and-paper palette, using theme-aware tokens if needed.
What this changes
Visual direction. Warm paper-and-ink palette with a burnt-orange accent, Fraunces serif display headings, ink pill buttons, and a soft sunset-gradient wash behind the hero (inspired by the Decision Archaeologist and Sarvam sites). Light and dark themes; contrast re-measured in
docs/design/tokens.md.Highlights
#F4EFE6) and ink (#16130F) background and surface tokens with burnt-orange (#A6400E/#F2994F) accents.@fontsource-variable/frauncesfor display headers (h1,h2,.font-display)..hero-washmulti-radial gradient behind the scan illustration and updated typography.docs/design/tokens.mdthat all text, muted, and accent tokens meet WCAG AA.Tests
npx tsc --noEmit: Cleannpx vitest run: 26 passed (4 files)npm run build: Clean build with optimized chunkingpython3 tools/check_no_metric_literals.py&check_locked_files.py: PassedSummary by Sourcery
Refresh the web experience with a warm paper-and-ink visual system, serif display type, pill-shaped actions, and a softer gradient-led hero presentation.
New Features:
Enhancements:
Build:
Documentation: