# Voicenter UI library for Vue
This is Vue 3.x + Typescript component library made for Voicenter systems

## Installation
1. run `yarn add @voicenter-team/voicenter-ui` or `npm i @voicenter-team/voicenter-ui`
2. In main js/ts file add
```js
import '@voicenter-team/voicenter-ui/library/super.ssr.css'
import VoicenterUI from '@voicenter-team/voicenter-ui'

app.use(VoicenterUI, {
    component: [], // Here you can pass list of components which you wan't to be globally registered. If empty - will register globally all
    themeName: 'red', // Pass the name of the theme
    lang: 'en' // Pass the language for app localization
})
```
2.1. If you are using tailwind update your `tailwind.config.js` with:
```js
const voiceTailwindScheme = require('@voicenter-team/voicenter-ui/src/theme/tailwindScheme')

module.exports = {
  ...yourConfiguration,
  theme: {
    colors: {
      ...voiceTailwindScheme
    },
    borderColor: {
      ...voiceTailwindScheme
    }
  }
}
```
## Documentation

Visit [documentation](https://voicenter-ui.netlify.app/) for detailed info
