Skip to content

do not emit dark stylesheets when there is no dark brand#12400

Merged
gordonwoodhull merged 1 commit intomainfrom
bugfix/unnecessary-dark-stylesheets
Mar 28, 2025
Merged

do not emit dark stylesheets when there is no dark brand#12400
gordonwoodhull merged 1 commit intomainfrom
bugfix/unnecessary-dark-stylesheets

Conversation

@gordonwoodhull
Copy link
Copy Markdown
Member

Properly handle absent light or dark brand; do not emit empty light/dark brand bundles.

This fixes the syntax highlighting issue we were seeing. (But note the issue can still be seen with arrow syntax highlighting when JavaScript is disabled; see #12399.)

properly handle absent light or dark brand
do not emit empty light/dark brand bundles
@gordonwoodhull gordonwoodhull added this to the v1.7 milestone Mar 28, 2025
Comment thread tests/docs/smoke-all/dark-mode/no-brand.qmd
@gordonwoodhull gordonwoodhull merged commit f7076fe into main Mar 28, 2025
49 checks passed
@gordonwoodhull gordonwoodhull deleted the bugfix/unnecessary-dark-stylesheets branch March 28, 2025 12:47
gordonwoodhull added a commit that referenced this pull request Apr 7, 2025
these implicitly create a light theme as well
and will include two stylesheets

ref #12400
gordonwoodhull added a commit that referenced this pull request Apr 7, 2025
these implicitly create a light theme as well
and will include two stylesheets

ref #12400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants