Socket
Book a DemoInstallSign in
Socket

@masonite/mdl-css

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@masonite/mdl-css

Masonite Design Language CSS

1.2.3
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
5
Weekly downloads
 
Created
Source

@masonite/mdl-css

MDL base styles and component CSS.

Install

npm i @masonite/mdl-css

Manual Installation

If you aren't using build tools and simply want the mdl.css, you can do so with npm pack @masonite/mdl-css and npm will download the package as a zip. The CSS file will be in the dist folder.

Usage

The mdl.css file with all of the styles is the default export of the package. This means you will need something to handle imports of a .css file, such as webpack with the css-loader and style-loader.

Also, present is the styles directory, featuring all the Sass mixins and variables for MDL.

JavaScript

// Imports mdl.css, which requires special handling.
import '@masonite/mdl-css'

CSS

/* The inclusion of the ~ may vary depending on your build tools. */
@import "~@masonite/mdl-css/dist/mdl.css";

Deployment

  • Update the CHANGELOG.md for the version you're releasing. If there is an [Unreleased] block, change that to the next version following semver.
  • Build the package with npm run build.
  • Publish with lerna publish.

FAQs

Package last updated on 19 May 2021

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.