ToneSnap_FSX_Flutter/lib/res/themes/app_themes.dart
fengshengxiong c7cbdb04be 个人曲库
2024-07-14 16:13:46 +08:00

25 lines
899 B
Dart

// Author: fengshengxiong
// Date: 2024/5/7
// Description: 主题
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:tone_snap/res/themes/app_colors.dart';
ThemeData sideATheme = ThemeData.dark(useMaterial3: true).copyWith(
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF000000)),
appBarTheme: const AppBarTheme(color: Color(0xFF000000)),
scaffoldBackgroundColor: const Color(0xFF000000),
scrollbarTheme: ScrollbarThemeData(
thumbVisibility: WidgetStateProperty.all(false),
thumbColor: WidgetStateProperty.all(Colors.white),
radius: Radius.circular(8.r),
),
);
ThemeData sideBTheme = ThemeData.dark(useMaterial3: true).copyWith(
colorScheme: ColorScheme.fromSeed(seedColor: seedColor),
appBarTheme: const AppBarTheme(color: scaffoldBgColor),
scaffoldBackgroundColor: scaffoldBgColor,
);