npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

master-css

v1.4.5

Published

Collection of styles for Axcess Software Suite

Downloads

81

Readme

Master-css

Master-css is a wk-themed version of bootstrap along with several third party front end components:

  • Angular-Toaster
  • UI-Grid
  • UI-Bootstrap
  • UI-Select

Dependencies

In order to build the module, you will need to install the following apps:

  • Node.js
  • [Grunt] (http://gruntjs.com/) or [gulp] (http://gulpjs.com/)

Once node is installed, you will need to add the grunt-cli to your global node repository:

$ npm install grunt-cli -g

Installation

Master-css is installed using npm:

$ npm install master-css --save

This will put master-css into your node_modules directory.

Usage

Master-css is best utilized when you are making use of its scss components and the functionality that those provide.

The best way to go about this is to set up your own sass directory and import the styles you need from the main directory.

Then you would use the task runner of your choice to compile the scss.

Using Grunt

Assuming you already have a gruntfile already, first thing you would need to install is the grunt-sass plugin.

$ npm install grunt-sass --save-dev

And the task in your gruntfile should look something like this

sass: {
    master: {
        options: {
            outputStyle: 'compressed',
            sourceMap: true
        },


        files: {
            // if you only wanted to compile master-css
            'node_modules/master-css/stylesheets/main.scss': '/content/css/master.css'

            // if you want to customize your master-css build import the files in the sass and compile those
            '<path to your own main.scss stylesheet goes here>': '<path to your output css>'
        }
    }
}

Your own sass file would look something like this

//your own bootstrap variable overrides must be imported first if you are using them
@import 'custom_theme'


//the base stylesheets, includes bootstrap uibootstrap icons and fonts
@import './node_modules/master-css/stylesheets/base.scss'


//Picking and chosing the components you need.

@import './node_modules/master-css/stylesheets/components/<path to component .scss file>'


//now import your own styles.
...