File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -2852,6 +2852,7 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040
28522852- New handler system for messages that doesn't require inheritance
28532853- Improved traceback handling
28542854
2855+ [ 3.1.1 ] : https://github.com/Textualize/textual/compare/v3.1.0...v3.1.1
28552856[ 3.1.0 ] : https://github.com/Textualize/textual/compare/v3.0.1...v3.1.0
28562857[ 3.0.1 ] : https://github.com/Textualize/textual/compare/v3.0.0...v3.0.1
28572858[ 3.0.0 ] : https://github.com/Textualize/textual/compare/v2.1.2...v3.0.0
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " textual"
3- version = " 3.1.0 "
3+ version = " 3.1.1 "
44homepage = " https://github.com/Textualize/textual"
55repository = " https://github.com/Textualize/textual"
66documentation = " https://textual.textualize.io/"
Original file line number Diff line number Diff line change @@ -4002,3 +4002,22 @@ def compose(self) -> ComposeResult:
40024002 yield NonFocusable ("NON FOCUSABLE" )
40034003
40044004 assert snap_compare (FocusApp ())
4005+
4006+
4007+ def test_tint (snap_compare ):
4008+ """Test that tint applied to dim text doesn't break.
4009+
4010+ You should see the text Hello, World with a 50% green tint."""
4011+
4012+ class TintApp (App ):
4013+ CSS = """
4014+ Label {
4015+ tint: green 50%;
4016+ text-style: dim;
4017+ }
4018+ """
4019+
4020+ def compose (self ) -> ComposeResult :
4021+ yield Label ("Hello, World" )
4022+
4023+ assert snap_compare (TintApp ())
You can’t perform that action at this time.
0 commit comments