[GRASS-git] [OSGeo/grass-website] 1b1672: Single-source brand tokens; remove orphaned style....

Corey White noreply at github.com
Wed Jul 15 07:44:56 PDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass-website
  Commit: 1b1672621ea993b26d916054476ceecbe06e22b5
      https://github.com/OSGeo/grass-website/commit/1b1672621ea993b26d916054476ceecbe06e22b5
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M config.toml
    M content/about/brand.md
    M content/about/history/releases.md
    M content/about/history/web-evolution.md
    R themes/grass/assets/css/style.css
    M themes/grass/assets/sass/_colors.scss
    A themes/grass/assets/sass/_css-variables.scss
    M themes/grass/assets/sass/main.scss
    M themes/grass/layouts/partials/head.html

  Log Message:
  -----------
  Single-source brand tokens; remove orphaned style.css (issue #600) (#645)

* Fix code-block highlighting and squashed timeline margins (issue #600)

Two regressions surfaced by the Bootstrap 5 / SCSS migration:

- Code blocks rendered dark-on-dark: #599 dropped the highlight.js theme
  <link> from head.html, and Hugo's Chroma was double-highlighting fenced
  code with an inline monokai background that showed through highlight.js's
  translucent GRASS theme. Re-link the highlight.js stylesheet and disable
  Chroma (markup.highlight.codeFences = false) so highlight.js is the sole
  highlighter.
- History timeline pages (releases, web-evolution) wrapped the timeline in a
  bare .row with no .col, so Bootstrap 5's negative row gutter pulled the
  content outside the card padding. Add mx-0 to neutralize the gutter.

* Single-source brand tokens; remove orphaned style.css (issue #600)

The brand page documents var(--gs-*) custom properties, but the compiled
stylesheet never defined them: they only lived in a hand-maintained
assets/css/style.css that #599 stopped serving (and in the GRASS core docs).

- add _css-variables.scss: a :root{--gs-*} block generated from the $gs-*
  Sass tokens, with the light/lighter/lightest ramp derived from each base
  color so every step stays in lockstep; wire it into main.scss
- delete the orphaned assets/css/style.css (superseded by the compiled SCSS;
  its post-fork fixes were already ported into the SCSS in #599)
- reconcile token drift at the source: primary-light lighter/lightest use
  135 not 138, secondary-light steps use 74,120,125 not 74,121,127
- fix the brand page typo advertising --gs-primary-ligh-color

The token block is self-contained so the same --gs-* set can be exported to
the GRASS core docs (man/mkdocs, python/grass/docs) and the Quarto tutorials
as a follow-up, replacing today's hand-copied duplicates.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-website/settings/notifications


More information about the grass-commit mailing list