Skip to content

style(web): warm paper/ink palette, serif display type, pill buttons, hero gradient wash - #22

Merged
ADITYASINGH1206 merged 1 commit into
mainfrom
feat/veriframe-visual-palette-overhaul
Oct 29, 2026
Merged

ADITYASINGH1206 merged 1 commit into
mainfrom
feat/veriframe-visual-palette-overhaul

Conversation

@ADITYASINGH1206

@ADITYASINGH1206 ADITYASINGH1206 commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

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

  • Palette: Warm paper (#F4EFE6) and ink (#16130F) background and surface tokens with burnt-orange (#A6400E / #F2994F) accents.
  • Typography: Added self-hosted @fontsource-variable/fraunces for display headers (h1, h2, .font-display).
  • Hero: Added .hero-wash multi-radial gradient behind the scan illustration and updated typography.
  • Pill Buttons: Rounded pill action buttons with subtle hover lift and warm focus rings.
  • Contrast Ratios: Verified in docs/design/tokens.md that all text, muted, and accent tokens meet WCAG AA.

Tests

  • npx tsc --noEmit: Clean
  • npx vitest run: 26 passed (4 files)
  • npm run build: Clean build with optimized chunking
  • python3 tools/check_no_metric_literals.py & check_locked_files.py: Passed

Summary 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:

  • Add Fraunces display typography and a sunset-gradient wash to the marketing hero.
  • Introduce ink primary and accent pill button styles across the UI.

Enhancements:

  • Refresh light and dark themes with a warm paper-and-ink palette, burnt-orange accents, updated shadows, and recoloured hero and marketing illustrations.
  • Re-measure and document the updated design-token contrast ratios for accessibility.

Build:

  • Add the self-hosted Fraunces variable font dependency and configure it for display typography.

Documentation:

  • Update the changelog and design-token documentation for the visual refresh and accessibility contrast measurements.

@sourcery-ai

sourcery-ai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This 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

Change Details Files
Replaced the blue/teal visual system with warm paper-and-ink light/dark tokens and updated documented contrast measurements.
  • Updated background, surface, border, text, accent, violet, status-band, and shadow variables for both themes.
  • Added the warm palette rationale and revised WCAG contrast ratios to the design token documentation.
  • Updated marketing mini-grid colors to match the dark ink palette.
web/src/index.css
docs/design/tokens.md
web/src/components/marketing/FeatureBento.tsx
Introduced Fraunces as the display typeface and applied a larger serif hierarchy to marketing headings.
  • Added the self-hosted Fraunces variable font dependency and application import.
  • Configured the display font family and shared h1/h2 styling.
  • Adjusted hero and section heading sizing, weight, spacing, and emphasis.
web/package.json
web/package-lock.json
web/src/main.tsx
web/src/index.css
web/src/pages/marketing/Home.tsx
web/src/design/ui.tsx
web/tailwind.config.js
Refreshed the hero presentation with a layered sunset gradient wash and recolored scan illustration.
  • Added light and dark hero-wash radial gradients and reduced the legacy grid prominence.
  • Recolored the scan illustration, scan line, evidence frame, subject, labels, and illustration badge for the warm palette.
  • Updated the logo gradient and dark logo background to align with the new brand colors.
web/src/index.css
web/src/pages/marketing/Home.tsx
web/src/components/marketing/ScanHero.tsx
web/src/design/Logo.tsx
Converted the shared action controls to pill-shaped buttons while preserving an explicit accent variant.
  • Made all button sizes and icon buttons fully rounded.
  • Changed the default primary button to ink-on-paper and added a separate burnt-orange accent variant.
  • Adjusted large button sizing and shared radius tokens.
web/src/design/ui.tsx
web/tailwind.config.js
Recorded the visual refresh in the project changelog.
  • Added a release-note entry covering the palette, typography, buttons, hero wash, illustration, and contrast review.
docs/CHANGELOG.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

🤖 SENTINEL-V DeepForensics AI Review

Status Target PR Author Review Engine
[VERDICT_BADGE: ✅ APPROVE] #22 - style(web): warm paper/ink palette, serif display type, pill buttons, hero gradient wash @ADITYASINGH1206 Google Gemini DeepForensics

📋 1. Executive Summary

This 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

Rule / Invariant Status Details / Audit Finding
No Hardcoded / Invented Results ✅ Pass The PR correctly updates computed contrast ratios in docs/design/tokens.md and does not introduce any hardcoded or invented metrics, performance numbers, or screening verdicts. The CHANGELOG.md entry correctly notes a previous removal of invented metrics, reinforcing adherence to this rule.
Locked Core Untouched (Additive Only) ✅ Pass All changes are confined to the web/ directory and documentation (docs/), which are part of the integration layer. No modifications were made to core SENTINEL platform files.
Upstream Submodule Purity (smsdt) ✅ Pass The third_party/smsdt submodule remains untouched. All changes are within the web/ and docs/ directories.
Forbidden Copy Compliance ✅ Pass The PR does not introduce any forbidden terms like "FAKE", "REAL", "100%", "guaranteed", or "AI-certified" in UI strings or API responses. The mandatory screening disclaimer is not directly affected by these styling changes.
Calibrated Probabilities & Decisions ✅ Pass This PR is purely a styling update and does not alter any logic related to calibration, thresholds, or Platt scaling. The ScanHero.tsx component still correctly uses platt() and priorCorrect() for its illustrative values.
Unit & Integration Test Coverage ✅ Pass As this PR is purely a visual styling update, it primarily affects presentation rather than new logic or bug fixes. The existing vitest tests for copy rules, brand guard, calibration maths, etc., are expected to pass, ensuring no regressions in content or core functionality. No new functional logic requiring dedicated unit/integration tests was introduced.
Security, Secrets & Sandboxing ✅ Pass The changes are limited to front-end styling and documentation. There are no new backend logic, external calls, shell executions, or input validations introduced that could pose SSRF, secret leakage, or sandboxing risks.

🔍 3. Deep Forensic Findings & Vulnerability Analysis

🔴 [BLOCKING] Issues

None detected.

🟡 [WARNING] Architectural & Code Quality Improvements

  1. Contrast Ratio Documentation Discrepancy:
    • File: docs/design/tokens.md
    • Line: 40
    • Explanation: The comment the band-on-tint rows below are from the previous palette and were not re-measured indicates that some documented contrast ratios are outdated. While the primary text/background contrasts have been updated, the band-on-tint values are important for accessibility and should be re-measured and updated to reflect the new palette. This is a documentation inconsistency rather than a code bug, but it's important for maintaining accurate design system documentation.
    • Recommendation: Re-measure and update the band-authentic on its 10% tint, band-review on its 10% tint, and band-manipulated on its 10% tint contrast ratios for both light and dark modes to reflect the new palette.

🟢 [VERIFIED] Strengths & Positive Highlights

  • Comprehensive Styling Update: The PR delivers a cohesive and well-thought-out visual refresh, consistently applying the new palette, typography, and component styles across the affected UI elements.
  • Semantic Token Usage: The use of CSS variables (--bg, --text, --accent, etc.) for color tokens in web/src/index.css is excellent, allowing for easy theming and maintainability, especially with the color-scheme declaration for light/dark mode.
  • Accessibility Consideration: The updated contrast ratios in docs/design/tokens.md demonstrate a continued commitment to WCAG compliance, which is crucial for a public-facing platform.
  • SVG Illustration Update: The detailed recoloring of the ScanHero.tsx SVG illustration to match the new palette is well-executed, maintaining visual harmony.
  • Clear Changelog Entry: The CHANGELOG.md entry is descriptive and accurately summarizes the visual changes, aiding future project understanding.

💡 4. Actionable Next Steps

  1. Update Band-on-Tint Contrast Ratios: Please re-measure and update the band-on-tint contrast ratios in docs/design/tokens.md to reflect the new color palette for both light and dark modes.
  2. Review accent-contrast usage: While accent-contrast is defined, the primary button variant now uses bg-text text-bg. Ensure this is the intended design for primary buttons and that accent-contrast is used consistently where an accent-colored background requires contrasting text. If accent-contrast is no longer needed for primary buttons, consider if its definition is still necessary or if it should be renamed to reflect its actual usage.

⚠️ Mandatory Screening Aid Notice: Screening aid — not proof. Human review required for consequential action.


5. Inline Actionable Suggestions (FOR CONVERSATIONS)

``

Comment thread web/src/design/ui.tsx
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',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Suggested change
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',

Comment thread docs/design/tokens.md
| 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 |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Suggested change
| 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] |

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread web/src/design/Logo.tsx
<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)" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ 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.

@ADITYASINGH1206
ADITYASINGH1206 merged commit 593890e into main Oct 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant