mirror of
https://github.com/Myzel394/quid_faciam_hodie.git
synced 2025-06-18 15:25:27 +02:00
56 lines
1.6 KiB
Dart
56 lines
1.6 KiB
Dart
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:quid_faciam_hodie/constants/spacing.dart';
|
|
|
|
final LIGHT_THEME_MATERIAL = ThemeData(
|
|
colorScheme: ThemeData.light().colorScheme.copyWith(
|
|
primary: const Color(0xffd77422),
|
|
secondary: const Color(0xffcb4a1c),
|
|
),
|
|
textTheme: ThemeData().textTheme.copyWith(
|
|
headline1: const TextStyle(
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
inputDecorationTheme: InputDecorationTheme(
|
|
filled: true,
|
|
helperMaxLines: 10,
|
|
errorMaxLines: 10,
|
|
border: OutlineInputBorder(
|
|
borderRadius: BorderRadius.circular(MEDIUM_SPACE),
|
|
),
|
|
),
|
|
);
|
|
|
|
final DARK_THEME_MATERIAL = ThemeData.dark().copyWith(
|
|
colorScheme: ThemeData.dark().colorScheme.copyWith(
|
|
primary: const Color(0xffd77422),
|
|
secondary: const Color(0xffcb4a1c),
|
|
),
|
|
textTheme: ThemeData.dark().textTheme.copyWith(
|
|
headline1: const TextStyle(
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
inputDecorationTheme: InputDecorationTheme(
|
|
filled: true,
|
|
helperMaxLines: 10,
|
|
errorMaxLines: 10,
|
|
border: OutlineInputBorder(
|
|
borderRadius: BorderRadius.circular(MEDIUM_SPACE),
|
|
),
|
|
),
|
|
);
|
|
|
|
final LIGHT_THEME_CUPERTINO = CupertinoThemeData().copyWith(
|
|
primaryColor: const Color(0xffcb4a1c),
|
|
textTheme: CupertinoThemeData().textTheme.copyWith(
|
|
navLargeTitleTextStyle: const TextStyle(
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
);
|