Skip to content

Commit

Permalink
chore: remove unused colors (#535)
Browse files Browse the repository at this point in the history
* chore: remove seed palette light blues

* chore: remove seed palette blues

* chore: remove seed palette reds

* chore: remove seed palette greens

* chore: remove seed palette yellows

* chore: remove greys

* chore: remove unused colors

* chore: update colors to fit design

* test: update goldens
  • Loading branch information
jsgalarraga authored May 29, 2024
1 parent ad244ea commit eec9f4b
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 375 deletions.
8 changes: 4 additions & 4 deletions lib/extensions/mascot_color.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import 'package:io_crossword_ui/io_crossword_ui.dart';
extension MascotColor on Mascots? {
Color get color {
return switch (this) {
Mascots.dash => IoCrosswordColors.seedBlue,
Mascots.sparky => IoCrosswordColors.seedYellow,
Mascots.dash => IoCrosswordColors.flutterBlue,
Mascots.sparky => IoCrosswordColors.sparkyYellow,
Mascots.dino => IoCrosswordColors.accessibleGrey,
Mascots.android => IoCrosswordColors.seedGreen,
null => IoCrosswordColors.seedBlue,
Mascots.android => IoCrosswordColors.androidGreen,
null => IoCrosswordColors.flutterBlue,
};
}
}
7 changes: 3 additions & 4 deletions lib/rotate_phone/view/rotate_phone_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ class RotatePhonePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: IoCrosswordColors.accessibleBlack,
body: Center(
child: Padding(
padding:
const EdgeInsets.symmetric(horizontal: IoCrosswordSpacing.lg),
padding: const EdgeInsets.symmetric(
horizontal: IoCrosswordSpacing.lg,
),
child: Text(
context.l10n.rotatePhoneToPortraitMessage,
style: const TextStyle(color: IoCrosswordColors.seedWhite),
),
),
),
Expand Down
Loading

0 comments on commit eec9f4b

Please sign in to comment.