Skip to content

Commit

Permalink
msglist: Adjust MarkAsReadWidget style for text, size, and border radius
Browse files Browse the repository at this point in the history
Use Source Sans 3 for font family and bolder weight.
  • Loading branch information
sirpengi committed Nov 12, 2023
1 parent e7fe06c commit 531cae1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lib/widgets/message_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import 'page.dart';
import 'profile.dart';
import 'sticky_header.dart';
import 'store.dart';
import 'text.dart';

class MessageListPage extends StatefulWidget {
const MessageListPage({super.key, required this.narrow});
Expand Down Expand Up @@ -395,9 +396,13 @@ class MarkAsReadWidget extends StatelessWidget {
padding: const EdgeInsets.all(10),
child: FilledButton.icon(
style: FilledButton.styleFrom(
padding: const EdgeInsets.all(10),
textStyle: const TextStyle(fontSize: 18, fontWeight: FontWeight.w200),
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(5)),
fixedSize: const Size.fromHeight(48),
textStyle: const TextStyle(
fontFamily: 'Source Sans 3',
fontSize: 18,
height: (23 / 18),
).merge(weightVariableTextStyle(context)),
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(7)),
),
onPressed: () => _handlePress(context),
icon: const Icon(Icons.playlist_add_check),
Expand Down

0 comments on commit 531cae1

Please sign in to comment.