You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The selected tab of the solara.AppBar not being visible in dark theme is something we are aware of. This should be fixed in refactor!: streamline and improve applayout api #657, but we're holding it until solara 2.0, since the change is visually breaking. You can't change the color of the AppBar directly, but you can change it by passing color to solara.AppLayout, which will pass the argument on to the AppBar that is rendered. You can take a look at this py.cafe example
The white text is caused by dark=True being passed to the AppBar by default. We can pass toolbar_dark=None to AppLayout to reset the theming of the component, see this py.cafe example.
Hi,
I noticed that whenever
solara.AppBar()
is used in an app (or a page of an app), it somehow messes up with the theme.Example of of things going wrong
solara.Text()
elements are not visible even though they are not part of the NavBar component (but they are visible in dark mode).Here is the same example, but without the NavBar component (commented out)
Example that "works" without the NavBar component
Finally, a kind of patch around this is to use
solara.v.AppBar()
insteadHowever the problem here is that the
theme.js
in assets is not respected (I think).Any advice on this, or is this perhaps a known issue?
Many thanks!
The text was updated successfully, but these errors were encountered: