@@ -247,7 +247,7 @@ class DashboardState extends State<Dashboard> {
247247 children: [
248248 Padding (
249249 padding: const EdgeInsets .symmetric (horizontal: 5.0 ),
250- child: timerBanner (),
250+ child: timerBanner (Colors .black12, HackRUColors .blue_grey ),
251251 ),
252252 if (_hasAuthToken) ...[
253253 Padding (
@@ -257,7 +257,7 @@ class DashboardState extends State<Dashboard> {
257257 shape: RoundedRectangleBorder (
258258 borderRadius: BorderRadius .circular (15 ),
259259 ),
260- color: Colors .blueGrey[ 50 ] ,
260+ color: Colors .black12 ,
261261 child: Padding (
262262 padding: const EdgeInsets .all (16.0 ),
263263 child: _isLoading
@@ -268,12 +268,9 @@ class DashboardState extends State<Dashboard> {
268268 crossAxisAlignment: CrossAxisAlignment .start,
269269 children: [
270270 Shimmer (
271- gradient: LinearGradient (colors: [
272- Colors .white,
273- Colors .blueGrey.withOpacity (0.2 )
274- ]),
271+ gradient: HackRUColors .loading_gradient,
275272 child: Container (
276- color: Colors .blueGrey. withOpacity ( 0.2 ) ,
273+ color: HackRUColors .blue_grey ,
277274 height: 33.33 ,
278275 width:
279276 MediaQuery .of (context).size.width *
@@ -282,25 +279,23 @@ class DashboardState extends State<Dashboard> {
282279 height: 5 ,
283280 ),
284281 Shimmer (
285- gradient: LinearGradient (colors: [
286- Colors .white,
287- Colors .blueGrey.withOpacity (0.2 )
288- ]),
282+ gradient: HackRUColors .loading_gradient,
289283 child: Container (
290- color: Colors .blueGrey. withOpacity ( 0.2 ) ,
284+ color: HackRUColors .blue_grey ,
291285 height: 28.33 ,
292286 width:
293287 MediaQuery .of (context).size.width *
294288 0.5 ))
295289 ],
296290 ),
297291 Shimmer (
298- child: Container (
299- height: 35 ,
300- width: 35 ,
301- color: Colors .blueGrey.withOpacity (0.2 )),
302- gradient: const LinearGradient (
303- colors: [Colors .white, Colors .blueGrey]))
292+ child: Container (
293+ height: 35 ,
294+ width: 35 ,
295+ color: HackRUColors .blue_grey,
296+ ),
297+ gradient: HackRUColors .loading_gradient,
298+ )
304299 ],
305300 )
306301 : Row (
@@ -312,7 +307,10 @@ class DashboardState extends State<Dashboard> {
312307 Text (
313308 username,
314309 style: const TextStyle (
315- fontFamily: 'newFont' , fontSize: 25 ),
310+ fontFamily: 'titilliumWeb' ,
311+ fontSize: 25 ,
312+ color: HackRUColors .blue_grey,
313+ ),
316314 ),
317315 Row (
318316 mainAxisAlignment: MainAxisAlignment .start,
@@ -321,9 +319,11 @@ class DashboardState extends State<Dashboard> {
321319 alignment: Alignment .center,
322320 child: Text (
323321 userStatus,
324- style: Theme .of (context)
325- .textTheme
326- .subtitle1,
322+ style: TextStyle (
323+ fontFamily: 'titilliumWeb' ,
324+ fontSize: 18 ,
325+ color: HackRUColors .blue_grey,
326+ ),
327327 ),
328328 ),
329329 Padding (
@@ -365,13 +365,15 @@ class DashboardState extends State<Dashboard> {
365365 Expanded (
366366 child: DashboardButton (
367367 onPressed: _onLogin,
368- color: HackRUColors .yellow,
368+ bgColor: HackRUColors .blue,
369+ textColor: HackRUColors .blue_grey,
369370 label: "Login" ),
370371 ),
371372 Expanded (
372373 child: DashboardButton (
373374 onPressed: _onHelp,
374- color: HackRUColors .pink,
375+ bgColor: Colors .black12,
376+ textColor: HackRUColors .blue_grey,
375377 label: "Help" ),
376378 )
377379 ],
@@ -380,21 +382,26 @@ class DashboardState extends State<Dashboard> {
380382 const SizedBox (height: 5 ),
381383 DashboardButton (
382384 onPressed: _onScanner,
383- color: HackRUColors .pink,
385+ bgColor: Colors .black12,
386+ textColor: HackRUColors .blue_grey,
384387 label: "QR Scanner" )
385388 ],
386- if (_hasAuthToken) ...[
387- const SizedBox (height: 5 ),
388- DashboardButton (
389- onPressed: _onLogout, color: HackRUColors .pink, label: "Logout" )
390- ],
391389 if (credManager! .getAuthorization ()) ...[
392390 const SizedBox (height: 5 ),
393391 DashboardButton (
394392 onPressed: _onGetAttending,
395- color: HackRUColors .pink,
393+ bgColor: Colors .black12,
394+ textColor: HackRUColors .blue_grey,
396395 label: "Get Attending" )
397396 ],
397+ if (_hasAuthToken) ...[
398+ const SizedBox (height: 5 ),
399+ DashboardButton (
400+ onPressed: _onLogout,
401+ bgColor: Colors .black12,
402+ textColor: HackRUColors .blue_grey,
403+ label: "Logout" )
404+ ],
398405 Expanded (child: Container ()),
399406 Row (
400407 crossAxisAlignment: CrossAxisAlignment .center,
@@ -404,18 +411,26 @@ class DashboardState extends State<Dashboard> {
404411 SocialMediaCard (
405412 onPressed: () => url_launcher.launch (HACK_RU_WEBSITE_URL ),
406413 iconData: FontAwesomeIcons .link,
414+ iconColor: HackRUColors .blue_grey,
415+ bgColor: Colors .transparent,
407416 ),
408417 SocialMediaCard (
409418 onPressed: () => url_launcher.launch (REPOSITORY_URL ),
410419 iconData: FontAwesomeIcons .github,
420+ iconColor: HackRUColors .blue_grey,
421+ bgColor: Colors .transparent,
411422 ),
412423 SocialMediaCard (
413424 onPressed: () => url_launcher.launch (FACEBOOK_PAGE_URL ),
414425 iconData: FontAwesomeIcons .squareFacebook,
426+ iconColor: HackRUColors .blue_grey,
427+ bgColor: Colors .transparent,
415428 ),
416429 SocialMediaCard (
417430 onPressed: () => url_launcher.launch (INSTAGRAM_PAGE_URL ),
418431 iconData: FontAwesomeIcons .instagram,
432+ iconColor: HackRUColors .blue_grey,
433+ bgColor: Colors .transparent,
419434 ),
420435 ],
421436 ),
0 commit comments