Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow App.dark to be set before there's a screen
This commit addresses Textualize#1369 by swallowing any `ScreenStackError` when calling `refresh_css` after setting the -{dark,light}-mode class on the app. The idea here being that if there is no screen, that's fine, the style will be taken up once there is one.
- Loading branch information