utils/design_system/lib/design_system.dart
Krzysztof kuhy Rudnicki 7252ba0a76
Some checks are pending
design_system tests / test (push) Waiting to run
file length / file-length (push) Waiting to run
kuhy_credit drift / drift (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 0.5.1: KLogo, fix asset key
The 0.5.0 tag passed 'packages/design_system/...' plus package:,
so flutter_svg loaded a doubled key and the logo never rendered.
Lands the logo on main (0.5.0 was tagged off-branch) with tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:58:11 +01:00

23 lines
876 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/logo.dart';
export 'src/section_header.dart';
export 'src/status_colors.dart';
export 'src/theme.dart';
export 'src/tokens.dart';