tests / lint (push) Successful in 1m0s
tests / feature (8.4) (push) Successful in 1m0s
tests / feature (8.5) (push) Successful in 1m1s
tests / browser (safari, webkit) (push) Successful in 1m59s
tests / browser (chrome, chromium) (push) Successful in 1m49s
tests / browser (firefox, firefox) (push) Successful in 1m54s
Colour, shape, type, elevation and motion as tokens and Tailwind utilities; `php artisan material:scheme`, which generates an app's colour roles with Google's material-color-utilities (spec 2025); the theme head script with light, dark and system and its Alpine store; Google Sans Flex; every Material Symbol (4,135, outlined and filled) drawn by <x-icon> without blade-icons; all 35 M3 Expressive shapes, ported from androidx, as <x-shape>; the x-figure directive; the Toasts concern; DesignGuard for applications' tests; and a showcase with every token, both themes side by side and an icon search. Colour utilities are `@theme inline`, so a section with its own data-theme repaints; without it they resolve once on :root. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
26 lines
1.3 KiB
PHP
26 lines
1.3 KiB
PHP
<section id="shape" class="scroll-mt-24 space-y-6">
|
|
<h2 class="type-headline-md">Shape</h2>
|
|
|
|
<p class="max-w-3xl type-body-md text-on-surface-variant">
|
|
The corner scale as <code>rounded-corner-*</code>, and M3 Expressive's shapes as <code><x-shape name="…" /></code>.
|
|
</p>
|
|
|
|
<div class="grid grid-cols-2 gap-4 sm:grid-cols-5">
|
|
@foreach (['rounded-corner-none', 'rounded-corner-xs', 'rounded-corner-sm', 'rounded-corner-md', 'rounded-corner-lg', 'rounded-corner-lg-increased', 'rounded-corner-xl', 'rounded-corner-xl-increased', 'rounded-corner-xxl', 'rounded-corner-full'] as $corner)
|
|
<div class="space-y-2">
|
|
<div @class(['h-20 bg-primary-container', $corner])></div>
|
|
<code class="type-label-md text-on-surface-variant">{{ $corner }}</code>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
|
|
<div class="grid grid-cols-3 gap-4 sm:grid-cols-5 lg:grid-cols-7">
|
|
@foreach (\NoNameWeb\LivewireMaterial\Support\SvgFile::shapeNames() as $shape)
|
|
<div class="space-y-2 text-center">
|
|
<x-shape :name="$shape" class="mx-auto size-20 text-secondary-container" />
|
|
<code class="type-label-md text-on-surface-variant">{{ $shape }}</code>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</section>
|