-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feat/#210 card collection filter UI #211
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그는 매우 빠르다..😎
코드보면서 portal 적용 왜 하는지 알 수 있었숨다 고생했어요오😊😊
background: ${(props: RangeTrackProps) => | ||
getTrackBackground({ | ||
values: props.price, | ||
colors: ["#19BE7E", "#ffffff"], // [newColors.green, newColors.white] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기에는 theme
적용이 어려운 건가요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
덕분에 해결했어요 !!!~!! :))
a6cb47f
const WhiteRoot = styled.div` | ||
height: 100vh; | ||
|
||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
top: 0; | ||
z-index: 10; | ||
|
||
background-color: rgb(0, 0, 0, 0.5); | ||
display: flex; | ||
align-items: center; | ||
`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const 부모객체 = styled.div`
중복 프로퍼티...
`;
// export
const 자식객체1 = styled(부모객체)`
추가 프로퍼티...
`;
// export
const 자식객체2 = styled(부모객체)`
추가 프로퍼티...
`;
theme이 white일 때와 default일 때의 차이가 거의 없는데, 오빠가 저번에 알려줬던거 적용하면 어떨까요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
맞아요 !!!!!! 👍🏼👍🏼👍🏼👍🏼
고민해봤는데, 모달 스타일링이 테마마다 언제 어떻게 바뀔지 몰라서, 상속의 개념이 아니라고 생각했어요!
Root 에만 적용하는 게 좋을 것 같아요 !!! 좋은ㅇ의견 감사합니다🥰🥰
@@ -1,7 +1,7 @@ | |||
import styled from "styled-components"; | |||
|
|||
const ModalContentsWrapper = styled.div` | |||
padding-top: 1.6rem; | |||
padding: 1.6rem 1.6rem 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
우왕 이렇게 3개 쓰면 어느 부분들이 적용되나요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
padding css
검색해서 찾아보셔요 !
https://developer.mozilla.org/ko/docs/Web/CSS/padding
|
||
${(ariaProps) => | ||
ariaProps["aria-valuenow"] === ariaProps["aria-valuemin"] && | ||
css` | ||
left: 1rem; | ||
`} | ||
${(ariaProps) => | ||
ariaProps["aria-valuenow"] === 1 && | ||
css` | ||
left: 0.7rem; | ||
`} | ||
${(ariaProps) => | ||
ariaProps["aria-valuenow"] === 2 && | ||
css` | ||
left: -0.7rem; | ||
`} | ||
${(ariaProps) => | ||
ariaProps["aria-valuenow"] === ariaProps["aria-valuemax"] && | ||
css` | ||
left: -1rem; | ||
`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와우👀 고생했어요오👍👍👍
a16b064
to
a6cb47f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨숩니다아 ٩( ˃́▿˂̀ )۶
theme: DefaultTheme & { | ||
newColors: { | ||
[key: string]: string; | ||
}; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오왕 신기한걸?!👀
📌 내용
4시간
소요📌 질문할 부분
react-range
라이브러리에 의존한 형태라서 UI 바꾸기가 굉장히 까다롭네요😂😂 결국 확장성 부족한 코드로 갈겨놨어요 (https://w1655692613-dsw141740.slack.com/archives/C04FGQCL894/p1677139628365579?thread_ts=1677068521.636239&cid=C04FGQCL894)📸 스크린샷