Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[init] 폰트, 색상 세팅 + 상단바 구현 #13

Merged
merged 12 commits into from
May 16, 2024
Merged

Conversation

t1nm1ksun
Copy link
Contributor

@t1nm1ksun t1nm1ksun commented May 15, 2024

Related issue 🛠

Work Description ✏️

  • 기존에 있던 테마 색상 삭제
  • FontWeight 중복 설정되어 있어 삭제
  • Regular font naming
  • Top appbar구현

Screenshot 📸

image

Uncompleted Tasks 😅

  • X

To Reviewers 📢

폰트랑 색상 잘 적용되는거 같습니다~
상단 탭바 탭 패딩을 없애보려고 했는데 저자식 살이 안빠져요...

build.gradle.kts Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지워주세용 ~

@@ -1,3 +1,4 @@
<resources>
<string name="app_name">KREAM-Android</string>
<string name="bar_search_label">"브랜드, 상품, 프로필, 태그 등"</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<string name="bar_search_label">"브랜드, 상품, 프로필, 태그 등"</string>
<!-- search_bar_hint -->
<string name="search_bar_hint">"브랜드, 상품, 프로필, 태그 등"</string>

이런 식으로 string을 작성할 때 위에 어떤 뷰에서 사용되는지를 주석을 달아주면 다른 사람들이 애가 어디서 사용되는지를 한 눈에 알아볼 수 있어서 편합니다

그리고 저는 보통 string 네이밍을 할 때 어떤 뷰에서 사용되는지_상세 설명 이런 식으로 작성하는 편인 것 같아요~

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네이밍 좋은데 피그마 네이밍을 따라주시면 조금 더 좋을 것 같습니다
피그마에서 공통 아이콘을 보면 탑바에 들어가는 아이콘들이 icn_bar 이런 식으로 묶여있고 해당 아이템이 icn_alarm 이렇게 네이밍 되어 있잖아요. 그러면 해당 아이콘 네이밍을 ic_bar_alarm_28 이런 식으로 가져가주면 좋을 것 같아요 ~

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿이욤

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

쏘굿도링

Comment on lines 37 to 40
TextField(value = editText,
onValueChange = { editText = it },
label = { Text(text = stringResource(id = R.string.bar_search_label)) }
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요거는 아까 말했던대로 커스텀 해야할 것 같아용 라벨에 힌트 넣어두면 글 작성해도 쟤가 안 사라지니까 ㅜ

topBar = {
Column (modifier = Modifier.fillMaxWidth()){
Row (modifier = Modifier.fillMaxWidth()){
TextField(value = editText,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weight(1f) ㄱㄱ ㅋㅋ

@t1nm1ksun t1nm1ksun changed the title [init] #12 기존 색상 삭제, 중복 폰트 속성 삭제 [init] 폰트, 색상 세팅 May 15, 2024
@t1nm1ksun t1nm1ksun changed the title [init] 폰트, 색상 세팅 [init] 폰트, 색상 세팅 + 상단바 구현 May 16, 2024
@t1nm1ksun t1nm1ksun requested a review from jihyunniiii May 16, 2024 03:00
Copy link
Contributor

@jihyunniiii jihyunniiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생했더용 ~ 머지 하세용
얘네를 Main으로 옮기는 작업은 제가 할게용
컴포즈 너무 어렵당구리
쟤네 살 빼는 건,, 일단 저도 조금 찾아볼게요 ㅜ

Comment on lines 87 to 89
ktlint {
disabledRules = listOf("standard:function-naming")
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 지워줘도 됩니다 ~

import org.sopt.kream.theme.head1Bold

val pages = listOf("추천", "랭킹", "발매정보", "럭셔리", "남성", "여성", "발견")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

스트링 추출 해주면 좋을 듯 우하하

@t1nm1ksun t1nm1ksun merged commit 492fdef into develop May 16, 2024
1 check passed
@t1nm1ksun t1nm1ksun deleted the feat-view1 branch May 16, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[init] 폰트, 색상 세팅 [init] TopAppBar 세팅
2 participants