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

πŸš‘hotfix: ν‚€μ›Œλ“œ Xλ²„νŠΌ 색상 λ³€κ²½ #436

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

SeojinSeojin
Copy link
Member

β›“ Related Issues

πŸ“‹ μž‘μ—… λ‚΄μš©

  • ν‚€μ›Œλ“œ xλ²„νŠΌ 색상을 글씨 μƒ‰μƒμœΌλ‘œ λ§žμΆ”μ—ˆμŠ΅λ‹ˆλ‹€

πŸ“Œ PR Point

  • ν‚€μ›Œλ“œ xλ²„νŠΌ 색상을 글씨 μƒ‰μƒμœΌλ‘œ λ§žμΆ”μ—ˆλŠ”λ°, ν”Όκ·Έλ§ˆ 색상과 μ™„μ „νžˆ λ™μΌν•˜μ§€λŠ” μ•Šκ³ , μ™„μ „νžˆ λ™μΌν•˜λ €λ©΄ μ„œλ²„ apiκ°€ λ³€κ²½λ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€ .. κ·Έλž˜μ„œ 좔후에 μˆ˜μ •μ΄ ν•„μš”ν•©λ‹ˆλ‹€.

πŸ‘€ μŠ€ν¬λ¦°μƒ· / GIF / 링크

image


export const StKeywordCloseBtn = styled.div<{ color: string; theme: 'grey' | 'color' }>`
cursor: pointer;
mask-image: url(${icCloseWhite});
Copy link
Member Author

Choose a reason for hiding this comment

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

mask-image λΌλŠ” 속성을 μ“°λ©΄ svg 색칠을 μ›ν•˜λŠ” μƒ‰μœΌλ‘œ ν•  수 μžˆμ–΄μš©
https://web.dev/i18n/ko/css-masking/

Copy link
Member

Choose a reason for hiding this comment

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

μš°μ™• 이거 처음 λ΄€μ–΄μš” !! 신기해라 🀩

(질문) 근데 -webkit-mask-image: url(${icCloseWhite});λŠ” 같이 적용 μ•ˆ 해도 λ˜λŠ” κ±΄κ°€μš”..?

Copy link
Member

@100Gyeon 100Gyeon left a comment

Choose a reason for hiding this comment

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

μž„μ‹œλ°©νŽΈμ΄μ§€λ§Œ 덕뢄에 mask-image λ°°μ› λ„€μš©! μ’‹μŠ΅λ‹ˆλ‹€ 😊

@@ -28,9 +27,10 @@ function KeywordItem(props: Props) {
<div>
<div>{content}</div>
{isMutable && !isMine && (
<img
<StKeywordCloseBtn
Copy link
Member

@100Gyeon 100Gyeon Jan 15, 2023

Choose a reason for hiding this comment

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

이건 κ°€λ²Όμš΄ μ œμ•ˆμ΄λΌ λ°˜μ˜ν•˜μ§€ μ•Šμ•„λ„ λ©λ‹ˆλ‹€~!
μ‚­μ œ λ²„νŠΌμ΄λ‹ˆκΉŒ close 말고 deleteλŠ” μ–΄λ–¨κΉŒμš”?


export const StKeywordCloseBtn = styled.div<{ color: string; theme: 'grey' | 'color' }>`
cursor: pointer;
mask-image: url(${icCloseWhite});
Copy link
Member

Choose a reason for hiding this comment

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

μš°μ™• 이거 처음 λ΄€μ–΄μš” !! 신기해라 🀩

(질문) 근데 -webkit-mask-image: url(${icCloseWhite});λŠ” 같이 적용 μ•ˆ 해도 λ˜λŠ” κ±΄κ°€μš”..?

@SeojinSeojin SeojinSeojin merged commit e1753ce into v1.0.1 Jan 15, 2023
@SeojinSeojin SeojinSeojin deleted the hotfix/#434 branch January 15, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug πŸ„ Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants