Skip to content

Commit

Permalink
feat: update gradient colors
Browse files Browse the repository at this point in the history
  • Loading branch information
thisissandipp committed Jul 19, 2024
1 parent 4f59bc8 commit 4392814
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/colors/colors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ abstract class SudokuColors {
static const lightPurple = Color(0xFF9089FC);

/// Dark Pink
static const darkPink = Color(0xFFC7649F);
static const darkPink = Color(0xFFFF38B0);

/// Dark Purple
static const darkPurple = Color(0xFF6C63C7);
static const darkPurple = Color(0xFF7A57FD);
}
7 changes: 3 additions & 4 deletions lib/widgets/sudoku_elevated_button.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:sudoku/colors/colors.dart';
import 'package:sudoku/typography/typography.dart';

/// {@template sudoku_elevated_button}
Expand Down Expand Up @@ -41,11 +42,9 @@ class SudokuElevatedButton extends StatelessWidget {
decoration: const BoxDecoration(
gradient: LinearGradient(
colors: [
Color(0xFFC7649F),
Color(0xFF6C63C7),
SudokuColors.darkPurple,
SudokuColors.darkPink,
],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
),
child: child,
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/sudoku_loading_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class SudokuLoadingDialog extends StatelessWidget {

const gradient = LinearGradient(
colors: [
SudokuColors.darkPink,
SudokuColors.darkPurple,
SudokuColors.darkPink,
],
);

Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/sudoku_text_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class SudokuTextButton extends StatelessWidget {
Widget build(BuildContext context) {
const gradient = LinearGradient(
colors: [
SudokuColors.darkPink,
SudokuColors.darkPurple,
SudokuColors.darkPink,
],
);

Expand Down

0 comments on commit 4392814

Please sign in to comment.