Skip to content

Commit faef858

Browse files
committed
snapshots
1 parent 5ff49a7 commit faef858

10 files changed

+72
-61
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
- Optimized startup https://github.com/Textualize/textual/pull/5869
1313
- New blank visual which makes background faster to render (note this will break snapshots tests this version) https://github.com/Textualize/textual/pull/5869
14-
- Exposed `code_indent_guides` boolean on Markdown widget
15-
- Changed code fence background to use CSS background rather than its code theme
14+
- Exposed `code_indent_guides` boolean on Markdown widget https://github.com/Textualize/textual/pull/5874
15+
- Changed code fence background to use CSS background rather than its code theme https://github.com/Textualize/textual/pull/5874
1616

1717
## [3.4.0] - 2025-06-14
1818

src/textual/widgets/_markdown.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,10 @@ class MarkdownTable(MarkdownBlock):
504504
DEFAULT_CSS = """
505505
MarkdownTable {
506506
width: 100%;
507-
background: $background 80%;
507+
background: black 10%;
508+
&:light {
509+
background: white 30%;
510+
}
508511
}
509512
"""
510513

@@ -613,7 +616,11 @@ class MarkdownFence(MarkdownBlock):
613616
height: auto;
614617
max-height: 20;
615618
color: rgb(210,210,210);
616-
background: $background 80%;
619+
background: black 10%;
620+
621+
&:light {
622+
background: white 30%;
623+
}
617624
}
618625
619626
MarkdownFence > * {

tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_switch.svg

Lines changed: 4 additions & 4 deletions
Loading

tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_component_classes_reloading.svg

Lines changed: 2 additions & 2 deletions
Loading

tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_dark_theme_override.svg

Lines changed: 2 additions & 2 deletions
Loading

tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_example.svg

Lines changed: 32 additions & 28 deletions
Loading

0 commit comments

Comments
 (0)