Generalized matching not visible in dark mode

9 views
Skip to first unread message

Sean Fitzpatrick

unread,
Jun 26, 2025, 3:42:56 PM6/26/25
to PreTeXt development
There's an issue with the CSS for generalized matching problems in dark mode.
See the screenshot below.
The screenshot is in the Salem theme, but I also see this using default modern.

This is a PROTEUS exercise, so it's only on Runestone:

Screenshot from 2025-06-26 13-39-40.png

Bradley Miller

unread,
Jun 26, 2025, 3:52:56 PM6/26/25
to PreTeXt development
In the PreTeXt sample book on Runestone academy they look like this in dark mode.   It looks like you are building with an outdated version of the components.  When was the last time your built?  I assume you are using the author interface to build the books?   Looks like you built recently and is using the latest version.   Very odd.

Screenshot 2025-06-26 at 2.46.29 PM.png

Sean Fitzpatrick

unread,
Jun 26, 2025, 3:55:00 PM6/26/25
to PreTeXt development
I've rebuilt several times today on the author interface, because I'm having image generation issues. But I've also built locally using CLI 2.20 and I see the same thing there.
On Runestone we're using the Salem theme, and when I build locally I'm using the default theme.

Andrew Scholer

unread,
Jun 26, 2025, 5:35:05 PM6/26/25
to prete...@googlegroups.com
Brad - 

It looks like relevant `draggableBgColor` CSS variable is in dragndrop.less. In the sample book, matching and dragndrop problems appear on the same page and all those styles are loaded. But in a work that has just matching problems on a given page, that variable isn't loaded.

Not sure if you want to extract those rules to some common file, @import the dragndrop from machine, or something else.

Andrew Scholer (he/him/his)
Computer Science Instructor
Chemeketa Community College


--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/d871bb8a-e3f8-4a5b-8be6-847471e0dee6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages