Skip to content

Conversation

@chalin
Copy link
Contributor

@chalin chalin commented Jan 31, 2026

  • Fixes Navbar items are very difficult to read in dark mode #54234
  • Applies a filter to the #announcement so that the background color is a bit darker.
  • Sets the navbar to be a little bit less transparent
  • The above two tweaks make the navbar text readable
  • Longer-term fix is to upgrade Docsy. It has improved navbar styling and reliable light/dark mode support

Preview: https://deploy-preview-54235--kubernetes-io-main-staging.netlify.app/

Screenshots

Before:

image

After:

image

Same solution applied to the standard hero:

image

/cc @nate-double-u

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tengqm for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes label Jan 31, 2026
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 31, 2026
@netlify
Copy link

netlify bot commented Jan 31, 2026

Pull request preview available for checking

Name Link
🔨 Latest commit 7d5bcab
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/697d4ea5865b4a0008fdd3e8
😎 Deploy Preview https://deploy-preview-54235--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chalin chalin force-pushed the chalin-m24-nabar-better-contrast-2026-0130 branch from 7d64da2 to 7d5bcab Compare January 31, 2026 00:36
@chalin chalin changed the title Make navbar background semi-transparent Make announcement bg darker and navbar bg semi-transparent Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navbar items are very difficult to read in dark mode

2 participants