gui/pkg/environment/messages.go
Snider a7c976ff3c feat(environment): add environment core.Service with theme change broadcasts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 14:19:05 +00:00

22 lines
635 B
Go

// pkg/environment/messages.go
package environment
// QueryTheme returns the current theme. Result: ThemeInfo
type QueryTheme struct{}
// QueryInfo returns environment information. Result: EnvironmentInfo
type QueryInfo struct{}
// QueryAccentColour returns the system accent colour. Result: string
type QueryAccentColour struct{}
// TaskOpenFileManager opens the system file manager. Result: error only
type TaskOpenFileManager struct {
Path string `json:"path"`
Select bool `json:"select"`
}
// ActionThemeChanged is broadcast when the system theme changes.
type ActionThemeChanged struct {
IsDark bool `json:"isDark"`
}