diff --git a/rich/style.py b/rich/style.py index cda83806..a6b756b6 100644 --- a/rich/style.py +++ b/rich/style.py @@ -415,7 +415,7 @@ class Style: Returns: `Style`: A Style instance. """ - if style_definition.strip() == "none": + if style_definition.strip() == "none" or not style_definition: return cls.null() style_attributes = {