Files
biteplan/lib/core/theme/app_theme.dart
T

25 lines
717 B
Dart
Raw Normal View History

2026-05-16 17:41:26 +02:00
import 'package:flutter/material.dart';
class AppTheme {
static const _seed = Color(0xFF2d6a4f);
static ThemeData light() {
final scheme = ColorScheme.fromSeed(seedColor: _seed);
return ThemeData(
useMaterial3: true,
colorScheme: scheme,
cardTheme: CardThemeData(
elevation: 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12),
side: BorderSide(color: scheme.outlineVariant),
),
),
inputDecorationTheme: InputDecorationTheme(
border: OutlineInputBorder(borderRadius: BorderRadius.circular(10)),
contentPadding: const EdgeInsets.symmetric(horizontal: 14, vertical: 12),
),
);
}
}