프로젝트
GitHub에서 보기
argyleink/open-props
소개
적응형이고 일관된 디자인을 빠르게 구현할 수 있도록 돕는 CSS 사용자 지정 속성입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- +1
- in 7 days
- +6
- in 15 days
- +17
- in 1 month
- +32
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Open Source CSS Variables
colors gradients shadows aspect ratios typographyeasings animations sizes borders z-indexes media-queries
Need help? 👉 Discord
CDN (browse)
- https://unpkg.com/open-props
- https://unpkg.com/open-props/normalize.min.css - Normalize (light + dark) demo
- https://unpkg.com/open-props/open-props.tokens.json - Design Tokens
- https://unpkg.com/open-props/open-props.figma-tokens.sync.json - Figma Design Tokens
- https://unpkg.com/open-props/open-props.style-dictionary-tokens.json - Style Dictionary Tokens
Bookmarklet
javascript: (() => {
const href = "https://unpkg.com/open-props";
document.head.append(Object.assign(document.createElement("link"),{rel:"stylesheet",href}));
})();
CLI
npm run gen:op- runs throughsrc/js files and creates the PostCSS files insrc/npm run gen:nowhere- creates a version of Open Props without the use of:where()npm run gen:shadowdom- creates a version of Open Props with:hostas the selector scopenpm run gen:prefixed- creates a version of Open Props with each prop prefixed withop, like--op-font-size-1npm run bundle- creates all the various minified bundles of propsnpm run lib:js- builds the JS modules for NPM
Testing
npm run build && npm run bundle
npm test
관련 프로젝트 살펴보기
불러오는 중…