@pod-point/ui-toolkit
A rapid prototyping framework for getting a project off the ground quickly.
Last updated 4 years ago by pod-point .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @pod-point/ui-toolkit 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.2.2                                ...           latest (4 years ago)

13 Versions

  • 3.2.2                                ...           4 years ago
  • 3.2.1                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.0.13                                ...           4 years ago
  • 3.0.12                                ...           4 years ago
  • 3.0.11                                ...           4 years ago
  • 3.0.10                                ...           4 years ago
  • 3.0.9                                ...           4 years ago
  • 3.0.8                                ...           4 years ago
  • 3.0.7                                ...           4 years ago
  • 3.0.5                                ...           4 years ago
  • 3.0.3                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 2
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |