Fixed registration page font color

This commit is contained in:
keannu125 2023-03-06 22:54:54 +08:00
parent 012f02d4e7
commit a66813c184

View file

@ -42,7 +42,7 @@ export default function Register() {
<p style={{ ...styles.text_white, ...styles.text_L }}>Username</p> <p style={{ ...styles.text_white, ...styles.text_L }}>Username</p>
<div style={{ margin: 4 }} /> <div style={{ margin: 4 }} />
<input <input
style={{ ...styles.text_white, ...styles.text_L }} style={styles.text_L}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => { onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setUser({ ...user, username: e.target.value }); setUser({ ...user, username: e.target.value });
}} }}
@ -53,7 +53,7 @@ export default function Register() {
<p style={{ ...styles.text_white, ...styles.text_L }}>Password</p> <p style={{ ...styles.text_white, ...styles.text_L }}>Password</p>
<div style={{ margin: 4 }} /> <div style={{ margin: 4 }} />
<input <input
style={{ ...styles.text_white, ...styles.text_L }} style={styles.text_L}
type="password" type="password"
onChange={(e: React.ChangeEvent<HTMLInputElement>) => { onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setUser({ ...user, password: e.target.value }); setUser({ ...user, password: e.target.value });