/open-props-kzcito7v

Open-props https://open-props.style

Primary LanguageJavaScriptMIT LicenseMIT

backlight.dev Github Repo

Open Props Tech Sample
by ‹div›RIOTS

This is a Technology Sample you can rely on to build your own Design System, based on Open Props.

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 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.

The components in this Tech Sample use Scss 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:

  • 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 documentation framework to preview the different tokens. See the doc-layout component.


Resources