update color names with develop ones

This commit is contained in:
Salvatore Giordano
2021-07-01 09:28:01 +02:00
parent 52e19e9bc1
commit 253e6caa1c
19 changed files with 430 additions and 374 deletions
@@ -20,7 +20,7 @@ class ChooseUserPage extends StatelessWidget {
final users = defaultUsers;
return Scaffold(
backgroundColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
backgroundColor: StreamChatTheme.of(context).colorTheme.appBg,
body: SafeArea(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
@@ -34,7 +34,7 @@ class ChooseUserPage extends StatelessWidget {
child: SvgPicture.asset(
'assets/logo.svg',
height: 40,
color: StreamChatTheme.of(context).colorTheme.accentBlue,
color: StreamChatTheme.of(context).colorTheme.accentPrimary,
),
),
),
@@ -56,7 +56,7 @@ class ChooseUserPage extends StatelessWidget {
separatorBuilder: (context, i) {
return Container(
height: 1,
color: StreamChatTheme.of(context).colorTheme.greyWhisper,
color: StreamChatTheme.of(context).colorTheme.borders,
);
},
itemCount: users.length + 1,
@@ -80,7 +80,7 @@ class ChooseUserPage extends StatelessWidget {
borderRadius: BorderRadius.circular(16),
color: StreamChatTheme.of(context)
.colorTheme
.white,
.barsBg,
),
height: 100,
width: 100,
@@ -94,7 +94,7 @@ class ChooseUserPage extends StatelessWidget {
final client = StreamChatClient(
kDefaultStreamApiKey,
logLevel: Level.INFO,
)..chatPersistenceClient = chatPersistentClient;
);
await client.connectUser(
user,
@@ -142,13 +142,13 @@ class ChooseUserPage extends StatelessWidget {
.copyWith(
color: StreamChatTheme.of(context)
.colorTheme
.grey,
.textLowEmphasis,
),
),
trailing: StreamSvgIcon.arrowRight(
color: StreamChatTheme.of(context)
.colorTheme
.accentBlue,
.accentPrimary,
),
);
}),
@@ -158,11 +158,12 @@ class ChooseUserPage extends StatelessWidget {
},
leading: CircleAvatar(
child: StreamSvgIcon.settings(
color: StreamChatTheme.of(context).colorTheme.black,
color: StreamChatTheme.of(context)
.colorTheme
.textHighEmphasis,
),
backgroundColor: StreamChatTheme.of(context)
.colorTheme
.greyWhisper,
backgroundColor:
StreamChatTheme.of(context).colorTheme.borders,
),
title: Text(
'Advanced Options',
@@ -174,8 +175,9 @@ class ChooseUserPage extends StatelessWidget {
.textTheme
.footnote
.copyWith(
color:
StreamChatTheme.of(context).colorTheme.grey,
color: StreamChatTheme.of(context)
.colorTheme
.textLowEmphasis,
),
),
trailing: SvgPicture.asset(