Commit Graph
6 Commits
Author SHA1 Message Date
bflatastic 83f452d669 ui-contract: the icon-fill trial's white tint is marked; icon-trial-fixed-tint covers 4 2026-11-22 21:01:10 +07:00
2946b2041a Icons on a Brand or Scrim surface paint their accent parts in their own ink; containers pass that ink down (#2569)
* #7149 item 4: an icon on a strong fill paints its accent parts in its own ink

A container that paints a Brand or Scrim surface now passes the strong-fill ink to what it holds, and Draw::icon paints an app icon accent layer in the icon colour when the ink is OnDark.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* design exceptions: the icon trial has a third fixed-tint site

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ui-contract: every filled surface sets its own container ink

A panel nested in a brand or scrim container no longer inherits the strong-fill ink. A frame or a surfaceless container keeps the ink it sits in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* buttons trials: import ShowContainer for the nested Stack trials

next dropped ShowContainer from the shared import line, so the merged
tree failed to compile (E0599 on Stack::show in accent_icon_tints_in).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-21 10:08:46 +00:00
aiongg c9d84670b0 design-lint: drop the exception entries the component-constant rule leaves stale 2026-11-20 17:39:51 +00:00
Martin BallandClaude Opus 5.5 a9deabd00e design-lint: api, props, contract and exception findings of the port code
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
  callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
  BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
  GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
  for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
  allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
  coordinates, the balloons id scope).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:38:56 +00:00
aiongg 889089b4d6 design-lint: contract/egui-import, contract/keys: ui-contract names layers through runtime::egui::areas and reads Tab and step keys in runtime::egui::input; pointer art sides marked as art data 2026-11-16 13:14:21 +00:00
aiongg 3a0736c569 Docs: the framework, development workflow, design notes and migration records 2026-11-12 14:32:38 +00:00