Skip to content

Commit

Permalink
Update header_style.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Feb 6, 2025
1 parent 458ac27 commit 2cdae74
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions packages/remix/lib/src/components/header/header_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class HeaderStyle extends SpecStyle<HeaderSpecUtility> {
..fontSize(18),
$.subtitle.chain
..fontSize(14)
..color.grey.shade800()
..color.grey.shade800(),
];

final containerStyle = [
Expand All @@ -29,10 +29,7 @@ class HeaderStyle extends SpecStyle<HeaderSpecUtility> {
..flex.crossAxisAlignment.center(),
];

return Style.create([
...textStyle,
...containerStyle,
]);
return Style.create([...textStyle, ...containerStyle]);
}
}

Expand All @@ -52,10 +49,7 @@ class HeaderDarkStyle extends HeaderStyle {
$.container.color.black(),
];

return Style.create([
super.makeStyle(spec).call(),
...textStyle,
...containerStyle,
]);
return Style.create(
[super.makeStyle(spec).call(), ...textStyle, ...containerStyle]);
}
}

0 comments on commit 2cdae74

Please sign in to comment.