diff --git a/lib/login/CreateAccountPage.dart b/lib/login/CreateAccountPage.dart index 5be1b7e..7e40a12 100644 --- a/lib/login/CreateAccountPage.dart +++ b/lib/login/CreateAccountPage.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_applicationdemo/BottomNavPage.dart'; - +import 'package:google_fonts/google_fonts.dart'; import 'package:flutter_applicationdemo/mysql.dart'; import 'package:flutter_applicationdemo/HomePage.dart'; @@ -53,10 +53,12 @@ class _CreateAccountPageState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ createTitleText(), + const SizedBox(height: 50), Text( "Create Log in:", style: TextStyle(fontSize: 15, fontWeight: FontWeight.bold), ), + const SizedBox(height: 10), createUsernameField(), createEmailField(), createPasswordField(), @@ -64,7 +66,6 @@ class _CreateAccountPageState extends State { padding: const EdgeInsets.only(top: 20), child: createCreateAccountButton(), ), - ], ); } @@ -72,21 +73,14 @@ class _CreateAccountPageState extends State { Text createTitleText() { return Text( 'Sun Chasers', - style: TextStyle( - fontSize: 50, - color: textColor, - fontFamily: 'Sacramento', - shadows: const [ - Shadow( - offset: Offset(2, 2), - blurRadius: 10.0, - color: Color.fromARGB(255, 0, 0, 0), - ), - ], + style: GoogleFonts.libreBaskerville( + fontSize: 35, + color: globals.TEXTCOLOR, ), ); } + InputField createUsernameField() { return InputField( text: "Username:",