Skip to content

Add customizable background color#4

Open
mvelluet wants to merge 2 commits intoLcharvol:mainfrom
mvelluet:feat/custom-theme-color
Open

Add customizable background color#4
mvelluet wants to merge 2 commits intoLcharvol:mainfrom
mvelluet:feat/custom-theme-color

Conversation

@mvelluet
Copy link
Copy Markdown
Contributor

@mvelluet mvelluet commented Apr 1, 2026

Summary

  • Adds a Background color picker in the Preferences section (alongside Compact mode and Launch at login)
  • 8 pastel presets (white, blue, green, peach, pink, lavender, cyan, cream) + system translucent default
  • Colors apply at 25% opacity to blend with the macOS translucent material
  • Opaque toggle appears when a color is selected for a solid fill
  • Persisted in UserDefaults

Changes

  • MenuBarView.swift: Background color picker UI with preset circles, Color(hex:) / hexString extensions, Theme.backgroundPresets
  • UsageManager.swift: backgroundColorHex (optional String) and opaqueBackground (Bool) published properties with UserDefaults persistence

mvelluet added 2 commits April 1, 2026 18:46
New "Dashboard" option in menu bar display settings that shows both
session and weekly quota info at a glance: session% · time | weekly% · time.
Weekly timer uses the largest unit (e.g. 5j, 23h, 58m) to stay compact.
Adds a Background picker in Preferences with 8 pastel color presets
plus a system translucent option. Colors apply at 25% opacity by default
to blend with the system material, with an Opaque toggle for solid fills.
@mvelluet
Copy link
Copy Markdown
Contributor Author

mvelluet commented Apr 1, 2026

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant