Skip to content

Automatic label_color Switching Based on macOS Theme with Configuration Override #489

@tkhorik

Description

@tkhorik

Problem description

Description

The text color (label_color) should automatically adapt to the current macOS system theme (Light/Dark Mode), while still allowing users to override the value through a configuration file.

Current Behavior

  • The color is set manually, for example:
    • label_color = "#000000" (black)
    • label_color = "#FFFFFF" (white)
  • Switching between Light and Dark Mode in macOS does not update the color automatically.
  • Changes made in the configuration file are not applied dynamically.

Proposed solution

Desired Behavior

  • If a color is explicitly defined in the configuration file, that value should always be used, regardless of the system theme.
  • If no color is specified, then:
    • Light Mode → label_color = "#000000"
    • Dark Mode → label_color = "#FFFFFF"
  • The color should update dynamically when the system theme changes.

Rationale

  • Ensures text remains readable across system themes.
  • Provides flexibility for users who prefer custom colors.
  • Aligns with macOS design standards and improves overall user experience.

Alternatives considered

No response

Screenshots / mockups

No response

Would you like to contribute?

  • I'm willing to submit a PR for this feature

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions