Seldon is the source for design guidelines, component documentation, and resources for building apps with the Phillips.com Design System.
We use Storybook to document the components. Our storybook is hosted in Netlify at here.
# With NPM
npm install @phillips/seldon
# With yarn
yarn add @phillips/seldon
The project contains a scss
folder. Here you will find the main export of our sass styles for our components. There's also a scss export that contains our mixins, tokens, and other utilities.
@use '@phillips/seldon/dist/scss/componentStyles'; // our component tyles
@use '@phillips/seldon/dist/scss/allPartials'; // our scss utilities
If you wish to only import specific component styles you can find them in their respective directories inside the scss
folder.
@use '@phillips/seldon/dist/scss/components/Button/button';
Each component can be imported in your project by referencing the named exports from main index file.
import { Button } from '@phillips/seldon';
Before you start contributing to this project please check out our guidelines found here