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

prefix 한정자를 붙여주는 기능 추가 #31

Open
developer-1px opened this issue Jan 21, 2022 · 0 comments
Open

prefix 한정자를 붙여주는 기능 추가 #31

developer-1px opened this issue Jan 21, 2022 · 0 comments

Comments

@developer-1px
Copy link
Owner

외부에 제공하는 모듈로 만들 경우 전역 style이 문제가 되는 상황이 생깁니다.
옵션에 root? prefix? 등을 붙여서 사용가능한 한정자를 만들어주는 기능을 추가해주세요

config = {
prefix: ".foo"
}

.font(20) { font-size: 20px }
=>
.foo .font(20) { font-size: 20px}

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

No branches or pull requests

1 participant