Skip to content

Commit a4432fe

Browse files
authored
Merge pull request #5827 from Textualize/default-classes
default app classes
2 parents 1d893a9 + 4c3dbb7 commit a4432fe

File tree

4 files changed

+186
-3
lines changed

4 files changed

+186
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1515
- Fixed running `App.run` after `asyncio.run` https://github.com/Textualize/textual/pull/5799
1616
- Fixed triggering a deprecation warning in py >= 3.10 https://github.com/Textualize/textual/pull/5799
1717
- Fixed `Input` invalid cursor position after updating the value https://github.com/Textualize/textual/issues/5811
18+
- Fixed `DEFAULT_CLASSES` when applied to App https://github.com/Textualize/textual/pull/5827
19+
- Fixed order of implicit content tag closing https://github.com/Textualize/textual/pull/5823
1820

1921
### Added
2022

2123
- Exposed `CollapsibleTitle` https://github.com/Textualize/textual/pull/5810
24+
- Added `Color.hsv` property and `Color.from_hsv` class method https://github.com/Textualize/textual/pull/5803
2225

23-
### Added
26+
### Changed
2427

25-
- Added `Color.hsv` property and `Color.from_hsv` class method https://github.com/Textualize/textual/pull/5803
28+
- Added a few features to `python -m textual.markup` playgound https://github.com/Textualize/textual/pull/5823
2629

2730
## [3.2.0] - 2025-05-02
2831

src/textual/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def __init__(
565565
CssPathError: When the supplied CSS path(s) are an unexpected type.
566566
"""
567567
self._start_time = perf_counter()
568-
super().__init__()
568+
super().__init__(classes=self.DEFAULT_CLASSES)
569569
self.features: frozenset[FeatureFlag] = parse_features(os.getenv("TEXTUAL", ""))
570570

571571
self._registered_themes: dict[str, Theme] = {}

0 commit comments

Comments
 (0)