mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-04 23:34:57 -04:00
theming work, revamp contact invitation
This commit is contained in:
parent
3c95c9d1a3
commit
ae841ec42a
26 changed files with 504 additions and 507 deletions
|
@ -16,7 +16,7 @@ ChatTheme makeChatTheme(
|
|||
: scale.secondaryScale.calloutBackground,
|
||||
backgroundColor:
|
||||
scale.grayScale.appBackground.withAlpha(scaleConfig.wallpaperAlpha),
|
||||
messageBorderRadius: scaleConfig.borderRadiusScale * 16,
|
||||
messageBorderRadius: scaleConfig.borderRadiusScale * 12,
|
||||
bubbleBorderSide: scaleConfig.preferBorders
|
||||
? BorderSide(
|
||||
color: scale.primaryScale.calloutBackground,
|
||||
|
@ -37,7 +37,7 @@ ChatTheme makeChatTheme(
|
|||
filled: !scaleConfig.preferBorders,
|
||||
fillColor: scale.primaryScale.subtleBackground,
|
||||
isDense: true,
|
||||
contentPadding: const EdgeInsets.fromLTRB(8, 12, 8, 12),
|
||||
contentPadding: const EdgeInsets.fromLTRB(8, 8, 8, 8),
|
||||
disabledBorder: OutlineInputBorder(
|
||||
borderSide: scaleConfig.preferBorders
|
||||
? BorderSide(color: scale.grayScale.border, width: 2)
|
||||
|
@ -65,10 +65,12 @@ ChatTheme makeChatTheme(
|
|||
color: scaleConfig.preferBorders
|
||||
? scale.primaryScale.elementBackground
|
||||
: scale.primaryScale.border),
|
||||
inputPadding: const EdgeInsets.all(12),
|
||||
inputPadding: const EdgeInsets.all(6),
|
||||
inputTextColor: !scaleConfig.preferBorders
|
||||
? scale.primaryScale.appText
|
||||
: scale.primaryScale.border,
|
||||
messageInsetsHorizontal: 12,
|
||||
messageInsetsVertical: 8,
|
||||
attachmentButtonIcon: const Icon(Icons.attach_file),
|
||||
sentMessageBodyTextStyle: textTheme.bodyLarge!.copyWith(
|
||||
color: scaleConfig.preferBorders
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue