breadman: address design-review findings (settings, note list, editor)
Settings screen:
- Widen the AdwClamp to 900px, left-aligned to the note-list gutter,
instead of PreferencesPage's own ~600px clamp that made the screen
read as a narrower, bolted-on app.
- Remove the floating Save button; every control now applies instantly
(switches/combo/spin on change, entry rows via show_apply_button),
matching what AdwSwitchRow's own design language already implies.
- Replace ActionRow+suffix-Entry with real AdwEntryRow/AdwPasswordEntryRow
so fields are row-width instead of sized by leftover label space.
- Default type now uses the same pill-row widget as the New Note dialog
and editor, instead of a fourth type-picker variant.
- Local Classifier group description notes the paths are shared with
breadpad.
Note list (All/Upcoming/Todo/Idea/Note/Question):
- Replaced the two-line card (huge dead gap between title and actions)
with Archive's tighter single-line row layout, shared via the new
views::row module. Unifies the edit affordance (pencil in both active
and archive rows) and drops the type badge in views already filtered
to one type.
- Type badges now tint per-type (matching the existing note-card-{type}
accent-bar colors) instead of one flat cream fill for every type.
- Empty states are centered with type-specific copy and a "+ New X"
action instead of top-anchored generic text.
- Search bar is now scoped to note-list views (was rendering uselessly
on Settings/Errors).
- Archive sort bug: it was sorting by `created` while displaying
`completed` ("done {date}"), which is why rows could appear out of
order. Now sorts by `completed`.
- Sidebar and row-action icons are now real GTK symbolic icons instead
of a mix of emoji, Unicode glyphs, and thin monochrome characters.
Editor: converted from a bare GtkPopover (no scrim, no title, anchored
wherever the triggering button happened to be) to an AdwDialog with
AdwEntryRow fields, a shared header bar, and copy/placeholders unified
with the New Note dialog. Delete uses destructive-action styling.
Also: destructive-action buttons (breadman's row/editor delete, and
breadpad-shared's .danger-btn) now use a hardcoded red instead of
pywal's @red - a blue-toned wallpaper's "red" palette slot can itself
render blue, which made delete indistinguishable from confirm/accent
buttons regardless of which CSS class was already applied.
This commit is contained in:
parent
926d351949
commit
de7965edae
10 changed files with 667 additions and 642 deletions
|
|
@ -57,6 +57,15 @@ window { border-radius: 8px; }
|
|||
color: @on-accent;
|
||||
}
|
||||
|
||||
/* Per-type tint, matching the note-card-{type} accent-bar colors below -
|
||||
the flat cream badge was the same high-contrast fill for every type,
|
||||
out-shouting note body text while telling you nothing extra. */
|
||||
.type-chip-todo { background: alpha(@green, 0.18); color: @green; }
|
||||
.type-chip-reminder { background: alpha(@yellow, 0.18); color: @yellow; }
|
||||
.type-chip-idea { background: alpha(@pink, 0.18); color: @pink; }
|
||||
.type-chip-question { background: alpha(@teal, 0.18); color: @teal; }
|
||||
.type-chip-note { background: alpha(@blue, 0.18); color: @blue; }
|
||||
|
||||
.confirm-button {
|
||||
background: @blue;
|
||||
color: @on-accent;
|
||||
|
|
@ -135,8 +144,12 @@ window { border-radius: 8px; }
|
|||
.edit-btn { color: @blue; }
|
||||
.edit-btn:hover { background: alpha(@blue, 0.15); }
|
||||
|
||||
.danger-btn { color: @red; }
|
||||
.danger-btn:hover { background: alpha(@red, 0.15); }
|
||||
/* Fixed red, not @red - pywal can hand `red` any hue depending on the
|
||||
wallpaper (see bread-theme's button.destructive-action for the same
|
||||
reasoning), which would make delete indistinguishable from a normal
|
||||
accent action. */
|
||||
.danger-btn { color: #e01b24; }
|
||||
.danger-btn:hover { background: alpha(#e01b24, 0.15); }
|
||||
|
||||
.note-card-todo { border-left-color: @green; }
|
||||
.note-card-reminder { border-left-color: @yellow; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue