Skip to content

Commit

Permalink
Fixing yet more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 28, 2024
1 parent 62d2151 commit a274129
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
10 changes: 5 additions & 5 deletions docs/examples/styles/background_tint.tcss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Vertical {
background: $panel;
color: auto 90%;
}
#tint1 { background-tint: $foreground 0%; }
#tint2 { background-tint: $foreground 25%; }
#tint3 { background-tint: $foreground 50%; }
#tint4 { background-tint: $foreground 75% }
#tint5 { background-tint: $foreground 100% }
#tint1 { background-tint: $text 0%; }
#tint2 { background-tint: $text 25%; }
#tint3 { background-tint: $text 50%; }
#tint4 { background-tint: $text 75% }
#tint5 { background-tint: $text 100% }
9 changes: 2 additions & 7 deletions docs/examples/widgets/content_switcher.tcss
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,14 @@ Screen {
}

ContentSwitcher {
background: $panel;
border: round $primary;
width: 90%;
height: 1fr;
}

DataTable {
background: $panel;
}

MarkdownH2 {
background: $primary;
background: $panel;
color: yellow;
border: none;
padding: 0;
padding: 0 1;
}
2 changes: 1 addition & 1 deletion src/textual/widgets/_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Button(Widget, can_focus=True):
background: $surface;
color: $foreground;
border: none;
border-top: tall $border-blurred;
border-top: tall $surface-lighten-1;
border-bottom: tall $surface-darken-1;
text-align: center;
content-align: center middle;
Expand Down

0 comments on commit a274129

Please sign in to comment.