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

@mskcc/tailwind

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mskcc/tailwind

latest
npmnpm
Version
2.7.3
Version published
Maintainers
0
Created
Source

MSK Tailwind Package

tailwind configuration file for MSKCC

Installation

You will need to install the following packages and add the preset to your tailwind.config.js file.

We also have postcss and stylesheet config files, but our tailwind config is the only one that is needed to incorporate DSM.

npm install --save-dev @mskcc/tailwind tailwindcss postcss postcss-import autoprefixer

Create the following files inside root directory of your project:

  • tailwind.config.js
  • postcss.config.js
// tailwind.config.js

/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [require('@mskcc/tailwind/presets')],
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    // or wherever your files that will use tailwind lives
  ],
};

Extended Configurations

// postcss.config.js
module.exports = {
  ...require('@mskcc/tailwind/postcss.config'),
};
/* add the following to your global stylesheet  */
@import '@mskcc/tailwind/styles.css';

Usage

  • Colors
    • bg-msk-[color]-[10-100]
  • Elevations (box shadows)
    • shadow-msk-elevation-[plus|minus]-[0-24]
  • Typescale (h1, display1)
    • text-msk-[type]-[0-9]
  • Font family
    • font-msk-[type]

FAQs

Package last updated on 05 Feb 2025

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