mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
40 lines
1.1 KiB
Dart
40 lines
1.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
|
|
var lightCustomTheme = ThemeData(
|
|
useMaterial3: true,
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: Colors.blue,
|
|
brightness: Brightness.light,
|
|
),
|
|
navigationBarTheme: NavigationBarThemeData(
|
|
labelTextStyle: MaterialStateProperty.all(
|
|
const TextStyle(
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
),
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.light().textTheme),
|
|
);
|
|
|
|
var darkCustomTheme = ThemeData(
|
|
useMaterial3: true,
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: Colors.blue,
|
|
brightness: Brightness.dark,
|
|
primary: const Color(0xff7792BA),
|
|
surface: const Color(0xff0A0D11),
|
|
),
|
|
navigationBarTheme: NavigationBarThemeData(
|
|
labelTextStyle: MaterialStateProperty.all(
|
|
const TextStyle(
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
),
|
|
canvasColor: const Color(0xff0A0D11),
|
|
scaffoldBackgroundColor: const Color(0xff0A0D11),
|
|
toggleableActiveColor: const Color(0xff7792BA),
|
|
textTheme: GoogleFonts.robotoTextTheme(ThemeData.dark().textTheme),
|
|
);
|