use darkMode=true

This commit is contained in:
itwrx 2023-06-29 10:40:33 -05:00
parent a5a5fb4d6e
commit 85e1cd720f
2 changed files with 2 additions and 2 deletions

View File

@ -66,5 +66,5 @@ when isMainModule:
# Loads the model from the database and starts the application.
#databasePath is coming from shared.nim
let model = newRoutineModel(databasePath)
brew("org.itwrx.EZ-Bkup", gui(App(routineModel = model)), icons=["icons/"], stylesheets=[loadStylesheet("styles.css")])
brew("org.itwrx.EZ-Bkup", gui(App(routineModel = model)), darkTheme = true, icons=["icons/"], stylesheets=[loadStylesheet("styles.css")])

View File

@ -113,7 +113,7 @@ method view(list: RoutineListState): Widget {.locks: "unknown".} =
# Edit Button
Button {.expand: false.}:
#icon = "entity-edit"
icon = "entity-edit-dark-theme"
icon = "entity-edit-dark-theme"
tooltip = "Edit this Routine."
proc clicked() =
## Opens the EditRoutineDialog for updating the existing routine