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

글자 색 자동 변환 / change text color based on brightness #528

Closed
pcwadarong opened this issue Jul 15, 2024 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@pcwadarong
Copy link
Member

목적

명시성 확보

제안내용

배경 색이 어두울 때는 잘 보이지만, 배경 색이 밝을 때도 흰 글자색으로 고정되어 명시성이 떨어지는 문제가 있습니다. 배경 색의 명도에 따라 글자를 흰 색과 검은 색 중 자동으로 선택하여 표현할 수 있으면 좋을 것 같습니다.

image
image

참고링크

https://miunau.com/posts/dynamic-text-contrast-in-css/

@ytaek
Copy link
Contributor

ytaek commented Jul 28, 2024

558에서 해결된 내용이라 close해도 될 것 같습니다~.

(혹은 다른 모듈들에도 적용해보는 것도 좋을 것 같네요!)

@ytaek ytaek added this to the v0.7.0 milestone Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants