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