Tweak login dialog & purple color

This commit is contained in:
Tommy Chow 2022-01-11 12:30:51 -05:00
parent 8272725e3a
commit 06fe28bd2d
2 changed files with 19 additions and 11 deletions

View file

@ -105,7 +105,7 @@ class ChatMessage extends StatelessWidget {
case Command.userNotice:
return Container(
padding: highlightPadding,
color: const Color(0x339147FF),
color: const Color(0x339146FF),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [

View file

@ -15,17 +15,25 @@ class ProfileCard extends StatelessWidget {
builder: (context) => SimpleDialog(
title: const Text('Log In With'),
children: [
SimpleDialogOption(
child: const Text('Twitch Account'),
onPressed: () {
authStore.login();
Navigator.pop(context);
},
),
const Padding(
padding: EdgeInsets.all(10.0),
child: Center(child: Text('Or')),
ColoredBox(
color: const Color.fromRGBO(145, 70, 255, 0.8),
child: SimpleDialogOption(
padding: const EdgeInsets.all(24.0),
child: const Text(
'Twitch Account',
style: TextStyle(
fontSize: 16,
color: Colors.white,
),
),
onPressed: () {
authStore.login();
Navigator.pop(context);
},
),
),
const SizedBox(height: 20.0),
const Center(child: Text('Or')),
SimpleDialogOption(
child: TextField(
decoration: const InputDecoration(