Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/divriots/starter-open-props
Open-props https://open-props.style
https://github.com/divriots/starter-open-props
Last synced: 3 months ago
JSON representation
Open-props https://open-props.style
- Host: GitHub
- URL: https://github.com/divriots/starter-open-props
- Owner: divriots
- License: mit
- Created: 2021-12-21T13:26:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-18T18:34:54.000Z (about 3 years ago)
- Last Synced: 2024-11-05T13:44:38.532Z (4 months ago)
- Language: JavaScript
- Homepage: https://backlight.dev/doc/Tve1ObNsVqRX7NlkUnzD
- Size: 15.6 KB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://backlight.dev/preview/Tve1ObNsVqRX7NlkUnzD)
[](https://github.com/divriots/starter-open-props)# Open Props Tech Sample
_by_ ‹div›RIOTSThis is a _Technology Sample_ you can rely on to build your own Design System, based on [Open Props](https://open-props.style/).
**Disclaimer**: _Technology Samples_ aren't comprehensive _Design Systems_ but showcases a given technology so you free to build you own solution upon it.
## Architecture
This _tech sample_ uses [Open Props](https://open-props.style/) to implement its components. Open Props is a comprehensive collection of CSS Custom Properties (also known as CSS variables), allowing you to access a set of pre-defined variables ready to be used, as well as redefining them for your own needs. You can also use them as a foundation for an advanced theming solution like [Tailwindcss](tailwindcss.com/).
The components in this Tech Sample use [Scss](https://sass-lang.com/) for their internal styles, relying on CSS Custom Properties for Tokens access.
### Tokens
The Tokens are split in different components, following the [Open Props structure](https://open-props.style/#overview):
- `colors`: colors and variants
- `gradients`: collection of pre-defined gradients
- `shadows`: inset and shadows
- `aspect-ratios`: collection of different ratios for your `box`-ed elements
- `sizes`: differents sizes in relative units## Documentation
Documentation pages are using the [@divriots/dockit-core](https://github.com/divriots/dockit-core) documentation framework to preview the different tokens. See the `doc-layout` component.
---
## Resources
- [Open Props](https://open-props.style/)
- [@argyleink](https://twitter.com/argyleink): Creator of Open Props
- [Coding Design System - Open Props - Part.1](https://youtu.be/k5rnRNCKz_4): Live Coding session showing the implementation of this Starter Kit