chore: Adjust colors
This commit is contained in:
parent
9512e78441
commit
2ad6d6f1c5
5 changed files with 15 additions and 0 deletions
|
|
@ -84,6 +84,12 @@ abstract class FluffyThemes {
|
||||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
|
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
segmentedButtonTheme: SegmentedButtonThemeData(
|
||||||
|
style: SegmentedButton.styleFrom(
|
||||||
|
iconColor: colorScheme.onSurface,
|
||||||
|
disabledIconColor: colorScheme.onSurface,
|
||||||
|
),
|
||||||
|
),
|
||||||
textSelectionTheme: TextSelectionThemeData(
|
textSelectionTheme: TextSelectionThemeData(
|
||||||
selectionColor: colorScheme.onSurface.withAlpha(128),
|
selectionColor: colorScheme.onSurface.withAlpha(128),
|
||||||
selectionHandleColor: colorScheme.secondary,
|
selectionHandleColor: colorScheme.secondary,
|
||||||
|
|
|
||||||
|
|
@ -148,6 +148,7 @@ class ChatDetailsView extends StatelessWidget {
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor:
|
foregroundColor:
|
||||||
theme.colorScheme.onSurface,
|
theme.colorScheme.onSurface,
|
||||||
|
iconColor: theme.colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
label: Text(
|
label: Text(
|
||||||
room.isDirectChat
|
room.isDirectChat
|
||||||
|
|
@ -171,6 +172,7 @@ class ChatDetailsView extends StatelessWidget {
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor:
|
foregroundColor:
|
||||||
theme.colorScheme.secondary,
|
theme.colorScheme.secondary,
|
||||||
|
iconColor: theme.colorScheme.secondary,
|
||||||
),
|
),
|
||||||
label: Text(
|
label: Text(
|
||||||
L10n.of(context).countParticipants(
|
L10n.of(context).countParticipants(
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,7 @@ class SettingsView extends StatelessWidget {
|
||||||
),
|
),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor: theme.colorScheme.onSurface,
|
foregroundColor: theme.colorScheme.onSurface,
|
||||||
|
iconColor: theme.colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
label: Text(
|
label: Text(
|
||||||
displayname,
|
displayname,
|
||||||
|
|
@ -105,6 +106,7 @@ class SettingsView extends StatelessWidget {
|
||||||
),
|
),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor: theme.colorScheme.secondary,
|
foregroundColor: theme.colorScheme.secondary,
|
||||||
|
iconColor: theme.colorScheme.secondary,
|
||||||
),
|
),
|
||||||
label: Text(
|
label: Text(
|
||||||
mxid,
|
mxid,
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@ class UserBottomSheetView extends StatelessWidget {
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
backgroundColor: theme.colorScheme.surface,
|
backgroundColor: theme.colorScheme.surface,
|
||||||
foregroundColor: theme.colorScheme.primary,
|
foregroundColor: theme.colorScheme.primary,
|
||||||
|
iconColor: theme.colorScheme.primary,
|
||||||
),
|
),
|
||||||
onPressed: controller.knockAccept,
|
onPressed: controller.knockAccept,
|
||||||
icon: const Icon(Icons.check_outlined),
|
icon: const Icon(Icons.check_outlined),
|
||||||
|
|
@ -94,6 +95,7 @@ class UserBottomSheetView extends StatelessWidget {
|
||||||
backgroundColor: theme.colorScheme.errorContainer,
|
backgroundColor: theme.colorScheme.errorContainer,
|
||||||
foregroundColor:
|
foregroundColor:
|
||||||
theme.colorScheme.onErrorContainer,
|
theme.colorScheme.onErrorContainer,
|
||||||
|
iconColor: theme.colorScheme.onErrorContainer,
|
||||||
),
|
),
|
||||||
onPressed: controller.knockDecline,
|
onPressed: controller.knockDecline,
|
||||||
icon: const Icon(Icons.cancel_outlined),
|
icon: const Icon(Icons.cancel_outlined),
|
||||||
|
|
@ -132,6 +134,7 @@ class UserBottomSheetView extends StatelessWidget {
|
||||||
),
|
),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor: theme.colorScheme.onSurface,
|
foregroundColor: theme.colorScheme.onSurface,
|
||||||
|
iconColor: theme.colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
label: Text(
|
label: Text(
|
||||||
userId,
|
userId,
|
||||||
|
|
|
||||||
|
|
@ -156,6 +156,7 @@ class PublicRoomBottomSheet extends StatelessWidget {
|
||||||
),
|
),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor: theme.colorScheme.onSurface,
|
foregroundColor: theme.colorScheme.onSurface,
|
||||||
|
iconColor: theme.colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
label: Text(
|
label: Text(
|
||||||
roomLink ?? '...',
|
roomLink ?? '...',
|
||||||
|
|
@ -171,6 +172,7 @@ class PublicRoomBottomSheet extends StatelessWidget {
|
||||||
),
|
),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor: theme.colorScheme.onSurface,
|
foregroundColor: theme.colorScheme.onSurface,
|
||||||
|
iconColor: theme.colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
label: Text(
|
label: Text(
|
||||||
L10n.of(context).countParticipants(
|
L10n.of(context).countParticipants(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue