badc-styleguide
v0.6.24
Published
Style guide for BADC.
Downloads
53
Readme
How to run the style-guide locally:
npm install
npm run serve
Clone
badc-ui-template
(this repo contains its own installation of vuetify)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,
})
}
},
});