Skip to content

Pgeditor critic dark mode#3016

Merged
Alex-Jordan merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:pgeditor-critic-dark-mode
Jun 11, 2026
Merged

Pgeditor critic dark mode#3016
Alex-Jordan merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:pgeditor-critic-dark-mode

Conversation

@drgrice1

Copy link
Copy Markdown
Member

This is basically the same fix used for the hardcopy theme xml preview. This just adds the text-dark class to the container.

Also switch the "Loading..." placeholder that shows while a problem is rendering to using the bg-secondary-subtle background instead of the bg-secondary background. The bg-secondary-subtle background is responsive to the color scheme, and so works for both light or dark mode.

Maybe this fixes all the cases for the editor now?

This is basically the same fix used for the hardcopy theme xml preview.
This just adds the `text-dark` class to the container.

Also switch the "Loading..." placeholder that shows while a problem is
rendering to using the `bg-secondary-subtle` background instead of the
`bg-secondary` background.  The `bg-secondary-subtle` background is
responsive to the color scheme, and so works for both light or dark
mode.
@drgrice1 drgrice1 changed the base branch from main to WeBWorK-2.21 June 10, 2026 21:09
@Alex-Jordan Alex-Jordan merged commit bc13c21 into openwebwork:WeBWorK-2.21 Jun 11, 2026
2 checks passed
@drgrice1 drgrice1 deleted the pgeditor-critic-dark-mode branch June 11, 2026 10:55
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.

3 participants