2022-08-01 13:30:06 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:google_fonts/google_fonts.dart';
|
2022-08-12 11:42:43 +02:00
|
|
|
|
2022-09-05 04:32:36 +02:00
|
|
|
var lightCustomTheme = ThemeData(
|
2022-08-01 13:30:06 +02:00
|
|
|
useMaterial3: true,
|
2022-09-05 04:32:36 +02:00
|
|
|
colorScheme: ColorScheme.fromSeed(
|
|
|
|
seedColor: Colors.blue,
|
|
|
|
brightness: Brightness.light,
|
2022-08-01 13:30:06 +02:00
|
|
|
),
|
2022-09-05 04:32:36 +02:00
|
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.light().textTheme),
|
2022-08-01 13:30:06 +02:00
|
|
|
);
|
|
|
|
|
2022-09-05 04:32:36 +02:00
|
|
|
var darkCustomTheme = ThemeData(
|
2022-08-01 13:30:06 +02:00
|
|
|
useMaterial3: true,
|
2022-09-05 04:32:36 +02:00
|
|
|
colorScheme: ColorScheme.fromSeed(
|
|
|
|
seedColor: Colors.blue,
|
|
|
|
brightness: Brightness.dark,
|
|
|
|
primary: const Color(0xff7792BA),
|
|
|
|
surface: const Color(0xff0A0D11),
|
2022-08-12 11:42:43 +02:00
|
|
|
),
|
2022-09-05 04:32:36 +02:00
|
|
|
canvasColor: const Color(0xff0A0D11),
|
|
|
|
scaffoldBackgroundColor: const Color(0xff0A0D11),
|
2022-09-02 15:35:25 +02:00
|
|
|
toggleableActiveColor: const Color(0xff7792BA),
|
2022-09-05 04:32:36 +02:00
|
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.dark().textTheme),
|
2022-08-01 13:30:06 +02:00
|
|
|
);
|