ariadne/apps/client/lib/shared/theme/app_theme.dart
2026-07-24 05:45:04 +09:00

46 lines
1.4 KiB
Dart

import 'package:flutter/material.dart';
abstract final class AppTheme {
static const _ink = Color(0xFF172128);
static const _blue = Color(0xFF2458A6);
static const _canvas = Color(0xFFF3F5F7);
static ThemeData get light {
final colorScheme = ColorScheme.fromSeed(
seedColor: _blue,
brightness: Brightness.light,
surface: Colors.white,
);
return ThemeData(
useMaterial3: true,
colorScheme: colorScheme,
scaffoldBackgroundColor: _canvas,
fontFamilyFallback: const ['Pretendard', 'Noto Sans KR', 'sans-serif'],
textTheme: const TextTheme(
headlineMedium: TextStyle(
color: _ink,
fontWeight: FontWeight.w700,
letterSpacing: -0.7,
),
titleLarge: TextStyle(color: _ink, fontWeight: FontWeight.w700),
titleMedium: TextStyle(color: _ink, fontWeight: FontWeight.w600),
),
appBarTheme: const AppBarTheme(
backgroundColor: Colors.white,
foregroundColor: _ink,
surfaceTintColor: Colors.transparent,
elevation: 0,
),
cardTheme: CardThemeData(
color: Colors.white,
surfaceTintColor: Colors.transparent,
elevation: 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16),
side: const BorderSide(color: Color(0xFFE2E6EA)),
),
),
);
}
}