ui.gadgets.panes: fix tests under dark-theme.
							parent
							
								
									6cacce4d5c
								
							
						
					
					
						commit
						761cf1a5dd
					
				|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue