0.1.14 • Published 5 years ago
codecov-ui v0.1.14
Codecov UI
Getting started
Install
To install this library, run: yarn add codecov-ui
.
Initialize
To use this Vue plugin in your project. Add the following to your main.ts
:
import lib from 'codecov-ui'
Vue.use(lib)
You can also override the Styling inventory over here. You do this by passing it in the options here:
import lib, { Spacings } from 'codecov-ui'
Vue.use(lib, {
inventory: {
Colors: {
primary: 'red',
secondary: 'blue'
},
States: {
positive: 'green',
negative: 'red'
},
Theme: {
padding: Spacings.m
}
}
})