-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔀 Merge pull request #68 from snuhcs-course/fix/darkmode
fix/darkmode
- Loading branch information
Showing
14 changed files
with
50 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,17 +43,4 @@ fun SettingsRowText( | |
style = MaterialTheme.typography.bodyMedium | ||
) | ||
} | ||
} | ||
|
||
@Preview(showBackground = true) | ||
@Composable | ||
fun SettingsRowPreview() { | ||
SpeechBuddyTheme { | ||
SettingsRow( | ||
label = "이메일", | ||
content = { | ||
SettingsRowText(text = "[email protected]") | ||
} | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,28 +98,4 @@ private fun getTextFieldColors(isValid: Boolean): TextFieldColors { | |
focusedSupportingTextColor = MaterialTheme.colorScheme.tertiary, | ||
unfocusedSupportingTextColor = MaterialTheme.colorScheme.outline | ||
) | ||
} | ||
|
||
@Preview(showBackground = true) | ||
@Composable | ||
fun TextFieldUiPreview() { | ||
SpeechBuddyTheme { | ||
TextFieldUi( | ||
value = "[email protected]", | ||
onValueChange = {}, | ||
label = { Text("이메일") }, | ||
supportingButton = { | ||
ButtonUi( | ||
text = "인증번호 발송", | ||
onClick = {}, | ||
isError = true, | ||
level = ButtonLevel.TERTIARY | ||
) | ||
}, | ||
supportingText = { Text("잘못된 이메일 주소입니다.") }, | ||
isError = true, | ||
isValid = false, | ||
isHidden = false, | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.