mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-11 05:14:46 +00:00
fix colors
This commit is contained in:
parent
1f08d87471
commit
4269f18d01
2 changed files with 8 additions and 20 deletions
|
@ -28,16 +28,6 @@ class FilterWidget extends StatelessWidget {
|
|||
Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[
|
||||
Text(
|
||||
S.of(context).filters,
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
fontFamily: 'Lato',
|
||||
decoration: TextDecoration.none,
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: EdgeInsets.only(left: 24, right: 24, top: 24),
|
||||
child: ClipRRect(
|
||||
|
@ -55,10 +45,8 @@ class FilterWidget extends StatelessWidget {
|
|||
child: Text(
|
||||
S.of(context).filters,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context)
|
||||
.textTheme!
|
||||
.bodyText1!
|
||||
.decorationColor!,
|
||||
color: Theme.of(context).primaryTextTheme
|
||||
.overline!.color!,
|
||||
fontSize: 16,
|
||||
fontFamily: 'Lato',
|
||||
decoration: TextDecoration.none,
|
||||
|
@ -182,7 +170,7 @@ class SectionDivider extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
height: 1,
|
||||
color: Colors.red,//Fixme Theme.of(context).accentTextTheme.subhead.backgroundColor,
|
||||
color: Theme.of(context).dividerColor,
|
||||
);
|
||||
}
|
||||
}
|
|
@ -20,8 +20,8 @@ class RoundedCheckboxWidget extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
|
||||
final baseGradient = LinearGradient(colors: [
|
||||
Colors.red, //Fixme Theme.of(context).primaryTextTheme!.subtitle!.color!,
|
||||
Colors.red //Fixme Theme.of(context).primaryTextTheme!.subtitle!.decorationColor!,
|
||||
Theme.of(context).primaryTextTheme.subtitle1!.color!,
|
||||
Theme.of(context).primaryTextTheme.subtitle1!.decorationColor!,
|
||||
], begin: Alignment.centerLeft, end: Alignment.centerRight);
|
||||
|
||||
final darkThemeGradient = LinearGradient(colors: [
|
||||
|
@ -32,11 +32,11 @@ class RoundedCheckboxWidget extends StatelessWidget {
|
|||
final gradient = darkTheme ? darkThemeGradient : baseGradient;
|
||||
|
||||
final uncheckedColor = darkTheme
|
||||
? Colors.red //Fixme Theme.of(context).accentTextTheme.subhead.decorationColor
|
||||
? Theme.of(context).primaryTextTheme.subtitle1!.decorationColor!
|
||||
: Colors.white;
|
||||
|
||||
final borderColor = darkTheme
|
||||
? Colors.red //Fixme Theme.of(context).accentTextTheme.subtitle.backgroundColor
|
||||
? Theme.of(context).accentTextTheme.subtitle2!.backgroundColor!
|
||||
: Colors.transparent;
|
||||
|
||||
final checkedOuterBoxDecoration =
|
||||
|
@ -77,7 +77,7 @@ class RoundedCheckboxWidget extends StatelessWidget {
|
|||
child: Text(
|
||||
caption,
|
||||
style: TextStyle(
|
||||
color: Colors.red, //Fixme Theme.of(context).primaryTextTheme.title.color,
|
||||
color: Theme.of(context).primaryTextTheme.headline6!.color!,
|
||||
fontSize: 18,
|
||||
fontFamily: 'Lato',
|
||||
fontWeight: FontWeight.w500,
|
||||
|
|
Loading…
Reference in a new issue