| @@ -337,6 +337,7 @@ struct OrgstarApp: App { |
| 337 | case .success(let model): |
337 | case .success(let model): |
| 338 | ContentView(workspace: model, session: session, commands: commands, scheduler: scheduler, clock: clock) |
338 | ContentView(workspace: model, session: session, commands: commands, scheduler: scheduler, clock: clock) |
| 339 | .environment(\.orgTheme, ConfigSync.shared.theme) |
339 | .environment(\.orgTheme, ConfigSync.shared.theme) |
| |
340 | .tint(ConfigSync.shared.theme.color("accent")) |
| 340 | .onAppear { |
341 | .onAppear { |
| 341 | delegate.session = session |
342 | delegate.session = session |
| 342 | delegate.commands = commands |
343 | delegate.commands = commands |
| @@ -351,6 +352,7 @@ struct OrgstarApp: App { |
| 351 | if case .success = workspace { |
352 | if case .success = workspace { |
| 352 | EditorWindowView(session: session, commands: commands, clock: clock) |
353 | EditorWindowView(session: session, commands: commands, clock: clock) |
| 353 | .environment(\.orgTheme, ConfigSync.shared.theme) |
354 | .environment(\.orgTheme, ConfigSync.shared.theme) |
| |
355 | .tint(ConfigSync.shared.theme.color("accent")) |
| 354 | } |
356 | } |
| 355 | } |
357 | } |
| 356 | .defaultSize(width: 900, height: 700) |
358 | .defaultSize(width: 900, height: 700) |
| @@ -359,6 +361,7 @@ struct OrgstarApp: App { |
| 359 | if case .success(let model) = workspace { |
361 | if case .success(let model) = workspace { |
| 360 | AgendaView(workspace: model, session: session, commands: commands, scheduler: scheduler, clock: clock) |
362 | AgendaView(workspace: model, session: session, commands: commands, scheduler: scheduler, clock: clock) |
| 361 | .environment(\.orgTheme, ConfigSync.shared.theme) |
363 | .environment(\.orgTheme, ConfigSync.shared.theme) |
| |
364 | .tint(ConfigSync.shared.theme.color("accent")) |
| 362 | } |
365 | } |
| 363 | } |
366 | } |
| 364 | .defaultSize(width: 760, height: 720) |
367 | .defaultSize(width: 760, height: 720) |
| @@ -366,6 +369,7 @@ struct OrgstarApp: App { |
| 366 | if case .success(let model) = workspace { |
369 | if case .success(let model) = workspace { |
| 367 | BoardView(workspace: model, session: session, commands: commands) |
370 | BoardView(workspace: model, session: session, commands: commands) |
| 368 | .environment(\.orgTheme, ConfigSync.shared.theme) |
371 | .environment(\.orgTheme, ConfigSync.shared.theme) |
| |
372 | .tint(ConfigSync.shared.theme.color("accent")) |
| 369 | } |
373 | } |
| 370 | } |
374 | } |
| 371 | .defaultSize(width: 1100, height: 700) |
375 | .defaultSize(width: 1100, height: 700) |