From 47ed4603d002eb5eca058fe6d7a5bec95f5b701d Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Mon, 14 Sep 2026 06:03:02 +0200 Subject: [PATCH] Draw the small icons from the 20 optical cut MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CheckboxTokens' icon size is 18px, the same as the box it fills; the tick and the dash were 16. Every icon these components draw at 20px or under — the tick, the switch's check and cross, the chip's leading, trailing, remove and filter-check icons, the date picker's menu arrows and the sort arrow — now asks for the optical size 20 cut, which is drawn for that size rather than scaled down from 24. Plan step 20, finding IN-12 (and core C16's optical sizes). Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9 --- resources/views/components/checkbox.blade.php | 7 ++++--- resources/views/components/chip.blade.php | 12 ++++++------ resources/views/components/datepicker.blade.php | 6 +++--- resources/views/components/sort-header.blade.php | 2 +- resources/views/components/toggle.blade.php | 4 ++-- tests/Feature/Components/SelectionTest.php | 6 ++++++ 6 files changed, 22 insertions(+), 15 deletions(-) diff --git a/resources/views/components/checkbox.blade.php b/resources/views/components/checkbox.blade.php index 24a526de..150d0a28 100644 --- a/resources/views/components/checkbox.blade.php +++ b/resources/views/components/checkbox.blade.php @@ -1,4 +1,5 @@ -{{-- A checkbox, M3's: an 18px box that fills with primary when ticked, in a 40px state layer. +{{-- A checkbox, M3's: an 18px box that fills with primary when ticked, in a 40px state layer. The + tick and the dash fill the box at CheckboxTokens' 18px icon size, drawn from the 20 optical cut. The label and its hint sit beside it and are its accessible name — the whole row is the `