CSS component library for building Lightspeed products.
To use these components, you would typically add the following to your package's root index.tsx
:
import '@lightspeed/design-system-css';
You have access to both the .css
dist files and the .scss
src files. The design system CSS files are broken down per component, so you can just use what you need (i.e. DatePicker.css
).
You can access all the variables, mixins, functions and other Sass that doesn't produce actual CSS at any time by importing:
@import '@lightspeed/design-system-css/src/common';
-
build
- Build the dist.css
files -
build:themes
- Converts the JS themes to SCSS maps
Source code is under a custom license based on MIT.