Create new golden color
This commit is contained in:
parent
3db345350f
commit
c03a34fa21
|
@ -51,6 +51,7 @@ class EnteColorScheme {
|
|||
//other colors
|
||||
final Color tabIcon;
|
||||
final List<Color> avatarColors;
|
||||
final Color golden500;
|
||||
|
||||
const EnteColorScheme(
|
||||
this.backgroundBase,
|
||||
|
@ -86,6 +87,7 @@ class EnteColorScheme {
|
|||
this.warning500 = _warning500,
|
||||
this.warning400 = _warning400,
|
||||
this.caution500 = _caution500,
|
||||
this.golden500 = _golden500,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -224,6 +226,8 @@ const Color _warning800 = Color(0xFFF53434);
|
|||
|
||||
const Color _caution500 = Color.fromRGBO(255, 194, 71, 1);
|
||||
|
||||
const Color _golden500 = Color(0xFFFFC94D);
|
||||
|
||||
const List<Color> avatarLight = [
|
||||
Color.fromRGBO(118, 84, 154, 1),
|
||||
Color.fromRGBO(223, 120, 97, 1),
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:photos/ente_theme_data.dart';
|
||||
import 'package:photos/theme/colors.dart';
|
||||
import "package:photos/theme/ente_theme.dart";
|
||||
import 'package:photos/theme/text_style.dart';
|
||||
import 'package:photos/ui/components/icon_button_widget.dart';
|
||||
|
||||
|
@ -40,7 +41,7 @@ class NotificationWidget extends StatelessWidget {
|
|||
backgroundColor = backgroundElevated2Dark;
|
||||
break;
|
||||
case NotificationType.goldenBanner:
|
||||
backgroundColor = const Color.fromARGB(255, 250, 202, 88);
|
||||
backgroundColor = getEnteColorScheme(context).golden500;
|
||||
}
|
||||
return Center(
|
||||
child: GestureDetector(
|
||||
|
|
Loading…
Reference in a new issue