chore: Design follow up

pull/1455/head
krille-chan 9 months ago
parent 972c58b5ad
commit 640e2ff25d
No known key found for this signature in database

@ -513,7 +513,8 @@ class Message extends StatelessWidget {
Row( Row(
children: [ children: [
Expanded( Expanded(
child: Divider(color: theme.colorScheme.secondary), child:
Divider(color: theme.colorScheme.surfaceContainerHighest),
), ),
Container( Container(
margin: const EdgeInsets.symmetric( margin: const EdgeInsets.symmetric(
@ -522,18 +523,24 @@ class Message extends StatelessWidget {
), ),
padding: const EdgeInsets.symmetric( padding: const EdgeInsets.symmetric(
horizontal: 8, horizontal: 8,
vertical: 2,
),
decoration: BoxDecoration(
borderRadius:
BorderRadius.circular(AppConfig.borderRadius / 3),
color: theme.colorScheme.surface.withAlpha(128),
), ),
child: Text( child: Text(
L10n.of(context).readUpToHere, L10n.of(context).readUpToHere,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 12 * AppConfig.fontSizeFactor, fontSize: 12 * AppConfig.fontSizeFactor,
color: theme.colorScheme.secondary, color: theme.colorScheme.secondary,
), ),
), ),
), ),
Expanded( Expanded(
child: Divider(color: theme.colorScheme.secondary), child:
Divider(color: theme.colorScheme.surfaceContainerHighest),
), ),
], ],
), ),

Loading…
Cancel
Save