File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1515# Where no content exists
1616DEFAULT_DARK_BACKGROUND = "#1e1e1e"
1717# What text usually goes on top off
18- DEFAULT_DARK_SURFACE = "#232323 "
18+ DEFAULT_DARK_SURFACE = "#272727 "
1919# TODO - update this
2020# # Where no content exists
2121# DEFAULT_DARK_BACKGROUND = "#121212"
@@ -203,12 +203,14 @@ def luminosity_range(spread) -> Iterable[tuple[str, float]]:
203203 # The border color for focused widgets which have a border.
204204 colors ["border" ] = accent .hex
205205 # The blurred equivalent of the above.
206- colors ["border-blurred" ] = background .hex
206+ # By default when the widget is blurred, the border matches the surface
207+ # of the widget (and so isn't visible until the widget is focused)
208+ colors ["border-blurred" ] = surface .hex
207209
208210 # Widgets such as OptionList, DataTable, etc. have a "hover cursor"
209211 # which gives a subtle highlight behind the option under the mouse
210212 # cursor is under.
211- colors ["highlight-hover" ] = boost .with_alpha (0.06 ).hex
213+ colors ["highlight-hover" ] = boost .with_alpha (0.05 ).hex
212214
213215 return colors
214216
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class TextArea(ScrollView):
9191 TextArea {
9292 width: 1fr;
9393 height: 1fr;
94- border: tall $background ;
94+ border: tall $border-blurred ;
9595 padding: 0 1;
9696 background: $surface;
9797 & .text-area--gutter {
You can’t perform that action at this time.
0 commit comments