use darkMode=true

master
itwrx 1 year ago
parent a5a5fb4d6e
commit 85e1cd720f
  1. 2
      ez_bkup.nim
  2. 2
      views/routine_list.nim

@ -66,5 +66,5 @@ when isMainModule:
# Loads the model from the database and starts the application. # Loads the model from the database and starts the application.
#databasePath is coming from shared.nim #databasePath is coming from shared.nim
let model = newRoutineModel(databasePath) 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")])

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

Loading…
Cancel
Save