a11y/theme: --app-primary tokens not applied when explicit dark theme selected on light-OS machine #101
Labels
No labels
a11y
backlog
beta-feedback
bug
enhancement
feature-request
frontend
needs-triage
question
vue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/peregrine#101
Loading…
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?
In
peregrine.css, the--app-primary,--app-primary-light, and--app-accenttoken overrides exist only under@media (prefers-color-scheme: dark). They are missing from the[data-theme="dark"]attribute selector.Result: a user on a light-OS machine (system prefers light) who explicitly selects the dark theme via the UI theme picker will not get the correct token values — they will use the light-mode defaults instead.
Fix: Duplicate the dark-mode token block under
[data-theme="dark"]inperegrine.css:Also audit for any other tokens that have the same gap.