You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2026/04/01 02:25:00 UTC
[jira] [Resolved] (FLINK-39353) Dark mode text is nearly unreadable after recent Flink website rebuild
[ https://issues.apache.org/jira/browse/FLINK-39353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonard Xu resolved FLINK-39353.
--------------------------------
Resolution: Fixed
Fixed via asf-site: 9302a944ae02a964c907286926a6b8ab13aa9c9b and a38a876206697cbcd5f41a4a90b9b52f1289abc0
> Dark mode text is nearly unreadable after recent Flink website rebuild
> ----------------------------------------------------------------------
>
> Key: FLINK-39353
> URL: https://issues.apache.org/jira/browse/FLINK-39353
> Project: Flink
> Issue Type: Bug
> Components: Project Website
> Reporter: Rui Fan
> Assignee: Leonard Xu
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2026-03-30-12-27-26-610.png, image-2026-03-30-12-28-14-663.png
>
>
> h2. Problem
> The Apache Flink website ([https://flink.apache.org/]) is nearly unreadable in dark mode (prefers-color-scheme: dark). Specifically:
> * The "Flink Capabilities" section: headings and body text (e.g. "Exactly-once state consistency") are dark gray on a near-black background, barely visible
> * The "Use Cases" section has the same issue
> * Blog card text also has severely reduced contrast
> The website was still displaying correctly as of March 15, 2026 ([Web Archive snapshot|https://web.archive.org/web/20260315191034/https://flink.apache.org/]).
> h2. Root Cause
> Commit {{6bdf6191e}} ("Add FlinkCDC v3.6.0 and Rebuild website") used a locally installed Hugo 0.159.0 to build the site, but {{docker-build.sh}} pins Hugo 0.124.1. Hugo 0.159.0 produces different SCSS compilation output, breaking the dark mode CSS.
> h2. Fix
> # Rebuild the website with Hugo 0.124.1 using {{build.sh build}}
> # Add Hugo version check to {{build.sh}} — extract {{REQUIRED_HUGO_VERSION}} to {{_utils.sh}} as single source of truth, both {{build.sh}} and {{docker-build.sh}} reference it
> h2. Screenshots
> !image-2026-03-30-12-27-26-610.png|width=1173,height=695!
> h2. !image-2026-03-30-12-28-14-663.png|width=1205,height=714!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)