Skip to content

0.8.0: flat, minimalist settings window - #11

Merged
moicd merged 2 commits into
mainfrom
claude/gifted-dirac-5cibem
Oct 7, 2026
Merged

moicd merged 2 commits into
mainfrom
claude/gifted-dirac-5cibem

Conversation

@moicd

@moicd moicd commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

The settings window drops the liquid glass decoration for a flat look close to the Windows 11 settings. Layout, controls and behaviour stay the same.

Look

  • No shadows. Cards, the sidebar, segment thumbs, switch knobs, stepper buttons and the language list no longer cast stacked shadows. The gloss on raised controls, the gradient fills and the lit gradient rims are gone too: every surface is one fill with a 1 px hairline.
  • Sidebar on the backdrop. No floating panel; the selected page gets a neutral fill and a 3×16 accent mark on its left edge, which slides with the selection.
  • Softer corners. Cards 8 px, controls 6 px, pieces inside them 4 px (CARD_RADIUS, CONTROL_RADIUS, INNER_RADIUS). Switches stay round, and focus rings follow each control's shape.
  • Windows 11 switches. Outlined track with a dim knob while off, accent track with an on_accent knob while on. The white knob on the dark-mode teal was 1.86:1; it is 7.77:1 now.
  • Segmented controls. A flat thumb (outlined on light themes); unselected options in the secondary text color.
  • Display preview. No cover-glass sheen and no glow around lit segments, bar steps and symbols.
  • Chart. A lighter area under the temperature line.

Backdrop

  • Mica instead of Acrylic (DWMSBT_MAINWINDOW): the material Windows 11 uses for long-lived windows. Acrylic is meant for menus and flyouts, and showed a blur of whatever was behind the window. The translucent colors use the WinUI Fluent card and control fills. The requirement is the same (Windows 11 22H2, transparency effects on); otherwise the window stays opaque.

Motion

  • The selection, segment thumbs and switch knobs slide with a plain cubic ease-out: no stretching and no overshoot. It still follows the Windows animation effects setting.

Code

  • gfx: shadow, fill_round_rect_fade and stroke_round_rect_v removed.
  • theme: card_top/card_bottom → card, edge_top/edge_bottom → edge, shadow and knob removed, outline added (drawn only in high contrast, which keeps opaque, outlined shapes).
  • anim: Span moves both edges with one duration; Tween::target and the overshoot are gone.
  • window: draw_glass/gloss removed, draw_capsule → draw_field, capsule_w → button_w, Control::is_switch added; the duplicate focus ring of the update button is gone.

Release

  • Version 0.8.0 (README table header too).

Testing

  • cargo fmt --check; cargo clippy --all-targets --locked -D warnings for Linux and x86_64-pc-windows-msvc; cargo test --locked: 102 core tests.
  • anim.rs tests built and run standalone on Linux (5/5, two of them rewritten for the new motion). window.rs gains switches_are_the_settings_that_toggle; it and the preview tests run in CI on Windows.
  • WCAG contrast of the new palette checked for dark, light and both Mica variants: text ≥ 4.7:1 everywhere (unselected segments are the lowest), switch outlines and knobs ≥ 3.3:1.
  • The Windows code was compiled but not run from this session. Worth a look on Windows 11 in dark and light, with transparency effects off, and with high contrast.

After merging, tagging v0.8.0 publishes the release.

claude added 2 commits October 7, 2026 11:11
Drop the liquid glass decoration for a flat look close to the Windows 11
settings:

- No shadows under cards, the sidebar, segment thumbs, switch knobs,
  stepper buttons or the language list, and no gloss, gradient fills or
  lit rims. Surfaces are one fill with a hairline outline.
- The sidebar sits on the window backdrop instead of a floating panel;
  the selected page gets a neutral fill and a small accent mark.
- Softer corners: cards 8 px, controls 6 px; switches stay round.
- Switches follow Windows 11: outlined with a dim knob while off, accent
  with a contrasting knob while on (the white knob on the dark-mode teal
  was 1.86:1, now 7.77:1).
- The selection slides with a plain ease-out, without stretching or
  overshooting.
- The display preview loses its cover-glass sheen and the glow around
  lit segments.
- Mica instead of Acrylic as the window backdrop: the material Windows 11
  uses for long-lived windows, without the busy blur of what is behind.

High contrast keeps opaque, outlined shapes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SRsXrHbLDFE7HiUtEMoGjZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SRsXrHbLDFE7HiUtEMoGjZ
@moicd
moicd merged commit 35e81c7 into main Oct 7, 2026
2 checks passed
moicd added a commit that referenced this pull request Oct 7, 2026
0.8.0: flat, minimalist settings window
@moicd
moicd deleted the claude/gifted-dirac-5cibem branch October 7, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants