mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #682] Detect System Color Theme #662
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#662
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/682
Author: @NandeMD
Created: 7/25/2025
Status: 🔄 Open
Base:
main← Head:auto_detect_color_mode📝 Commits (7)
5489558auto-detect system theme on first starta21a836added "Detect System Theme" button to preferences598dd86marked roadmap97f807fremoved unnecessary button, added new "system" theme option7a4bfd7add new "Theme::System" and default to it2206d1edetect system color theme on app startup if config theme isdbd0c0dremoved unnecessary controllers📊 Changes
6 files changed (+401 additions, -32 deletions)
View changed files
📝
Cargo.lock(+363 -16)📝
README.md(+2 -2)📝
psst-gui/Cargo.toml(+1 -0)📝
psst-gui/src/data/config.rs(+2 -1)📝
psst-gui/src/ui/preferences.rs(+6 -2)📝
psst-gui/src/ui/theme.rs(+27 -11)📄 Description
This PR adds two things:
$HOME/.config/Psst/config.jsonfile), app tries to detect the system theme, falls back toTheme::Lighton error or unspecified theme.Preferences -> General Tab -> Theme. When pressed, it tries to detect the system theme, falls back toTheme::Lighton error or unspecified theme:Screencast_20250725_143112.webm
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.