UI: squircle corners, rounded font and flat neutral palette (proposal)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 54/100
Research direction
Start by locating the UI stylesheet and index.html, where the proposal says the CSS changes and embedded Nunito font would go; inspect the update card and Settings > Diagnostics > Logs layouts there. Compare the proposed palette, corner treatment, and responsive changes against the attached screenshots, then run scripts/ui-test.py and check the UI at narrow window sizes. Done means the visual refresh and both layout fixes work across supported systems without a Rust change or new dependency.
Written by the indexing model from the issue text.
Description
What you're trying to do
Give the window a softer, more distinct look. Today it is clean but cool-toned and a little gradient-heavy (blue-tinted greys, a few gradients), and its corners are plain border-radius.
What you'd like Kiri to do
A visual refresh, CSS only, no new dependency and no Rust change:
corner-shape: squircleon every element, with the existingborder-radiusas the fallback. WebView2 (Chromium 139+) shows squircles; WebKit keeps today's round corners.- Nunito (variable woff2) as the fallback of
--ui-font; macOS keepsui-rounded. - A neutral grey palette without the blue tint, and the few gradients (language dialog hero, "What's new" hero, External rows, the fade behind row actions) replaced by solid colours.
- Two responsive fixes I found while testing: the update card (fixed 352px wide, its buttons are clipped in a narrow window) and Settings > Diagnostics > Logs (fixed columns squeeze the message to a few words).
I have it working on Windows (WebView2); before/after screenshots attached.
Before (left) / After (right), light mode above and dark mode below
Settings > Diagnostics > Logs, before
after
Update card, before
after
Things I'd like your view on:
- Size. The font is embedded as base64 in
index.html(about +52 KB), so the binary grows by about 80 KB. If the Speed check's size limit is a problem I can ship a system font stack only (ui-rounded, Segoe UI Variable) and drop Nunito. - Circles and dots.
border-radius: 50%elements also become squircles in this version. I can keep them round withcorner-shape: roundif you prefer. - Parity. The same CSS applies on all three systems, with no
if (WIN)gate. So far I have only built and run it on Windows;scripts/ui-test.pyis still to run.
I'd send it as one pull request once we agree on the direction, or split it (squircle / font / palette / responsive fixes) if you'd rather review them separately.
Would you like to build it?
Yes, once we've agreed on the approach
- Dominant language
- Rust
- Stars
- 7.5k
- Forks
- 329
- Avg merge
- 7h 48m
- Merged PRs (30d)
- 105
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libracoder/kiri
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
libracoder/kiri#364 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
libracoder/kiri#289 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 47/100
libracoder/kiri#365 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
libracoder/kiri#362 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 47/100
libracoder/kiri#359 ·
Maintainers usually reply within 1 day
Similar issues
-
benchmark-review
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Maintainers usually reply within 1 day
-
area:filesystem bug need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Captions panel does not offer to show an existing transcriptPossibly taken @thedavidweng claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CapSoftware/Cap#4276 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
matrix-org/matrix-rust-sdk#7495 ·
Maintainers usually reply within 1 day