@roadtrip/css

4.3.0 • Public • Published

Roadtrip CSS

CSS framework for Roadtrip Design System

📘 Documentation

​ Our documentation site lives at design.mobivia.com. You'll be able to find detailed documentation on getting started, all of the components, our themes, our guidelines, and more. ​

📦 Installation

With NPM

​ Before moving further, please make sure you have Node.js installed on your machine. You can install the latest version through their website.

If you’re planning on using our CSS framework in a project that doesn’t yet use Node Package Manager, you’ll have to first create a package.json file. To do this, run npm init and follow the steps provided.

Run in your project or website root directory (where package.json lives): ​

npm install @roadtrip/css --save

In the main file of you app, you can now import the CSS to load it in you app.

import "@roadtrip/css/dist/roadtrip.min.css";

with CDN

​ CSS can also be served from a CDN by adding the code in the head of you html file. Just specify a version in the URL like the following.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roadtrip/css@2.29.0/dist/roadtrip.min.css" />

🚀 Usage

When the framework is loaded, you can finally use the prebuild classes. ​

<button class="btn btn-secondary">Click me!</button>

​ You can find the list of all our components with their markup already available in our documentation.

💻 Contributing

Please take a look at our contributing guidelines if you're interested in helping! ​

📰 Changelog

Find all the latest changes in our changelog.

📃 License

​ Copyright © 2021 Mobivia.

Distributed under Apache-2.0 license.

Package Sidebar

Install

npm i @roadtrip/css

Weekly Downloads

1,467

Version

4.3.0

License

Apache-2.0

Unpacked Size

1.1 MB

Total Files

113

Last publish

Collaborators

  • mobivia-design