<img src="https://cdn.jsdelivr.net/npm/@mskcc/dsm-assets@latest/src/design-system-logo.svg" />
> Colors for MSK digital products.
``bash`
npm install --save-dev @mskcc/colors
You can use the @mskcc/colors module in your JavaScript, in addition to your
Sass.
`tsx
import { colors } from '@mskcc/colors';
const lightTheme = {
bg: colors.msk['white'][0],
};
`
In Sass, you can import the files individual by doing:
`scss
@use '@mskcc/colors' as c;
body {
background-color: c.$msk-white-0;
}
`
`css
@import '@mskcc/colors/dist/index.css';
body {
background-color: var(--msk-color-white-0);
}
``