import 'package:flutter/material.dart'; /// Seed-green palette drawn from the mockups (docs/mockups): a green app bar and /// a pale-green canvas. const seedGreen = Color(0xFF3C8B2E); const seedGreenDark = Color(0xFF1B5E20); const seedCanvas = Color(0xFFEAF4E2); const seedLink = Color(0xFF1E88C0); ThemeData buildTaneTheme() { final scheme = ColorScheme.fromSeed( seedColor: seedGreen, brightness: Brightness.light, ); return ThemeData( useMaterial3: true, colorScheme: scheme, scaffoldBackgroundColor: seedCanvas, appBarTheme: const AppBarTheme( backgroundColor: seedGreen, foregroundColor: Colors.white, elevation: 0, centerTitle: false, ), floatingActionButtonTheme: const FloatingActionButtonThemeData( backgroundColor: seedGreen, foregroundColor: Colors.white, ), bottomSheetTheme: const BottomSheetThemeData( backgroundColor: seedCanvas, surfaceTintColor: Colors.transparent, ), dividerTheme: const DividerThemeData(space: 1, thickness: 1), ); }