mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-05-17 12:56:01 +08:00
Added darker accent3 to deal with existing text contrast issues.
This commit is contained in:
@ -7,6 +7,7 @@ class AppColors {
|
||||
/// Common
|
||||
final Color accent1 = Color(0xFFE4935D);
|
||||
final Color accent2 = Color(0xFFBEABA1);
|
||||
final Color accent3 = Color(0xFFC47642);
|
||||
final Color offWhite = Color(0xFFF8ECE5);
|
||||
final Color caption = const Color(0xFF7D7873);
|
||||
final Color body = const Color(0xFF514F4D);
|
||||
|
@ -133,7 +133,7 @@ class _AnimatedCircleWithTextState extends State<_AnimatedCircleWithText> with S
|
||||
Widget _buildCircularText(String title) {
|
||||
final textStyle = $styles.text.monoTitleFont.copyWith(
|
||||
fontSize: 22 * $styles.scale,
|
||||
color: $styles.colors.accent1,
|
||||
color: $styles.colors.accent3,
|
||||
);
|
||||
return CircularText(
|
||||
position: CircularTextPosition.inside,
|
||||
|
@ -18,7 +18,7 @@ class _LargeSimpleQuote extends StatelessWidget {
|
||||
child: Text(
|
||||
'“',
|
||||
style: $styles.text.quote1.copyWith(
|
||||
color: $styles.colors.accent1,
|
||||
color: $styles.colors.accent3,
|
||||
fontSize: 90 * $styles.scale,
|
||||
height: .7,
|
||||
),
|
||||
@ -32,7 +32,7 @@ class _LargeSimpleQuote extends StatelessWidget {
|
||||
Gap($styles.insets.md),
|
||||
Text(
|
||||
'- $author',
|
||||
style: $styles.text.quote2Sub.copyWith(color: $styles.colors.accent1),
|
||||
style: $styles.text.quote2Sub.copyWith(color: $styles.colors.accent3),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -43,7 +43,7 @@ class _ScrollingContent extends StatelessWidget {
|
||||
dropChar,
|
||||
overflow: TextOverflow.visible,
|
||||
style: $styles.text.dropCase.copyWith(
|
||||
color: $styles.colors.accent1,
|
||||
color: $styles.colors.accent3,
|
||||
height: 1,
|
||||
),
|
||||
),
|
||||
@ -52,7 +52,7 @@ class _ScrollingContent extends StatelessWidget {
|
||||
style: $styles.text.body,
|
||||
dropCapPadding: EdgeInsets.only(right: 6),
|
||||
dropCapStyle: $styles.text.dropCase.copyWith(
|
||||
color: $styles.colors.accent1,
|
||||
color: $styles.colors.accent3,
|
||||
height: 1,
|
||||
),
|
||||
)
|
||||
|
Reference in New Issue
Block a user