Thanks to visit codestin.com
Credit goes to github.com

Skip to content

commands: fix github-dark chromastyles#14831

Closed
xndvaz wants to merge 3 commits into
gohugoio:masterfrom
xndvaz:fix/github-dark-style-14730
Closed

commands: fix github-dark chromastyles#14831
xndvaz wants to merge 3 commits into
gohugoio:masterfrom
xndvaz:fix/github-dark-style-14730

Conversation

@xndvaz
Copy link
Copy Markdown
Contributor

@xndvaz xndvaz commented Apr 29, 2026

Summary

  • update Chroma to the commit that adds NameOther to github-dark
  • make hugo gen chromastyles emit foreground overrides for explicit leaf tokens omitted by Chroma same-as-background optimization
  • add regressions for github-dark / .nx

Closes #14730

Tests

  • go test ./markup/highlight -run TestGitHubDarkStyleIncludesNameOther -count=1
  • go test -run 'TestCommands/gen' .
  • ./check.sh ./markup/highlight/...
  • ./check.sh ./commands/...
  • ./check.sh

AI assistance disclosure:

  • Developed with AI assistance; changes and validation were reviewed before submission.

@gemini-code-assist
Copy link
Copy Markdown

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

@bep
Copy link
Copy Markdown
Member

bep commented May 9, 2026

Will finish this in #14853

@bep bep closed this May 9, 2026
@xndvaz xndvaz deleted the fix/github-dark-style-14730 branch May 9, 2026 19:02
bep pushed a commit to bep/hugo that referenced this pull request May 10, 2026
bep pushed a commit that referenced this pull request May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Syntax highlighting style: github doesn't match github-dark. They can't be used for dual theme websites.

2 participants