Skip to content

디자인 시스템 기초 정의: 아이콘 #128

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

Open
bkidea opened this issue Apr 2, 2025 · 1 comment
Open

디자인 시스템 기초 정의: 아이콘 #128

bkidea opened this issue Apr 2, 2025 · 1 comment
Assignees

Comments

@bkidea
Copy link

bkidea commented Apr 2, 2025

Lucide

Lucide is an open-source icon library that provides 1000+ vector (svg) files for displaying icons and symbols in digital and non-digital projects.

Stroke width

All icons are designed with SVG elements using strokes. These have a default stroke width of 2px.

아이콘의 size 속성을 조절하면, 선 두께(stroke width)도 아이콘 크기에 비례해서 조정됩니다. 이는 SVG의 기본 동작 방식입니다.

하지만 absoluteStrokeWidth 속성을 사용하면 이 기본 동작을 변경할 수 있습니다. 이 속성이 활성화되면, 아이콘의 크기를 조절해도 선 두께는 고정된 값으로 유지됩니다.

예를 들어, absoluteStrokeWidth를 활성화하고 아이콘 크기를 48px로 설정해도, 화면에 보이는 선 두께는 여전히 2px입니다.

참고로 Lucide 아이콘의 기본 선 두께는 2px이며, 이 값은 다른 크기로 조정할 수 있습니다.

@bkidea bkidea converted this from a draft issue Apr 2, 2025
@bkidea bkidea self-assigned this Apr 2, 2025
@bkidea bkidea moved this from Todo to In Progress in 디자인 시스템 v1.0 Apr 3, 2025
@bkidea
Copy link
Author

bkidea commented Apr 5, 2025

피그마 커뮤니티에서 제공하는 Lucide는 Stroke를 깨트려 사용해야겠다.
폰트로 되어 있으면 더 좋긴 할텐데..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant