34 lines
705 B
Dart
34 lines
705 B
Dart
import 'package:base_project/theme/theme_schema.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class LightTheme extends ThemeSchema {
|
|
|
|
LightTheme() : super(
|
|
brightness: Brightness.light,
|
|
textTheme: TextThemeSchema(
|
|
title: const TextStyle(),
|
|
body: const TextStyle()
|
|
),
|
|
colorTheme: ColorThemeSchema(
|
|
primary: Colors.black,
|
|
secondary: Colors.white
|
|
)
|
|
);
|
|
|
|
}
|
|
|
|
class DarkTheme extends ThemeSchema {
|
|
|
|
DarkTheme() : super(
|
|
brightness: Brightness.dark,
|
|
textTheme: TextThemeSchema(
|
|
title: const TextStyle(),
|
|
body: const TextStyle()
|
|
),
|
|
colorTheme: ColorThemeSchema(
|
|
primary: Colors.white,
|
|
secondary: Colors.black
|
|
)
|
|
);
|
|
|
|
} |