10.43.4 • Published 7 years ago
@collabui/core v10.43.4
Collab UI Core
@collabui/core
Collab UI Core is a UI framework for implementing Cisco Collaboration Design into web apps and sites.
Table of Contents
Install
Install and manage the Collab UI Core using NPM. You may use yarn or npm. By default, yarn/npm installs packages to node_modules/.
npm install @collabui/core --save
or
yarn add @collabui/core
Usage
CSS
- Copy the "@collabui/core/fonts" directory to the "fonts" directory for your site.
- Copy the "@collabui/core/images" directory to the "images" directory for your site.
- Copy the "@collabui/core/css/collab-ui.min.css" to your styles/css directory.
In the
<head>of your HTML reference the location of your collab-ui.min.css.<link rel="stylesheet" href="path/to/collab-ui/css/collab-ui.min.css">
Scss
- Copy the "@collabui/icons/fonts" directory to the "fonts" directory for your site.
- Add an "$brand-font-folder, $icon-font-path, and $images-path" variables to your app's variables.scss file.
$brand-font-folder: 'path/to/fonts/directory';
$icon-font-path: 'path/to/fonts/directory';
$images-path: 'path/to/images/directory';- Import "@collabui/core/scss/collab-ui.scss" into your main entry Scss file AFTER the variables.
@import '~@collabui/core/scss/collab-ui';
- Compile your Scss using your static compiler or bundler (Webpack, Grunt, Gulp, etc.)
Contribute
PRs accepted.
License
© 2014-2019 Cisco and/or its affiliates. All Rights Reserved.
10.43.4
7 years ago