1.6.2 • Published 3 years ago

@visualteams/ui-kit v1.6.2

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

VisualTeams

@visualteams/ui-kit

UI components and theme for VisualTeams Plugins

npm package NPM Downloads Code style

Installation

yarn add @visualteams/ui-kit

Usage

Colors

The UI-Kit export all colors used in the VisualTeams App

import COLORS from '@visualteams/ui-kit/colors'

const App = () => {
  return <div style={{ color: COLORS.primary }}>Welcome to the jungle !</div>
}
Color NameDescription
primaryPrimary color of the App
secondarySecondary color of the App
successIndicate a success event, block, …
dangerIndicate an error, a warning, …

Material-ui theming

The UI-Kit export a Material-ui theme object which help you to use the same component design as the VisualTeams App

import { MuiThemeProvider } from "@material-ui/core/styles";
import { Button } from "@material-ui/core";

import theme from "@visualteams/ui-kit/theme";

const App = () => {
    return <MuiThemeProvider theme={theme}>
      <Button>Click me !</Button>
    </MuiThemeProvider>
}

Components

Some components (based on Material-ui) are available to help you maintain graphical consistency

@TODO

Contributors

Contributions, issues and feature requests are welcome! Feel free to check the issues page.

Code Contributors

Financial Contributors

License

This project is licensed under the terms of the MIT license.

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

4 years ago

0.0.1

4 years ago