fix(wiki): update stale color token references from removed members
Update all wiki references to removed color tokens (colors.background, colors.surface, colors.surface2, colors.surface3) with their replacements:
- colors.background → colors.sf1 (canvas background)
- colors.surface → colors.sf1 (cards now use sf1 with elevation shadows)
- colors.surface2 → colors.sf2 (nested containers)
- colors.surface3 → colors.sf3 (deeper nesting)
Files updated:
- LayrzTokenizer.md: example card uses sf1
- Platform-And-Extensions.md: flattenOn uses sf1
- Theming.md: delegating getters and table map to new tokens
- LayrzCard.md: backgroundColor defaults and examples
- LayrzTooltip.md: tooltip text color is sf1 (light on dark)
- LayrzLayout.md: top bar uses sf1
- LayrzScrollbar.md: track hover uses sf3
docs: point import examples at the layrz_ui.dart root barrel
Release 0.0.5 replaced the per-domain entrypoints with a single root barrel.
Update the remaining references in Design-Tokens and Grid, and drop the
alternative import block in Platform-And-Extensions, which now offered the same
import twice.
Co-Authored-By: Anthropic Claude <noreply@anthropic.com>
docs: update LayrzAlert for the split-panel redesign
The layrz style is no longer a neutral surface with an icon chip. It now
shares filledIcon's split-panel layout with a tonal left panel instead of a
solid one, so the two styles read as one pattern at two intensities.
filledIcon gained a border, without which its surface-coloured half was
invisible on a white page.
Also documents flattenOn and isOpaque on the colour extension, including
why flattening exists: a translucent fill lets a BoxDecoration's shadow
bleed through it.
docs: add foundation usage documentation
Adds 8 comprehensive foundation documentation pages to the wiki:
- Getting-Started.md: dependency setup, minimal app, font preload, first screen
- LayrzApp.md: root widget API reference and theme installation
- Theming.md: theme system, LayrzTheme, LayrzThemeData, accessing tokens
- Design-Tokens.md: complete token reference (colors, typography, spacing, radius, shadow, border, motion)
- LayrzTokenizer.md: token facade with group getters and flat shortcuts
- Fonts.md: font setup, preloading, Google Fonts handler, custom fonts
- Widget-States.md: re-export of Flutter's WidgetState and WidgetStateProperty
- Platform-And-Extensions.md: LayrzPlatform detection and Color/BuildContext utilities
Also updates Home.md and _Sidebar.md with navigation to the new foundation pages.
Co-Authored-By: Anthropic Claude <noreply@anthropic.com>