From 1bc15fe70a0c2e12f5ea0abb2f9e423363b2a403 Mon Sep 17 00:00:00 2001 From: ScottW514 Date: Mon, 28 Sep 2026 15:32:29 -0400 Subject: [PATCH] forgetest: theme.css from forgectrl at its new pin The pin to forgectrl 4b39663 brings theme.css's rules for the Extensions tab and a package's page in the panel's theme (94d8af5), which forgetest's shared copy did not have, so check-ui-vendor would fail forgetest-ci. The copy is forgectrl's file at 4b39663, byte for byte; the rules only add classes forgetest's page does not use. Proof: scripts/check-ui-vendor.py, fetching forgectrl's files from GitHub at the pinned revision, reports the shared UI files identical. --- forgetest/forgetest/ui/theme.css | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/forgetest/forgetest/ui/theme.css b/forgetest/forgetest/ui/theme.css index 384a2dd..9de9131 100644 --- a/forgetest/forgetest/ui/theme.css +++ b/forgetest/forgetest/ui/theme.css @@ -816,8 +816,25 @@ footer a { text-align: right; } -/* A package's interface: the label is the panel's, the frame is the - package's, and the frame is given a size rather than taking one. */ -#extframe { margin-top: 0.6rem; } -.extframe-label { padding: 0.3rem 0; } -.extframe { width: 100%; height: 360px; border: 1px solid #444; background: #fff; } +/* A package's card on the Extensions tab: the card and its heading (the + label) are the panel's, the frame is the package's, and the frame is + given a size rather than taking one. The frame takes the panel's color + scheme, which the page inside reads as its prefers-color-scheme; it is + transparent, so a page that paints no background sits on the card. */ +.extcard h2 .mono { + text-transform: none; + letter-spacing: 0; + font-weight: 400; + color: var(--og-dim); +} +.extframe { + display: block; + width: 100%; + height: 360px; + border: 0; + background: transparent; + color-scheme: light; +} +[data-bs-theme='dark'] .extframe { + color-scheme: dark; +}