UNPKG

1.54 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
7`colors` `gradients` `shadows` `aspect ratios` `typography`
8`easings` `animations` `sizes` `borders` `z-indexes` `media-queries`
9
10[![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)
11
12<br>
13
14### Need help? &nbsp; 👉 &nbsp; [Discord](https://discord.gg/AqA4fU886r)
15
16</div>
17
18<br>
19
20#### CDN ([browse](https://unpkg.com/browse/open-props@latest/))
21- [https://unpkg.com/open-props](https://unpkg.com/open-props)
22- [https://unpkg.com/open-props/normalize.min.css](https://unpkg.com/open-props/normalize.min.css) - Normalize (light + dark)
23- [https://unpkg.com/open-props/open-props.tokens.json](https://unpkg.com/open-props/open-props.tokens.json) - Design Tokens
24- [https://unpkg.com/open-props/open-props.figma-tokens.sync.json](https://unpkg.com/open-props/open-props.figma-tokens.sync.json) - Figma Design Tokens
25
26#### CLI
27- `npm run gen:op` - runs through `src/` js files and creates the PostCSS files in `src/`
28- `npm run gen:nowhere` - creates a version of Open Props without the use of `:where()`
29- `npm run gen:prefixed` - creates a version of Open Props with each prop prefixed with `op`, like `--op-font-size-1`
30- `npm run bundle` - creates all the various minified bundles of props
31- `npm run lib:js` - builds the JS modules for NPM