UNPKG

1.39 kBMarkdownView Raw
1<div align="center">
2
3![Frame 2](https://user-images.githubusercontent.com/1134620/141246730-7df4cf2a-6249-42ca-a01b-494c3ccddabe.png)
4
5## Open Source CSS Variables
6`gradients` `animations` `sizes` `easings` `colors` `shadows` `aspect-ratios` `z-indexes`
7
8[![Tests](https://github.com/argyleink/open-props/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/argyleink/open-props/actions/workflows/tests.yml)
9
10<br>
11
12### Need help? &nbsp; 👉 &nbsp; [Discord](https://discord.gg/AqA4fU886r)
13
14</div>
15
16<br>
17
18#### CDN
19- [https://unpkg.com/open-props](https://unpkg.com/open-props)
20- [https://unpkg.com/open-props/normalize.min.css](https://unpkg.com/open-props/normalize.min.css) - Normalize (light + dark)
21- [https://unpkg.com/open-props/open-props.tokens.json](https://unpkg.com/open-props/open-props.tokens.json) - Design Tokens
22- [https://unpkg.com/browse/open-props@latest/](https://unpkg.com/browse/open-props@latest/) - Full CDN list
23
24#### CLI
25- `npm run gen:op` - runs through `src/` js files and creates the PostCSS files in `src/`
26- `npm run gen:nowhere` - creates a version of Open Props without the use of `:where()`
27- `npm run gen:prefixed` - creates a version of Open Props with each prop prefixed with `op`, like `--op-font-size-1`
28- `npm run bundle` - creates all the various minified bundles of props
29- `npm run lib:js` - builds the JS modules for NPM