A smart, easy-to-use toolkit for creating rich interfaces in lightning speed!
MASTER
is the main branch.
To update the staging branch (gh-pages) do npm run deploy
Three quick start options are available:
- Download the latest release.
- Clone the repo:
git clone https://github.com/viadeo/tetra-ui.git
. - Install with npm:
npm install tetra-ui
.
The main folder you’ll use is of course tetra-ui
where you’ll find the main files: CSS, web fonts, images, Less, Sass.
Here are the instructions to launch and build locally the whole Tetra UI project and even the documentation files.
- Install Node.js
- Install Npm dependancies (npm should with Node)
- Install
grunt-cli
globally withnpm install -g grunt-cli
.
Navigate to the root tetra-ui
directory and then run npm install
to install project dependancies.
The npm
command installs the dependencies defined in package.json
.
Now you should have a node_modules
folder inside tetra-ui
with all the required Node.js modules.
grunt
And then go to this URL in a browser: http://localhost:5000/tetra-ui/dist or http://127.0.0.1:5000/tetra-ui/dist.
With this grunt default
task, every time a Less file is changed, Grunt rebuilds the CSS files.
- Tetra-ui is supplied within Less And Scss files.
To convert files, simply run
grunt less2sass
. - Slides about Tetra.js & Tetra UI. View Slides.
(The MIT License)
Copyright (c) Viadeo/APVO Corp., Frédéric Perrin, Olivier Hory, Richard Francis, Sylvain Faucherand and other Tetra contributors.
Inspired by Bootstrap (c) Twitter, Inc. (Apache 2 Licence)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.