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-07 13:01:04 +02:00
|
|
|
var lightCustomColorScheme = ColorScheme.fromSeed(
|
2023-11-11 11:55:35 +01:00
|
|
|
seedColor: Colors.purple,
|
|
|
|
primary: const Color(0xFF4C51C0),
|
2022-09-07 13:01:04 +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-07 13:01:04 +02:00
|
|
|
colorScheme: lightCustomColorScheme,
|
2022-09-06 19:07:23 +02:00
|
|
|
navigationBarTheme: NavigationBarThemeData(
|
|
|
|
labelTextStyle: MaterialStateProperty.all(
|
2022-09-07 13:01:04 +02:00
|
|
|
TextStyle(
|
2023-03-14 15:53:42 +01:00
|
|
|
color: lightCustomColorScheme.onSurface,
|
2022-09-06 19:07:23 +02:00
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2022-09-05 04:32:36 +02:00
|
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.light().textTheme),
|
2022-08-01 13:30:06 +02:00
|
|
|
);
|
|
|
|
|
2022-09-07 13:01:04 +02:00
|
|
|
var darkCustomColorScheme = ColorScheme.fromSeed(
|
2023-11-11 11:55:35 +01:00
|
|
|
seedColor: Colors.purple,
|
2022-09-07 13:01:04 +02:00
|
|
|
brightness: Brightness.dark,
|
2023-11-11 11:55:35 +01:00
|
|
|
primary: const Color(0xFFBFC1FF),
|
|
|
|
surface: const Color(0xFF131316),
|
2022-09-07 13:01:04 +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-07 13:01:04 +02:00
|
|
|
colorScheme: darkCustomColorScheme,
|
2022-09-06 19:07:23 +02:00
|
|
|
navigationBarTheme: NavigationBarThemeData(
|
|
|
|
labelTextStyle: MaterialStateProperty.all(
|
2022-09-07 13:01:04 +02:00
|
|
|
TextStyle(
|
2023-03-14 15:53:42 +01:00
|
|
|
color: darkCustomColorScheme.onSurface,
|
2022-09-06 19:07:23 +02:00
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2023-11-11 11:55:35 +01:00
|
|
|
canvasColor: const Color(0xFF131316),
|
|
|
|
scaffoldBackgroundColor: const Color(0xFF131316),
|
2022-09-05 04:32:36 +02:00
|
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.dark().textTheme),
|
2022-08-01 13:30:06 +02:00
|
|
|
);
|