Skip to content

Commit 2b3e0be

Browse files
Give dark-mode td/dt/dd inline code the same border and radius as p code.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fc78bcf commit 2b3e0be

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

CHANGELOG.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Entries below are in **chronological order** by date: prior release, then the **
1010

1111
== [Unreleased]
1212

13+
* *Fix:* Dark-mode inline ``td code`` / ``dt`` / ``dd`` code include border + radius (match paragraph inline code).
1314
* *Fix:* TIP dark-mode card tint derived from Antora tip green `#41af46`.
1415
* *Fix:* Admonitions — bordered card wraps TIP/NOTE label + body (`table` chrome; cells transparent). Corrects 1.4.1 which only cleared the label wash while leaving TIP outside the border. See link:changelog-details/2026-08-08%20-%20admonition%20card%20wraps%20tip%20label.adoc[Detailed notes].
1516
* *Docs:* Guide page xref:guide:legacy-names.adoc[Legacy names & migration] — `antora-dark-theme` → `valentus-theme` / `antora-dark-mode`, canonical org repos vs personal forks, Zulip correction blurb. Linked from Getting Started and Installation.

supplemental-ui/css/site-extra.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,14 @@ html.dark-theme .doc .literalblock .content {
314314
/* Inline code */
315315
html.dark-theme .doc p code,
316316
html.dark-theme .doc td code,
317-
html.dark-theme .doc li code {
317+
html.dark-theme .doc li code,
318+
html.dark-theme .doc dt code,
319+
html.dark-theme .doc dd code {
318320
background-color: #2c2e33;
319321
color: #ff6b6b;
320-
border-color: #373a40;
322+
border: 1px solid #373a40;
323+
border-radius: 0.25rem;
324+
padding: 0.1em 0.35em;
321325
}
322326

323327
/* Syntax highlighting colors for dark mode */

ui-modules/packages/dark-mode/ui/css/site-extra.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,14 @@ html.dark-theme .doc .literalblock .content {
314314
/* Inline code */
315315
html.dark-theme .doc p code,
316316
html.dark-theme .doc td code,
317-
html.dark-theme .doc li code {
317+
html.dark-theme .doc li code,
318+
html.dark-theme .doc dt code,
319+
html.dark-theme .doc dd code {
318320
background-color: #2c2e33;
319321
color: #ff6b6b;
320-
border-color: #373a40;
322+
border: 1px solid #373a40;
323+
border-radius: 0.25rem;
324+
padding: 0.1em 0.35em;
321325
}
322326

323327
/* Syntax highlighting colors for dark mode */

0 commit comments

Comments
 (0)