utils/design_system/lib/design_system.dart
Krzysztof kuhy Rudnicki b3c9611af2
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
design_system tests / test (push) Has been cancelled
design_system 0.3.0: FitGrid paged grid
FitGrid lays items out in a grid sized to the box it is given and pages
the overflow sideways with dots, so a screen never scrolls vertically.
First consumer: tunedeck's home tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZT4baL56wRDmNioxj
2026-11-01 19:21:27 +01:00

22 lines
852 B
Dart

/// The shared component layer for kuhy's Flutter apps.
///
/// `~/src/utils/unified-design-system/` froze the *token* layer as prose — one
/// palette, one spacing scale, one type scale — but shipped no importable
/// code, so every repo transcribed the table by hand and drifted. This
/// package is that same token set as Dart, plus the handful of widgets and
/// helpers that had each been reimplemented in three or more repos.
///
/// The tokens live *here*, not in a doc: a consumer that imports this package
/// cannot silently fall off the palette, because there is nothing local left
/// to edit.
library;
export 'src/confirm.dart';
export 'src/empty_state.dart';
export 'src/feedback.dart';
export 'src/fit_grid.dart';
export 'src/section_header.dart';
export 'src/status_colors.dart';
export 'src/theme.dart';
export 'src/tokens.dart';