mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 19:26:37 +00:00
oledBlack theme added to themeType
This commit is contained in:
parent
cd7dd20652
commit
8ca405cfea
2 changed files with 7 additions and 6 deletions
|
@ -3,12 +3,9 @@ import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
|||
import 'package:stackwallet/utilities/theme/dark_colors.dart';
|
||||
import 'package:stackwallet/utilities/theme/light_colors.dart';
|
||||
import 'package:stackwallet/utilities/theme/ocean_breeze_colors.dart';
|
||||
import 'package:stackwallet/utilities/theme/oled_black_colors.dart';
|
||||
|
||||
enum ThemeType {
|
||||
light,
|
||||
dark,
|
||||
oceanBreeze,
|
||||
}
|
||||
enum ThemeType { light, dark, oceanBreeze, oledBlack }
|
||||
|
||||
extension ThemeTypeExt on ThemeType {
|
||||
StackColorTheme get colorTheme {
|
||||
|
@ -19,6 +16,8 @@ extension ThemeTypeExt on ThemeType {
|
|||
return DarkColors();
|
||||
case ThemeType.oceanBreeze:
|
||||
return OceanBreezeColors();
|
||||
case ThemeType.oledBlack:
|
||||
return OledBlackColors();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -30,6 +29,8 @@ extension ThemeTypeExt on ThemeType {
|
|||
return "Dark";
|
||||
case ThemeType.oceanBreeze:
|
||||
return "Ocean Breeze";
|
||||
case ThemeType.oledBlack:
|
||||
return "Oled Black";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:stackwallet/utilities/theme/color_theme.dart';
|
||||
|
||||
class DarkColors extends StackColorTheme {
|
||||
class OledBlackColors extends StackColorTheme {
|
||||
@override
|
||||
ThemeType get themeType => ThemeType.dark;
|
||||
|
||||
|
|
Loading…
Reference in a new issue