badc-styleguide

0.6.24 • Public • Published

Build Status

How to run the style-guide locally:

npm install
npm run serve

Open http://localhost:6060


### How to create a new BADC project
  1. Clone badc-ui-template (this repo contains its own installation of vuetify)

  2. Update colors per project in /plugins/vuetify.js

import Vue from 'vue';
import Vuetify from 'vuetify/lib';
import colors from 'badc-styleguide/theme/colors'

Vue.use(Vuetify);

export default new Vuetify({
  theme: {
    themes: {
      light: Object.freeze({

        // define base BADC color pallete
        ...colors,
    
        // define project colors
        primary: colors.blue,
        secondary: colors.purple,
        accent: colors.indigo,
        error: colors.red,
        info: colors.cyan,
        success: colors.green,
        warning: colors.yellow,
    
      })
    }
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i badc-styleguide

Weekly Downloads

2

Version

0.6.24

License

MIT

Unpacked Size

89.2 kB

Total Files

28

Last publish

Collaborators

  • nbirus