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,35 +1,35 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'lawheatmap_tokens.dart';
|
||||
import 'reclaim_tokens.dart';
|
||||
|
||||
/// ThemeData assembly for the F∆I Law-Heatmap client.
|
||||
/// ThemeData assembly for the F∆I Recl∆Im client.
|
||||
///
|
||||
/// Dark mode is the default (consistent with fai_web's
|
||||
/// `color-scheme: dark`). Light mode falls back to the paper
|
||||
/// palette for printing/screenshot work.
|
||||
class LawHeatmapTheme {
|
||||
LawHeatmapTheme._();
|
||||
class ReclaimTheme {
|
||||
ReclaimTheme._();
|
||||
|
||||
static ThemeData dark() => _build(Brightness.dark);
|
||||
static ThemeData light() => _build(Brightness.light);
|
||||
|
||||
static ThemeData _build(Brightness brightness) {
|
||||
final isDark = brightness == Brightness.dark;
|
||||
final canvas = isDark ? LawHeatmapColors.ink : LawHeatmapColors.paper;
|
||||
final canvas = isDark ? ReclaimColors.ink : ReclaimColors.paper;
|
||||
final surface =
|
||||
isDark ? LawHeatmapColors.inkRaised : LawHeatmapColors.paperRaised;
|
||||
isDark ? ReclaimColors.inkRaised : ReclaimColors.paperRaised;
|
||||
final onSurface = isDark
|
||||
? const Color(0xFFE9E7E2)
|
||||
: const Color(0xFF1A1B1E);
|
||||
|
||||
final colorScheme = ColorScheme(
|
||||
brightness: brightness,
|
||||
primary: LawHeatmapColors.signal,
|
||||
onPrimary: LawHeatmapColors.ink,
|
||||
secondary: LawHeatmapColors.mute,
|
||||
primary: ReclaimColors.signal,
|
||||
onPrimary: ReclaimColors.ink,
|
||||
secondary: ReclaimColors.mute,
|
||||
onSecondary: onSurface,
|
||||
error: const Color(0xFFD8723A),
|
||||
onError: LawHeatmapColors.ink,
|
||||
onError: ReclaimColors.ink,
|
||||
surface: surface,
|
||||
onSurface: onSurface,
|
||||
);
|
||||
|
|
@ -42,33 +42,33 @@ class LawHeatmapTheme {
|
|||
colorScheme: colorScheme,
|
||||
scaffoldBackgroundColor: canvas,
|
||||
canvasColor: canvas,
|
||||
fontFamily: LawHeatmapTypography.body,
|
||||
fontFamily: ReclaimTypography.body,
|
||||
textTheme: textTheme,
|
||||
cardTheme: CardThemeData(
|
||||
color: surface,
|
||||
elevation: 0,
|
||||
margin: EdgeInsets.zero,
|
||||
shape: const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.all(LawHeatmapRadius.md),
|
||||
borderRadius: BorderRadius.all(ReclaimRadius.md),
|
||||
side: BorderSide(color: Color(0x24FFFFFF)),
|
||||
),
|
||||
),
|
||||
dividerTheme: DividerThemeData(
|
||||
color: onSurface.withValues(alpha: LawHeatmapColors.hairlineDarkOpacity),
|
||||
color: onSurface.withValues(alpha: ReclaimColors.hairlineDarkOpacity),
|
||||
thickness: 1,
|
||||
space: 1,
|
||||
),
|
||||
filledButtonTheme: FilledButtonThemeData(
|
||||
style: FilledButton.styleFrom(
|
||||
backgroundColor: LawHeatmapColors.signal,
|
||||
foregroundColor: LawHeatmapColors.ink,
|
||||
backgroundColor: ReclaimColors.signal,
|
||||
foregroundColor: ReclaimColors.ink,
|
||||
shape: const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.all(LawHeatmapRadius.sm),
|
||||
borderRadius: BorderRadius.all(ReclaimRadius.sm),
|
||||
),
|
||||
textStyle: textTheme.labelLarge,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: LawHeatmapSpace.lg,
|
||||
vertical: LawHeatmapSpace.md,
|
||||
horizontal: ReclaimSpace.lg,
|
||||
vertical: ReclaimSpace.md,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
@ -76,8 +76,8 @@ class LawHeatmapTheme {
|
|||
}
|
||||
|
||||
static TextTheme _textTheme(Color onSurface) {
|
||||
const display = LawHeatmapTypography.display;
|
||||
const body = LawHeatmapTypography.body;
|
||||
const display = ReclaimTypography.display;
|
||||
const body = ReclaimTypography.body;
|
||||
return TextTheme(
|
||||
displaySmall: TextStyle(
|
||||
fontFamily: display,
|
||||
|
|
@ -123,5 +123,5 @@ class LawHeatmapTheme {
|
|||
/// Convenience: JetBrains-Mono variant of an existing style for
|
||||
/// technical content (ELI/CELEX, SHA-256, audit-event IDs).
|
||||
static TextStyle mono(TextStyle base) =>
|
||||
base.copyWith(fontFamily: LawHeatmapTypography.mono);
|
||||
base.copyWith(fontFamily: ReclaimTypography.mono);
|
||||
}
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Visual tokens for the F∆I Law-Heatmap client, sourced from the
|
||||
/// Visual tokens for the F∆I Recl∆Im client, sourced from the
|
||||
/// fai_web brand palette (see fai_web/src/styles/global.css:14-20).
|
||||
///
|
||||
/// Unlike `fai_chain_studio`'s `ChainColors` (Tailwind sky-400 —
|
||||
/// dev-tool look), this palette matches the public-facing brand:
|
||||
/// ink/paper with a petrol "signal" accent that doubles as the eye
|
||||
/// of the `∆` mark.
|
||||
class LawHeatmapColors {
|
||||
LawHeatmapColors._();
|
||||
class ReclaimColors {
|
||||
ReclaimColors._();
|
||||
|
||||
// Core palette (fai_web/src/styles/global.css)
|
||||
static const ink = Color(0xFF08090A);
|
||||
|
|
@ -40,8 +40,8 @@ class LawHeatmapColors {
|
|||
|
||||
/// Spacing scale — 4/8/12/16/24/32/48 multiples, matching
|
||||
/// `ChainSpace` from `fai_chain_studio/lib/theme/tokens.dart`.
|
||||
class LawHeatmapSpace {
|
||||
LawHeatmapSpace._();
|
||||
class ReclaimSpace {
|
||||
ReclaimSpace._();
|
||||
|
||||
static const xs = 4.0;
|
||||
static const sm = 8.0;
|
||||
|
|
@ -52,15 +52,15 @@ class LawHeatmapSpace {
|
|||
static const xxxl = 48.0;
|
||||
}
|
||||
|
||||
class LawHeatmapRadius {
|
||||
LawHeatmapRadius._();
|
||||
class ReclaimRadius {
|
||||
ReclaimRadius._();
|
||||
|
||||
static const sm = Radius.circular(6);
|
||||
static const md = Radius.circular(10);
|
||||
}
|
||||
|
||||
class LawHeatmapTypography {
|
||||
LawHeatmapTypography._();
|
||||
class ReclaimTypography {
|
||||
ReclaimTypography._();
|
||||
|
||||
static const display = 'SpaceGroteskVariable';
|
||||
static const body = 'InterVariable';
|
||||
Loading…
Add table
Add a link
Reference in a new issue