ui.gadgets.panes: fix tests under dark-theme.

flac
John Benediktsson 2020-03-03 15:23:18 -08:00 committed by Steve Ayerhart
parent 6cacce4d5c
commit 761cf1a5dd
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
1 changed files with 3 additions and 17 deletions

View File

@ -2,7 +2,7 @@ USING: accessors colors fonts fry help help.markup help.stylesheet
help.syntax help.topics inspector io io.streams.string io.styles help.syntax help.topics inspector io io.streams.string io.styles
kernel literals math models namespaces prettyprint see sequences kernel literals math models namespaces prettyprint see sequences
tools.test ui.gadgets ui.gadgets.debug ui.gadgets.panes tools.test ui.gadgets ui.gadgets.debug ui.gadgets.panes
ui.gadgets.panes.private ; ui.gadgets.panes.private ui.theme ;
IN: ui.gadgets.panes.tests IN: ui.gadgets.panes.tests
: #children ( -- n ) "pane" get children>> length ; : #children ( -- n ) "pane" get children>> length ;
@ -132,22 +132,8 @@ ${
T{ font T{ font
{ name $[ default-sans-serif-font-name ] } { name $[ default-sans-serif-font-name ] }
{ size $[ default-font-size ] } { size $[ default-font-size ] }
{ foreground { foreground $[ text-color ] }
T{ rgba { background $[ content-background ] }
{ red 0.0 }
{ green 0.0 }
{ blue 0.0 }
{ alpha 1.0 }
}
}
{ background
T{ rgba
{ red 1.0 }
{ green 1.0 }
{ blue 1.0 }
{ alpha 1.0 }
}
}
} }
} [ } [
<pane> current>> smash-line [ text>> ] [ font>> ] bi <pane> current>> smash-line [ text>> ] [ font>> ] bi