3.2.2 • Published 9 years ago

@pod-point/ui-toolkit v3.2.2

Weekly downloads
2
License
Apache-2.0
Repository
-
Last release
9 years ago

ui-toolkit

The POD Point frontend framework is a library of base styles and components designed for rapid prototyping.

View demo

Installation

Install via npm:

npm install @pod-point/ui-toolkit

Then either link to the production ready files:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Document</title>
    <link rel="stylesheet" href="/path/to/node_modules/pod-point/ui-toolkit/dist/css/style.min.css">
</head>
<body>
    <script src="/path/to/node_modules/pod-point/ui-toolkit/dist/js/script.js"></script>
</body>
</html>

Or import the entry points into your project. For Sass, this is done by:

@import 'path/to/node_modules/pod-point/ui-toolkit/src/scss/style.scss';

And for the JavaScripts:

import modal from '/path/to/node_modules/pod-point/ui-toolkit/dist/js/modal';

Development

First, install all of the Node modules needed:

git clone git@github.com:Pod-Point/ui-toolkit.git
cd ui-toolkit
npm install

Then run the following command:

gulp watch

This will spin up a new development server at http://localhost:3000 with /dist as the document root.

Icons

We're using Fontello for the icon fonts. If you need a new icon, head to the Fontello site, hit 'Import' and upload src/fonts/config.json so that any existing settings aren't overridden. Then add your icon(s) to the package, download, extract and replace the font files in src/fonts and the config.json to complete your changes.

Documentation

The gh-pages branch is a snapshot of /dist, hence why it is important to copy the build folder across. To generate new documentation online, run the following anywhere within the project:

git subtree push --prefix="dist" origin gh-pages
3.2.2

9 years ago

3.2.1

9 years ago

3.2.0

9 years ago

3.0.13

9 years ago

3.0.12

10 years ago

3.0.11

10 years ago

3.0.10

10 years ago

3.0.9

10 years ago

3.0.8

10 years ago

3.0.7

10 years ago

3.0.6

10 years ago

3.0.5

10 years ago

3.0.3

10 years ago

3.0.2

10 years ago

3.1.0

10 years ago

3.0.1

10 years ago