feat(brand): rename product to Recl∆Im (Reclaim) across app, bundle, docs
Recl∆Im — the F∆I product line for Pflicht-basierte
Wirkungsanalyse und Reform-Vorschlags-Pipelines. Replaces the
working title 'Law-Heatmap', which described the demo view
rather than the platform. Heatmap, Norms list, Hub view,
Methodik are now four panes of the same Recl∆Im app.
Renames in this commit:
Flutter package lawheatmap_app -> reclaim_app
macOS bundle id ai.flemming.lawheatmapApp -> ai.flemming.reclaim
macOS PRODUCT_NAME lawheatmap_app -> reclaim_app
Theme tokens LawHeatmapColors/Space/Radius/Typography/Theme
-> Reclaim*
Surface card LawHeatmapCard -> ReclaimCard
Top-level widget LawHeatmapApp -> ReclaimApp
Theme files lawheatmap_theme.dart/lawheatmap_tokens.dart
-> reclaim_theme.dart/reclaim_tokens.dart
Widget file lawheatmap_card.dart -> reclaim_card.dart
Build script build-macos.sh paths and headline string
Docs MACHBARKEITSSTUDIE.md, METHODIK.md, RUN.md,
app/README.md, flow YAML
UI strings 'F∆I Law-Heatmap' / 'Law-Heatmap'
-> 'Recl∆Im' / 'Recl∆Im (F∆I)' for vendor-
prefixed contexts
flutter analyze: clean. flutter test: 2/2 passing.
The local working directory stays fai_lawheatmap/ for now —
the dir is referenced by the .claude project metadata; renaming
it would break session continuity for no real gain. The Forgejo
repo was renamed via API in the same change-set (fai/lawheatmap
-> fai/reclaim), with the legacy slug serving a redirect
courtesy of Forgejo's built-in rename handling.
Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
90b7500aaf
commit
e08cedcd3f
29 changed files with 291 additions and 226 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../theme/lawheatmap_tokens.dart';
|
||||
import '../widgets/lawheatmap_card.dart';
|
||||
import '../theme/reclaim_tokens.dart';
|
||||
import '../widgets/reclaim_card.dart';
|
||||
|
||||
class AboutPage extends StatelessWidget {
|
||||
const AboutPage({super.key});
|
||||
|
|
@ -10,25 +10,25 @@ class AboutPage extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
final t = Theme.of(context).textTheme;
|
||||
return SingleChildScrollView(
|
||||
padding: const EdgeInsets.all(LawHeatmapSpace.xl),
|
||||
padding: const EdgeInsets.all(ReclaimSpace.xl),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Methodik & Quellen', style: t.displaySmall),
|
||||
const SizedBox(height: LawHeatmapSpace.xs),
|
||||
const SizedBox(height: ReclaimSpace.xs),
|
||||
Text(
|
||||
'Wie das System bewertet, woran es sich messen lässt.',
|
||||
style: t.bodyLarge?.copyWith(color: LawHeatmapColors.mute),
|
||||
style: t.bodyLarge?.copyWith(color: ReclaimColors.mute),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
LawHeatmapCard(
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
ReclaimCard(
|
||||
accent: true,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Drei nicht verhandelbare Sätze',
|
||||
style: t.headlineSmall),
|
||||
const SizedBox(height: LawHeatmapSpace.md),
|
||||
const SizedBox(height: ReclaimSpace.md),
|
||||
Text(
|
||||
'1. Wir bewerten Pflichten, nicht Gesetze.\n'
|
||||
'2. Jede Zahl trägt die Tier-Stufe ihres schwächsten '
|
||||
|
|
@ -40,13 +40,13 @@ class AboutPage extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
LawHeatmapCard(
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
ReclaimCard(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Methodische Vorbilder', style: t.headlineSmall),
|
||||
const SizedBox(height: LawHeatmapSpace.sm),
|
||||
const SizedBox(height: ReclaimSpace.sm),
|
||||
_bullet(t,
|
||||
'Standardkostenmodell (SKM) — Nationaler Normenkontrollrat. P × F × T × h.'),
|
||||
_bullet(t,
|
||||
|
|
@ -62,13 +62,13 @@ class AboutPage extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
LawHeatmapCard(
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
ReclaimCard(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('4-Tier-Evidenz-Modell', style: t.headlineSmall),
|
||||
const SizedBox(height: LawHeatmapSpace.sm),
|
||||
const SizedBox(height: ReclaimSpace.sm),
|
||||
_bullet(t,
|
||||
'T1 — amtlich/peer-reviewed: NKR, DESTATIS, ifo, ZEW, BMWK, SVR, IfM Bonn.'),
|
||||
_bullet(t,
|
||||
|
|
@ -80,13 +80,13 @@ class AboutPage extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
LawHeatmapCard(
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
ReclaimCard(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Plattform', style: t.headlineSmall),
|
||||
const SizedBox(height: LawHeatmapSpace.sm),
|
||||
const SizedBox(height: ReclaimSpace.sm),
|
||||
Text(
|
||||
'Ch∆In v0.16.0 — Vendor: F∆I = Flemming.AI. '
|
||||
'Hub. Module. Flow. Deterministisch, WASM-sandboxed, '
|
||||
|
|
@ -104,7 +104,7 @@ class AboutPage extends StatelessWidget {
|
|||
|
||||
Widget _bullet(TextTheme t, String text) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: LawHeatmapSpace.sm),
|
||||
padding: const EdgeInsets.only(bottom: ReclaimSpace.sm),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
|
@ -114,7 +114,7 @@ class AboutPage extends StatelessWidget {
|
|||
width: 5,
|
||||
height: 5,
|
||||
decoration: const BoxDecoration(
|
||||
color: LawHeatmapColors.signal,
|
||||
color: ReclaimColors.signal,
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@ import 'package:flutter/material.dart';
|
|||
|
||||
import '../data/models.dart';
|
||||
import '../data/repository.dart';
|
||||
import '../theme/lawheatmap_tokens.dart';
|
||||
import '../theme/reclaim_tokens.dart';
|
||||
import '../widgets/demo_banner.dart';
|
||||
import '../widgets/heatmap_grid.dart';
|
||||
import '../widgets/lawheatmap_card.dart';
|
||||
import '../widgets/reclaim_card.dart';
|
||||
import '../widgets/tier_badge.dart';
|
||||
import 'norm_detail_page.dart';
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ class _HeatmapPageState extends State<HeatmapPage> {
|
|||
const DemoBanner(),
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(LawHeatmapSpace.xl),
|
||||
padding: const EdgeInsets.all(ReclaimSpace.xl),
|
||||
child: FutureBuilder<List<Evaluation>>(
|
||||
future: _future,
|
||||
builder: (context, snap) {
|
||||
|
|
@ -48,18 +48,18 @@ class _HeatmapPageState extends State<HeatmapPage> {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Heatmap', style: t.displaySmall),
|
||||
const SizedBox(height: LawHeatmapSpace.xs),
|
||||
const SizedBox(height: ReclaimSpace.xs),
|
||||
Text(
|
||||
'X: jährliche Bürokratiekosten (€, log10). '
|
||||
'Y: Nutzen-Score 0–5. Punktgröße: Betroffenheit. '
|
||||
'Klick auf einen Punkt → Detail mit Pflichten + Quellen.',
|
||||
style: t.bodyLarge?.copyWith(
|
||||
color: LawHeatmapColors.mute,
|
||||
color: ReclaimColors.mute,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
Expanded(
|
||||
child: LawHeatmapCard(
|
||||
child: ReclaimCard(
|
||||
accent: true,
|
||||
expand: true,
|
||||
child: HeatmapGrid(
|
||||
|
|
@ -77,10 +77,10 @@ class _HeatmapPageState extends State<HeatmapPage> {
|
|||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
Wrap(
|
||||
spacing: LawHeatmapSpace.md,
|
||||
runSpacing: LawHeatmapSpace.sm,
|
||||
spacing: ReclaimSpace.md,
|
||||
runSpacing: ReclaimSpace.sm,
|
||||
children: [
|
||||
for (final e in items)
|
||||
InkWell(
|
||||
|
|
@ -94,10 +94,10 @@ class _HeatmapPageState extends State<HeatmapPage> {
|
|||
),
|
||||
);
|
||||
},
|
||||
child: LawHeatmapCard(
|
||||
child: ReclaimCard(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: LawHeatmapSpace.md,
|
||||
vertical: LawHeatmapSpace.sm,
|
||||
horizontal: ReclaimSpace.md,
|
||||
vertical: ReclaimSpace.sm,
|
||||
),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
|
@ -105,7 +105,7 @@ class _HeatmapPageState extends State<HeatmapPage> {
|
|||
TierBadge(
|
||||
tier: e.tierLowest, compact: true),
|
||||
const SizedBox(
|
||||
width: LawHeatmapSpace.sm),
|
||||
width: ReclaimSpace.sm),
|
||||
Text(
|
||||
'${e.norm.jurabk} ${e.norm.paragraph}',
|
||||
style: t.labelLarge,
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ import 'package:flutter/material.dart';
|
|||
import '../data/hub_endpoint.dart';
|
||||
import '../data/hub_repository.dart';
|
||||
import '../data/repository.dart';
|
||||
import '../theme/lawheatmap_tokens.dart';
|
||||
import '../theme/reclaim_tokens.dart';
|
||||
import '../widgets/hub_capabilities_card.dart';
|
||||
import '../widgets/lawheatmap_card.dart';
|
||||
import '../widgets/reclaim_card.dart';
|
||||
|
||||
/// Hub connection + settings. Read-only summary at the top, then
|
||||
/// an editable form for endpoint host/port/secure/token, then a
|
||||
|
|
@ -109,18 +109,18 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
final repo = widget.repository;
|
||||
final s = _settings;
|
||||
return SingleChildScrollView(
|
||||
padding: const EdgeInsets.all(LawHeatmapSpace.xl),
|
||||
padding: const EdgeInsets.all(ReclaimSpace.xl),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Ch∆In Hub', style: t.displaySmall),
|
||||
const SizedBox(height: LawHeatmapSpace.xs),
|
||||
const SizedBox(height: ReclaimSpace.xs),
|
||||
Text(
|
||||
'Status der Verbindung und Konfiguration des lokalen Hubs.',
|
||||
style: t.bodyLarge?.copyWith(color: LawHeatmapColors.mute),
|
||||
style: t.bodyLarge?.copyWith(color: ReclaimColors.mute),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
LawHeatmapCard(
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
ReclaimCard(
|
||||
accent: true,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
|
@ -142,23 +142,23 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
LawHeatmapCard(
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
ReclaimCard(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Verbindung konfigurieren',
|
||||
style: t.headlineSmall),
|
||||
const SizedBox(height: LawHeatmapSpace.sm),
|
||||
const SizedBox(height: ReclaimSpace.sm),
|
||||
Text(
|
||||
'`chain serve` läuft standardmäßig auf '
|
||||
'127.0.0.1:50051 ohne Auth. '
|
||||
'Bei aktiver Auth den Bearer-Token aus '
|
||||
'~/.chain/hub-auth-token hier eintragen.',
|
||||
style: t.labelSmall
|
||||
?.copyWith(color: LawHeatmapColors.mute),
|
||||
?.copyWith(color: ReclaimColors.mute),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
Row(children: [
|
||||
Expanded(
|
||||
flex: 3,
|
||||
|
|
@ -170,7 +170,7 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: LawHeatmapSpace.md),
|
||||
const SizedBox(width: ReclaimSpace.md),
|
||||
Expanded(
|
||||
child: TextField(
|
||||
controller: _portCtl,
|
||||
|
|
@ -182,7 +182,7 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
),
|
||||
),
|
||||
]),
|
||||
const SizedBox(height: LawHeatmapSpace.md),
|
||||
const SizedBox(height: ReclaimSpace.md),
|
||||
TextField(
|
||||
controller: _tokenCtl,
|
||||
decoration: const InputDecoration(
|
||||
|
|
@ -190,23 +190,23 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
),
|
||||
obscureText: true,
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.md),
|
||||
const SizedBox(height: ReclaimSpace.md),
|
||||
Row(children: [
|
||||
Switch(
|
||||
value: _secure,
|
||||
onChanged: (v) => setState(() => _secure = v),
|
||||
),
|
||||
const SizedBox(width: LawHeatmapSpace.sm),
|
||||
const SizedBox(width: ReclaimSpace.sm),
|
||||
const Text('TLS (https)'),
|
||||
const SizedBox(width: LawHeatmapSpace.xl),
|
||||
const SizedBox(width: ReclaimSpace.xl),
|
||||
Switch(
|
||||
value: _useHub,
|
||||
onChanged: (v) => setState(() => _useHub = v),
|
||||
),
|
||||
const SizedBox(width: LawHeatmapSpace.sm),
|
||||
const SizedBox(width: ReclaimSpace.sm),
|
||||
const Text('Hub beim Start nutzen'),
|
||||
]),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
Row(children: [
|
||||
FilledButton.icon(
|
||||
onPressed: _probing ? null : _probe,
|
||||
|
|
@ -221,7 +221,7 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
: const Icon(Icons.bolt_outlined),
|
||||
label: const Text('Verbindung testen'),
|
||||
),
|
||||
const SizedBox(width: LawHeatmapSpace.md),
|
||||
const SizedBox(width: ReclaimSpace.md),
|
||||
OutlinedButton.icon(
|
||||
onPressed: _save,
|
||||
icon: const Icon(Icons.save_outlined),
|
||||
|
|
@ -229,24 +229,24 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
),
|
||||
]),
|
||||
if (_probeMessage != null) ...[
|
||||
const SizedBox(height: LawHeatmapSpace.md),
|
||||
const SizedBox(height: ReclaimSpace.md),
|
||||
Text(_probeMessage!,
|
||||
style: t.labelLarge?.copyWith(
|
||||
color: LawHeatmapColors.signal,
|
||||
color: ReclaimColors.signal,
|
||||
)),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
HubCapabilitiesCard(repository: repo),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
LawHeatmapCard(
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
ReclaimCard(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Geplanter Live-Flow', style: t.headlineSmall),
|
||||
const SizedBox(height: LawHeatmapSpace.sm),
|
||||
const SizedBox(height: ReclaimSpace.sm),
|
||||
Text(
|
||||
'1. `chain serve` auf localhost:50051 starten.\n'
|
||||
'2. Module installieren (`chain install`).\n'
|
||||
|
|
@ -261,7 +261,7 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
'Evaluation-Objekte übersetzt.',
|
||||
style: t.bodyLarge?.copyWith(
|
||||
height: 1.6,
|
||||
fontFamily: LawHeatmapTypography.mono,
|
||||
fontFamily: ReclaimTypography.mono,
|
||||
fontSize: 12,
|
||||
),
|
||||
),
|
||||
|
|
@ -282,12 +282,12 @@ class _HubStatusPageState extends State<HubStatusPage> {
|
|||
width: 200,
|
||||
child: Text(label,
|
||||
style: t.labelLarge
|
||||
?.copyWith(color: LawHeatmapColors.mute)),
|
||||
?.copyWith(color: ReclaimColors.mute)),
|
||||
),
|
||||
Expanded(
|
||||
child: Text(value,
|
||||
style: t.bodyLarge
|
||||
?.copyWith(fontFamily: LawHeatmapTypography.mono)),
|
||||
?.copyWith(fontFamily: ReclaimTypography.mono)),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../data/repository.dart';
|
||||
import '../theme/lawheatmap_theme.dart';
|
||||
import '../theme/lawheatmap_tokens.dart';
|
||||
import '../theme/reclaim_theme.dart';
|
||||
import '../theme/reclaim_tokens.dart';
|
||||
import '../widgets/delta_mark.dart';
|
||||
import 'shell_page.dart';
|
||||
|
||||
|
|
@ -23,28 +23,28 @@ class LandingPage extends StatelessWidget {
|
|||
constraints: const BoxConstraints(maxWidth: 720),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: LawHeatmapSpace.xxl,
|
||||
vertical: LawHeatmapSpace.xxxl,
|
||||
horizontal: ReclaimSpace.xxl,
|
||||
vertical: ReclaimSpace.xxxl,
|
||||
),
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const DeltaMark(size: 96),
|
||||
const SizedBox(height: LawHeatmapSpace.xxl),
|
||||
Text('F∆I Law-Heatmap', style: t.displaySmall),
|
||||
const SizedBox(height: LawHeatmapSpace.sm),
|
||||
const SizedBox(height: ReclaimSpace.xxl),
|
||||
Text('Recl∆Im', style: t.displaySmall),
|
||||
const SizedBox(height: ReclaimSpace.sm),
|
||||
Text(
|
||||
'Pflicht-basierte Wirkungsanalyse von Rechtsnormen — '
|
||||
'auf Ch∆In, mit Quellen-Audit by construction.',
|
||||
style: t.bodyLarge
|
||||
?.copyWith(color: LawHeatmapColors.mute),
|
||||
?.copyWith(color: ReclaimColors.mute),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.xxl),
|
||||
const SizedBox(height: ReclaimSpace.xxl),
|
||||
Wrap(
|
||||
crossAxisAlignment: WrapCrossAlignment.center,
|
||||
spacing: LawHeatmapSpace.md,
|
||||
runSpacing: LawHeatmapSpace.sm,
|
||||
spacing: ReclaimSpace.md,
|
||||
runSpacing: ReclaimSpace.sm,
|
||||
children: [
|
||||
FilledButton.icon(
|
||||
onPressed: () {
|
||||
|
|
@ -61,18 +61,18 @@ class LandingPage extends StatelessWidget {
|
|||
Text(
|
||||
'Demo: 5 Pilot-Normen, ohne Hub-Verbindung',
|
||||
style: t.labelSmall?.copyWith(
|
||||
color: LawHeatmapColors.mute,
|
||||
color: ReclaimColors.mute,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.xl),
|
||||
const SizedBox(height: ReclaimSpace.xl),
|
||||
Text(
|
||||
'v0.1.0 · Phase 0 · Mock-Modus · '
|
||||
'Live-Hub-Anbindung folgt in Woche 1',
|
||||
style: LawHeatmapTheme.mono(
|
||||
style: ReclaimTheme.mono(
|
||||
t.labelSmall ?? const TextStyle(),
|
||||
).copyWith(color: LawHeatmapColors.mute),
|
||||
).copyWith(color: ReclaimColors.mute),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ import 'package:flutter/material.dart';
|
|||
|
||||
import '../data/models.dart';
|
||||
import '../data/repository.dart';
|
||||
import '../theme/lawheatmap_tokens.dart';
|
||||
import '../theme/reclaim_tokens.dart';
|
||||
import '../widgets/demo_banner.dart';
|
||||
import '../widgets/lawheatmap_card.dart';
|
||||
import '../widgets/reclaim_card.dart';
|
||||
import '../widgets/tier_badge.dart';
|
||||
import 'norm_detail_page.dart';
|
||||
|
||||
|
|
@ -21,20 +21,20 @@ class NormsListPage extends StatelessWidget {
|
|||
const DemoBanner(),
|
||||
Expanded(
|
||||
child: SingleChildScrollView(
|
||||
padding: const EdgeInsets.all(LawHeatmapSpace.xl),
|
||||
padding: const EdgeInsets.all(ReclaimSpace.xl),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Normen-Pilotkorpus', style: t.displaySmall),
|
||||
const SizedBox(height: LawHeatmapSpace.xs),
|
||||
const SizedBox(height: ReclaimSpace.xs),
|
||||
Text(
|
||||
'5 Normen für den vertikalen Durchstich. '
|
||||
'Korpus erweiterbar in Phase 1.',
|
||||
style: t.bodyLarge?.copyWith(
|
||||
color: LawHeatmapColors.mute,
|
||||
color: ReclaimColors.mute,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: LawHeatmapSpace.lg),
|
||||
const SizedBox(height: ReclaimSpace.lg),
|
||||
FutureBuilder<List<Evaluation>>(
|
||||
future: repository.list(),
|
||||
builder: (context, snap) {
|
||||
|
|
@ -47,7 +47,7 @@ class NormsListPage extends StatelessWidget {
|
|||
for (final e in snap.data!)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
bottom: LawHeatmapSpace.md),
|
||||
bottom: ReclaimSpace.md),
|
||||
child: _NormRow(
|
||||
evaluation: e,
|
||||
repository: repository,
|
||||
|
|
@ -86,7 +86,7 @@ class _NormRow extends StatelessWidget {
|
|||
),
|
||||
);
|
||||
},
|
||||
child: LawHeatmapCard(
|
||||
child: ReclaimCard(
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
|
@ -103,14 +103,14 @@ class _NormRow extends StatelessWidget {
|
|||
Text(
|
||||
evaluation.norm.eli,
|
||||
style: t.labelSmall?.copyWith(
|
||||
fontFamily: LawHeatmapTypography.mono,
|
||||
color: LawHeatmapColors.mute,
|
||||
fontFamily: ReclaimTypography.mono,
|
||||
color: ReclaimColors.mute,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(width: LawHeatmapSpace.lg),
|
||||
const SizedBox(width: ReclaimSpace.lg),
|
||||
Expanded(
|
||||
child: _MetricColumn(
|
||||
label: 'Schaden / Jahr',
|
||||
|
|
@ -130,7 +130,7 @@ class _NormRow extends StatelessWidget {
|
|||
value: _kmu(evaluation.affectedCount),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: LawHeatmapSpace.md),
|
||||
const SizedBox(width: ReclaimSpace.md),
|
||||
TierBadge(tier: evaluation.tierLowest),
|
||||
],
|
||||
),
|
||||
|
|
@ -166,7 +166,7 @@ class _MetricColumn extends StatelessWidget {
|
|||
children: [
|
||||
Text(
|
||||
label,
|
||||
style: t.labelSmall?.copyWith(color: LawHeatmapColors.mute),
|
||||
style: t.labelSmall?.copyWith(color: ReclaimColors.mute),
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(value, style: t.titleMedium),
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../data/repository.dart';
|
||||
import '../theme/lawheatmap_tokens.dart';
|
||||
import '../theme/reclaim_tokens.dart';
|
||||
import '../widgets/delta_mark.dart';
|
||||
import 'about_page.dart';
|
||||
import 'heatmap_page.dart';
|
||||
|
|
@ -42,18 +42,18 @@ class _ShellPageState extends State<ShellPage> {
|
|||
onDestinationSelected: (i) => setState(() => _index = i),
|
||||
leading: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: LawHeatmapSpace.lg,
|
||||
horizontal: LawHeatmapSpace.md,
|
||||
vertical: ReclaimSpace.lg,
|
||||
horizontal: ReclaimSpace.md,
|
||||
),
|
||||
child: Column(
|
||||
children: [
|
||||
const DeltaMark(size: 36),
|
||||
const SizedBox(height: LawHeatmapSpace.sm),
|
||||
const SizedBox(height: ReclaimSpace.sm),
|
||||
Text(
|
||||
'F∆I',
|
||||
style: t.labelLarge?.copyWith(
|
||||
letterSpacing: 2,
|
||||
color: LawHeatmapColors.signal,
|
||||
color: ReclaimColors.signal,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue