Skip to content

Commit 21d0916

Browse files
committed
full stops
1 parent 733e506 commit 21d0916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/textual/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class HSV(NamedTuple):
8080
h: float
8181
"""Hue in range 0 to 1."""
8282
s: float
83-
"""Saturation in range 0 to 1"""
83+
"""Saturation in range 0 to 1."""
8484
v: float
8585
"""Value un range 0 to 1."""
8686

@@ -543,7 +543,7 @@ def get_contrast_text(self, alpha: float = 0.95) -> Color:
543543
alpha: An alpha value to apply to the result.
544544
545545
Returns:
546-
A new color, either an off-white or off-black
546+
A new color, either an off-white or off-black.
547547
"""
548548
return (WHITE if self.brightness < 0.5 else BLACK).with_alpha(alpha)
549549

0 commit comments

Comments
 (0)