Skip to content

remotar/remotar-uikit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REMOTAR UI-KIT

This is the Remotar UI Kit. It contains all the atomic style and HTML bare components aready styled and in complience with the Remotar Design. It follows a simple modular and reactive pure CSS/SCSS structure.

Usage

Add the remotar UI Kit to yoru project by adding the core CSS only, or the complete UI Kit. If you are using ES6 modules, just import it to your project:

npm install @remotarjobs/remotar-uikit

Then on your global app module

import '@remotarjobs/remotar-uikit'

Or if you prefer a modular approach, import only the core from the css root, then the modules you want from the elements folder. Lets say you want to add only buttons, for exemple:

import '@remotarjobs/remotar-uikit/css/core.css'
import '@remotarjobs/remotar-uikit/css/elements/buttons.css'

Pure HTML

Add the UI-KIT from a link tag on your project:

<link rel="stylesheet" href="ui-kit/css/all.css">

Or if you prefer a modular approach, import only the core from the css root, then the modules you want from the elements folder. Lets say you want to add only buttons, for exemple:

<link rel="stylesheet" href="ui-kit/css/core.css">
<link rel="stylesheet" href="ui-kit/css/elements/buttons.css">
<!-- import all the modules you need from elements -->

ES6 Modules

Just import the UI-KIT

import "ui-kit/css/all.css";

Or for a modular approach:

import "ui-kit/css/core.css";
import "ui-kit/css/elements/buttons.css";
// import all the modules you need from elements

Modules

The UI-KIT is pretty small in size, but if you prefer a modular approach, add the core as explained before, and then the modules you want. Those are the modules you can import from the elements folder:

  • buttons
  • form
  • lists
  • tables
  • typography

Elements Doc

To see the elements index, open the index.html page on the repository root, or start the development server.

Developing

First install the dependencies:

npm install

Then start the dev server

npm run dev

A live server will be opened on localhost:8080, you can start hack.
The sources are on the "scss" folder. Happy code!

Building

Install the dependencies:

npm install

Then:

npm run build

You're good to go