Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add light icons and dark stylesheet. Fixes #151 #155

Merged
merged 4 commits into from
Jan 24, 2019

Conversation

m3nu
Copy link
Contributor

@m3nu m3nu commented Jan 21, 2019

@@ -28,6 +27,8 @@ def main():
sqlite_db = peewee.SqliteDatabase(os.path.join(SETTINGS_DIR, 'settings.db'))
init_db(sqlite_db)

# Init app after database is available
from vorta.application import VortaApp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it stuff at import time or why did you have to move the import?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The classes for each tab are created at import and to choose the icon they need a database set up. Hence the moved import.

Maybe there is a smarter way to do the same thing?

src/vorta/views/utils.py Outdated Show resolved Hide resolved
@m3nu m3nu merged commit f2d9029 into borgbase:master Jan 24, 2019
@m3nu m3nu deleted the issue/151/dark-theme branch January 20, 2021 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants