2.42.8 • Published 4 years ago

ovh-ui-kit v2.42.8

Weekly downloads
354
License
BSD-3-Clause
Repository
-
Last release
4 years ago

OVH UI Kit (Less)

OVH component

A css toolkit for the OVH brand.

NPM

Project status stable Maintenance Chat on gitter

Installation

Dependencies

These dependency will be installed automatically:

Install with npm

npm install ovh-ui-kit

Install with yarn

yarn add ovh-ui-kit

Install with bower (deprecated)

bower install --save ovh-ui-kit

Usage

Integration

Use in HTML file

    ...
  <link rel="stylesheet" href="path/to/ovh-ui-kit/dist/oui.css">
    ...

Use with grunt and grunt-contrib-less

@import "path/to/ovh-ui-kit/packages/oui/stylekit";

// or you can import every component a-la-carte:

@import "path/to/ovh-ui-kit/packages/oui-button/button";
@import "path/to/ovh-ui-kit/packages/oui-radio/radio";
@import "path/to/ovh-ui-kit/packages/oui-formfield/formfield";

Use with webpack and less-loader

Webpack provide the ~ prefix for package imports:

@import "~ovh-ui-kit/packages/oui/stylekit.less";

// or a-la-carte:

@import "~ovh-ui-kit/packages/oui-button/button.less";
@import "~ovh-ui-kit/packages/oui-radio/radio.less";
@import "~ovh-ui-kit/packages/oui-formfield/formfield.less";

Use with bootstrap 3

For those who want to use ovh-ui-kit with bootstrap on the same project you need change the rem-base to 10px otherwise components proportions will not be respected.

@import '~bootstrap/less/bootstrap';

// Sets rem-base to 10px because bootstrap sets font-size: 10px on the html element.
@rem-base: rem-base(10px);

@import "~ovh-ui-kit/packages/oui/stylekit.less";

Develop

Run in development mode

  1. Clone and install ovh-ui-kit
git clone https://github.com/ovh-ux/ovh-ui-kit.git
cd ovh-ui-kit
yarn install
yarn link
  1. Run ovh-ui-kit with ovh-ui-kit-documentation
git clone https://github.com/ovh-ux/ovh-ui-kit-documentation.git
cd ovh-ui-kit-documentation
yarn install
yarn link ovh-ui-kit
yarn start

Hot reload

Once you have yarn start-ed the project, you can edit anything with an automatic browser refresh as a result.

Contributing

You've developed a new cool feature? Fixed an annoying bug? We'd be happy to hear from you!

see CONTRIBUTING

And read this quick start.

Related links

Documentation

Documentation is available from the packages/ folder, every package is self-documented throught a README.md file.

License

See https://github.com/ovh-ux/ovh-ui-kit/blob/master/LICENSE

2.42.8

4 years ago

2.42.7

4 years ago

2.42.6

4 years ago

2.42.5

4 years ago

2.42.4

4 years ago

2.42.3

4 years ago

2.42.1

4 years ago

2.42.2

4 years ago

2.42.0

4 years ago

2.41.1

4 years ago

2.41.0

4 years ago

2.40.0

4 years ago

2.39.0

4 years ago

2.38.0

4 years ago

2.37.0

4 years ago

2.36.1

5 years ago

2.36.0

5 years ago

2.35.3

5 years ago

2.35.2

5 years ago

2.35.1

5 years ago

2.35.0

5 years ago

2.34.3

5 years ago

2.34.2

5 years ago

2.34.1

5 years ago

2.34.0

5 years ago

2.33.4

5 years ago

2.33.3

5 years ago

2.33.2

5 years ago

2.33.1

5 years ago

2.33.0

5 years ago

2.32.0

5 years ago

2.31.0

5 years ago

2.30.0

5 years ago

2.29.1

5 years ago

2.29.0

5 years ago

2.28.0

5 years ago

2.27.0

5 years ago

2.26.1

5 years ago

2.26.0

5 years ago

2.25.0

5 years ago

2.24.2

5 years ago

2.24.1

5 years ago

2.24.0

5 years ago

2.23.1

5 years ago

2.23.0

5 years ago

2.22.2

5 years ago

2.22.1

5 years ago

2.22.0

6 years ago

2.21.5

6 years ago

2.21.4

6 years ago

2.21.3

6 years ago

2.21.2

6 years ago

2.21.1

6 years ago

2.21.0

6 years ago

2.20.2

6 years ago

2.20.1

6 years ago

2.20.0

6 years ago

2.19.0

6 years ago

2.18.0

6 years ago

2.17.2

6 years ago

2.17.1

6 years ago

2.17.0

6 years ago

2.16.3

6 years ago

2.16.2

6 years ago

2.16.1

6 years ago

2.16.0

6 years ago

2.15.0

6 years ago

2.14.0

6 years ago

2.13.1

6 years ago

2.13.0

6 years ago

2.12.0

6 years ago

2.11.0

6 years ago

2.10.0

6 years ago

2.9.0

6 years ago

2.8.0

6 years ago

2.7.1

6 years ago

2.7.0

6 years ago

2.6.2

6 years ago

2.6.1

6 years ago

2.6.0

6 years ago

2.5.0

6 years ago

2.4.1

6 years ago

2.4.0

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago