New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@mskcc/fundamentals

Package Overview
Dependencies
Maintainers
5
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mskcc/fundamentals

All the primitive stylesheets and assets for MSKCC design system.

npmnpm
Version
2.7.0
Version published
Weekly downloads
125
37.36%
Maintainers
5
Weekly downloads
 
Created
Source

@mskcc/fundamentals

The core brand assets and base level stylesheets for building applications.

descriptionlocation
reset, helpers, fonts@mskcc/fundamentals/src/styles-all.scss
css version of styles-all@mskcc/fundamentals/dist/styles-all.min.css
logos@mskcc/fundamentals/dist/logos/assets/*
favicons@mskcc/fundamentals/src/favicons/assets/*
manifest@mskcc/fundamentals/src/manifest/assets/*
scss stylesheets@mskcc/fundamentals/src/*
css stylesheets@mskcc/fundamentals/dist/*
color types (js, ts, json)@mskcc/fundamentals/dist/types/msk-colors.*
color css variables@mskcc/fundamentals/dist/msk-colors.css

Installation

npm install @mskcc/fundamentals

# pnpm
pnpm install @mskcc/fundamentals

# yarn
yarn add @mskcc/fundamentals

Getting started

Begin with the styles-all stylesheet to reset the browser defaults, provide helper classes, and install font families.

@import '@mskcc/fundamentals/src/styles-all';
@import '@mskcc/fundamentals/css/styles-all';

To install without the font families, use styles-base.

Using font family stylesheets

The font files are colocated with the font stylesheets.

@use '@mskcc/fundamentals/src/typography/gotham-all.scss';

You may need to adjust the path to the font files to point to the assets within your node_modules.

@use '@mskcc/fundamentals/src/typography/gotham-all.scss' with (
  $msk--font-path: '@mskcc/fundamentals/src/typography/assets/'
);

Using scss colors, variables, mixins

@use '@mskcc/fundamentals/scss/colors' as c;
@use '@mskcc/fundamentals/scss/variables' as v;
@use '@mskcc/fundamentals/scss/mixins' as m;

.msk-button {
  background-color: c.$msk--color-blue-50;
  box-shadow: v.$msk--elevation-plus-24;
  font-size: m.msk-rem(16px);
}

Development

svgo -f src/logo/assets/ -o tmp/

FAQs

Package last updated on 20 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts