Skip to content

Commit 8795fd5

Browse files
feat: texto escolha sua cor
1 parent cc7351b commit 8795fd5

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/app/create-character/create-character.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@
138138

139139
}
140140

141+
.colorText {
142+
color: white;
143+
font-size: 13px;
144+
}
145+
141146
.colors {
142147
display: flex;
143148
justify-content: center;

src/app/create-character/page.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default function CreateCharacter() {
6565

6666
<div className={styles.grupoInputs}>
6767
<div className={styles.inputArea}>
68-
<label htmlFor="nameCharacter">NOME DO PERSONAGEM</label>
68+
<label htmlFor="nameCharacter">Nome do personagem</label>
6969
<input
7070
type='text'
7171
id="nameCharacter"
@@ -76,7 +76,7 @@ export default function CreateCharacter() {
7676
/>
7777
{errors.nome && <p className={styles.errorMsg}>{errors.nome}</p>}
7878

79-
<label htmlFor="biography">BIOGRAFIA</label>
79+
<label htmlFor="biography">Biografia</label>
8080
<textarea
8181
value={classe}
8282
id="biography"
@@ -88,8 +88,9 @@ export default function CreateCharacter() {
8888
</textarea>
8989
{errors.classe && <p className={styles.errorMsg}>{errors.classe}</p>}
9090

91-
91+
<p className={styles.colorText}>Escolha sua cor:</p>
9292
<div className={styles.colors}>
93+
9394
<input type='radio' name='color' id='black' value='black' className={styles.color} hidden defaultChecked/>
9495
<label htmlFor='black' className={`${styles.buttonColors} ${styles.black} `}></label>
9596

@@ -121,7 +122,7 @@ export default function CreateCharacter() {
121122
</div>
122123

123124
<div className={styles.previewArea}>
124-
<label>PREVIEW DA FICHA</label>
125+
<label>Preview da ficha</label>
125126
{/*
126127
<div className={styles.previewInput}>
127128
<input

0 commit comments

Comments
 (0)