Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
W
www
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • www
  • Repository

Switch branch/tag
  • www
  • styles
  • parvagues.module.css
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    refactor(styles): extract token layer, kill the global neon leak · 9a2498a9
    Phase 1 Step 4. Move the palette out of globals.css :root into a new
    styles/tokens.css: a neutral/professional default on :root (landing +
    content) and the ParVagues neon/dark palette scoped to
    [data-theme="parvagues"], set on the app/parvagues/layout.tsx wrapper.
    The ~90 var(--…) consumers resolve against that ancestor scope, so
    theming is one attribute — no per-component edits.
    
    - globals.css: drop the :root palette + hardcoded dark html/body bg;
      body now reads var(--surface)/var(--text-primary).
    - parvagues.module.css: remove the dead duplicate .colorRoot/.colorContainer.
    - main.css: replace the body:not(:has(.parvagues-root)) element-style hack
      with a positive .site-shell scope on the content Layout container; links
      use the new --link token.
    - delete dead styles/dunbar.module.css.
    
    Verified: prod build green (14 routes, ParVagues ISR intact); fresh-dev
    smoke all 200; data-theme scoping confirmed (landing neutral, parvagues neon).
    Co-Authored-By: 's avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
    PLN (Algolia) authored Jun 07, 2026
    9a2498a9
parvagues.module.css 13.6 KB
EditWeb IDE
×

Replace parvagues.module.css

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.