mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 09:07:47 +01:00
45 lines
1.3 KiB
Dart
45 lines
1.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
|
|
var lightCustomColorScheme = ColorScheme.fromSeed(
|
|
seedColor: Colors.blue,
|
|
brightness: Brightness.light,
|
|
);
|
|
|
|
var lightCustomTheme = ThemeData(
|
|
useMaterial3: true,
|
|
colorScheme: lightCustomColorScheme,
|
|
navigationBarTheme: NavigationBarThemeData(
|
|
labelTextStyle: MaterialStateProperty.all(
|
|
TextStyle(
|
|
color: lightCustomColorScheme.secondary,
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
),
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.light().textTheme),
|
|
);
|
|
|
|
var darkCustomColorScheme = ColorScheme.fromSeed(
|
|
seedColor: Colors.blue,
|
|
brightness: Brightness.dark,
|
|
primary: const Color(0xff7792BA),
|
|
surface: const Color(0xff0A0D11),
|
|
);
|
|
|
|
var darkCustomTheme = ThemeData(
|
|
useMaterial3: true,
|
|
colorScheme: darkCustomColorScheme,
|
|
navigationBarTheme: NavigationBarThemeData(
|
|
labelTextStyle: MaterialStateProperty.all(
|
|
TextStyle(
|
|
color: darkCustomColorScheme.secondary,
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
),
|
|
canvasColor: const Color(0xff0A0D11),
|
|
scaffoldBackgroundColor: const Color(0xff0A0D11),
|
|
toggleableActiveColor: const Color(0xff7792BA),
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.dark().textTheme),
|
|
);
|