Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromastyles for line highlighting isn't using the correct color #11445

Closed
mandaris opened this issue Sep 12, 2023 · 2 comments · Fixed by #11446
Closed

Chromastyles for line highlighting isn't using the correct color #11445

mandaris opened this issue Sep 12, 2023 · 2 comments · Fixed by #11446
Assignees

Comments

@mandaris
Copy link

What version of Hugo are you using (hugo version)?

hugo v0.118.2-da7983ac4b94d97d776d7c2405040de97e95c03d+extended darwin/amd64 BuildDate=2023-08-31T11:23:51Z VendorInfo=brew

Does this issue reproduce with the latest release?

Yes.

What are the steps to reproduce?

Using the command found in the documentation at https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css

hugo gen chromastyles --style=monokai > syntax.css

This generates a css file where the line highlight is the following.

/* LineHighlight */ .chroma .hl { background-color: #ffffcc }

When you run chroma by itself using the following command

chroma -s monokai --html-styles --style=monokai

it will generate the following css

/* LineHighlight */ .chroma .hl { background-color: #3c3d38 }
@jmooring jmooring self-assigned this Sep 12, 2023
jmooring added a commit to jmooring/hugo that referenced this issue Sep 13, 2023
jmooring added a commit to jmooring/hugo that referenced this issue Sep 13, 2023
jmooring added a commit to jmooring/hugo that referenced this issue Sep 13, 2023
@mandaris
Copy link
Author

@jmooring Thank you for looking into this so quickly.

bep pushed a commit that referenced this issue Sep 14, 2023
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants