Repository navigation
Design: 12 px text floor, mono figures, status shapes, paler fades, Bright light #3489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
9984122
Design: 12 px text floor, mono figures, one shape per status, paler f…
claude 088d610
Docs: record the 12 px type floor
claude 106179b
Format token docs
claude 279df6c
Keep tags and the CPD hours figure in Geist; Admin counts in mono
claude 5743db6
Admin Today hero answers the page: date passed and due counts as the …
claude 2552cbc
Fix review findings: timeline shapes match the list, Bright light res…
claude 002eaac
Use spacing, radius and edge tokens in the status tag; timeline comme…
claude abbae17
Merge main (My Day trims) into Ward Flow build
claude de7ecda
My Day late lines: dark words with a red triangle or amber dot, not r…
claude 9cc4061
Merge branch 'main' into claude/project-thread-8ygx0b
BigSimmo e85b395
Fix review findings: Bright light saves to the account, label tags ca…
claude bc2dae5
Second review round: shapes match the words, raw sub-12 px labels lif…
claude fb6cf60
Third review round: cover badges fade out of month, tag shapes show i…
claude 1f362be
fix(ui): keep three-option settings labels inside 320px segments at t…
claude 994fb31
fix(ui): keep the narrow-phone also-matches header and tablet privacy…
claude a00e834
fix(ui): give stacked settings controls the row padding below 360px s…
claude 281aea8
Merge remote-tracking branch 'origin/main' into claude/project-thread…
claude eef5a71
fix(ui): honest Bright light toggle, 12px assessment and alert hints,…
claude 4a48892
test: pin the also-matches header's three arms after the narrow-scree…
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| /* Reading aids from the Ward Flow review (owner decision 12 Oct 2026): paler | ||
| fades and the Bright light setting. Imported after globals.css in the root | ||
| layout so these rules keep the last word in the cascade. */ | ||
|
|
||
| /* Dimmed content takes a paler colour, never opacity, so the text keeps its | ||
| contrast (opacity multiplies against whatever sits behind it). Put | ||
| `data-dim` on the row or cell; status colours inside it go quiet too. */ | ||
| [data-dim] { | ||
| --dim-ink: var(--text-muted); | ||
| --text-heading: var(--dim-ink); | ||
| --text: var(--dim-ink); | ||
| --work-ink: var(--dim-ink); | ||
| --clinical-accent: var(--dim-ink); | ||
| --mode-identity: var(--dim-ink); | ||
| --mode-identity-soft: var(--surface-subtle); | ||
| --mode-identity-border: var(--border); | ||
| --mode-identity-contrast: var(--surface); | ||
| --success: var(--dim-ink); | ||
| --success-text: var(--dim-ink); | ||
| --warning: var(--dim-ink); | ||
| --info: var(--dim-ink); | ||
| --danger-text: var(--dim-ink); | ||
|
qodo-code-review[bot] marked this conversation as resolved.
Resolved
|
||
| --danger-bg: var(--surface-subtle); | ||
| --danger-border: var(--border); | ||
| --info-text: var(--dim-ink); | ||
| --info-bg: var(--surface-subtle); | ||
| --info-border: var(--border); | ||
| --warning-text: var(--dim-ink); | ||
| --warning-bg: var(--surface-subtle); | ||
| color: var(--dim-ink); | ||
| } | ||
|
|
||
| /* Bright light (Settings, App preferences): for glare on a ward or in sun. | ||
| Owner decision 12 Oct 2026, from the Ward Flow review. Solid surfaces with | ||
| no glass or blur, darker lines and secondary text, body text one step | ||
| heavier. It is a light-only look: turning it on pins light mode, and it | ||
| stands down if the reader later picks dark. The selector out-ranks the | ||
| `.ckb-v2.ckb-v2` token layer so the overrides win. */ | ||
| html.ckb-v2.ckb-v2[data-bright]:not(.dark) { | ||
| --border: var(--neutral-400); | ||
| --border-strong: var(--neutral-500); | ||
| --neutral-300: var(--neutral-400); | ||
| --text-muted: var(--text); | ||
|
qodo-code-review[bot] marked this conversation as resolved.
Resolved
|
||
| --decoration-soft: var(--neutral-500); | ||
| --surface-glass: var(--surface-raised); | ||
| } | ||
| html.ckb-v2.ckb-v2[data-bright]:not(.dark) [data-dim] { | ||
| /* Bright light makes secondary text full strength, so a fade needs its | ||
| own paler ink to stay distinct. */ | ||
| --dim-ink: var(--neutral-500); | ||
| } | ||
| html[data-bright]:not(.dark) body { | ||
| font-weight: 500; | ||
| } | ||
| html[data-bright]:not(.dark) *, | ||
| html[data-bright]:not(.dark) *::before, | ||
| html[data-bright]:not(.dark) *::after { | ||
| -webkit-backdrop-filter: none !important; | ||
| backdrop-filter: none !important; | ||
| } | ||
| html[data-bright]:not(.dark) .work-band, | ||
| html[data-bright]:not(.dark) .universal-header { | ||
| background: var(--surface-raised) !important; | ||
| background-image: none !important; | ||
| } | ||
| html[data-bright]:not(.dark) .work-card { | ||
| box-shadow: none; | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.