All Projects → lightyrs → Tabler Rubygem

lightyrs / Tabler Rubygem

Licence: mit
Rubygem for https://tabler.github.io

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Tabler Rubygem

Coreui Free Vue Admin Template
Open source admin template based on Bootstrap 5 and Vue 3
Stars: ✭ 2,951 (+3732.47%)
Mutual labels:  bootstrap, scss, dashboard, admin-dashboard, admin-template, bootstrap-theme
Sleek Dashboard
Sleek Dashboard - Free Bootstrap 4 Admin Template and UI Kit
Stars: ✭ 690 (+796.1%)
Mutual labels:  bootstrap, scss, dashboard, admin-dashboard, admin-template, bootstrap-theme
Light Blue Dashboard
🔥 Free and open-source admin dashboard template built with Bootstrap
Stars: ✭ 110 (+42.86%)
Mutual labels:  bootstrap, scss, sass, dashboard, admin-dashboard, admin-template
Carbon
Elegant Bootstrap 4 Admin Template
Stars: ✭ 309 (+301.3%)
Mutual labels:  bootstrap, scss, dashboard, admin-dashboard, admin-template, bootstrap-theme
Coreui Free React Admin Template
CoreUI React is a free React admin template based on Bootstrap 5
Stars: ✭ 3,573 (+4540.26%)
Mutual labels:  bootstrap, scss, dashboard, admin-dashboard, admin-template, bootstrap-theme
Coreui Free Bootstrap Admin Template
CoreUI is free bootstrap admin template
Stars: ✭ 11,038 (+14235.06%)
Mutual labels:  bootstrap, scss, dashboard, admin-dashboard, admin-template
Tabler
Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap
Stars: ✭ 24,611 (+31862.34%)
Mutual labels:  bootstrap, scss, sass, dashboard, admin-dashboard
Adminkit
🧰 AdminKit is a free & open source Bootstrap 5 Admin Template
Stars: ✭ 395 (+412.99%)
Mutual labels:  bootstrap, scss, sass, admin-template, bootstrap-theme
Lightning Admin Angular
A mobile first design of a responsive admin template built with angular and bootstrap
Stars: ✭ 107 (+38.96%)
Mutual labels:  bootstrap, scss, sass, admin-dashboard, admin-template
Clever Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Clever is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 98 (+27.27%)
Mutual labels:  bootstrap, scss, dashboard, admin-dashboard, admin-template
Staradmin Free Bootstrap Admin Template
A Free Responsive Admin Dashboard Template Built With Bootstrap 4. Elegant UI Theme for Your Web App!
Stars: ✭ 1,191 (+1446.75%)
Mutual labels:  bootstrap, sass, dashboard, admin-dashboard, admin-template
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+1441.56%)
Mutual labels:  bootstrap, scss, sass, dashboard, admin-dashboard
Architectui Html Theme Free
ArchitectUI Dashboard Free is lightweight and comes packed with the minimal set of components to get you started. If you have a simple application, it’s the perfect solution for you. It’s built on top of Bootstrap 4 and features a scalable architecture just like it’s wiser, older sibling – ArchitectUI HTML Pro theme.
Stars: ✭ 155 (+101.3%)
Mutual labels:  bootstrap, admin-dashboard, admin-template, bootstrap-theme
Ngx Admin
Customizable admin dashboard template based on Angular 10+
Stars: ✭ 23,286 (+30141.56%)
Mutual labels:  sass, dashboard, admin-dashboard, admin-template
Mazer
Free and Open-source Bootstrap 5 Admin Dashboard Template and Landing Page
Stars: ✭ 195 (+153.25%)
Mutual labels:  bootstrap, scss, dashboard, admin-dashboard
Coreui Angularjs
CoreUI AngularJS is free AngularJS admin template based on Bootstrap 4
Stars: ✭ 101 (+31.17%)
Mutual labels:  bootstrap, scss, admin-dashboard, bootstrap-theme
Stellar
Stellar is completely based on the latest version of Bootstrap 4. Stellar Admin is designed to reflect the simplicity and svelte of the components and UI elements and coded to perfection with well-organized code.
Stars: ✭ 176 (+128.57%)
Mutual labels:  bootstrap, admin-dashboard, admin-template, bootstrap-theme
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (+1384.42%)
Mutual labels:  bootstrap, admin-dashboard, admin-template, bootstrap-theme
Bootstrap Simple Admin Template
The most reliable HTML, CSS, and JavaScript simple admin template for developing responsive, mobile first web applications on the web.
Stars: ✭ 92 (+19.48%)
Mutual labels:  bootstrap, admin-dashboard, admin-template, bootstrap-theme
Bootstrapadmin
Bootstrap 4 admin template.
Stars: ✭ 273 (+254.55%)
Mutual labels:  bootstrap, admin-dashboard, admin-template, bootstrap-theme

Gem Version

Tabler Ruby Gem

Tabler ruby gem for Ruby on Rails.

Installation

Please see the appropriate guide for your environment of choice:

a. Ruby on Rails


v0.1.4 BREAKING CHANGE:

Images are no longer included by default. Instead, you can include all the image sets or the specific image sets you want (either browser, flag, and/or payments). Read below for more info on how to do this.


Add bootstrap and tabler-rubygem to your Gemfile:

gem 'bootstrap', '~> 4.1.1'
gem 'tabler-rubygem'

Ensure that sprockets-rails is at least v2.3.2.

bundle install and restart your server to make the files available through the pipeline.

Import Tabler styles and optionally Tabler Plugin styles and icons in app/assets/stylesheets/application.scss:

// Custom tabler variables must be set or imported *before* bootstrap and tabler.
@import "tabler/variables";
@import "bootstrap";
@import "tabler";
@import "tabler.plugins"; // optional
@import "tabler.icons"; // optional includes [browser, flag, payments]

The available variables can be found here.
Tabler plugins includes the css files for the javascripts found here.

You can also choose to include plugin css on a per-plugin basis, for example:

// Custom tabler variables must be set or imported *before* tabler.
@import "tabler/variables";
@import "bootstrap";
@import "tabler";
@import "tabler/plugins/charts-c3/plugin.scss";

or include icons css per type, for example:

// Custom tabler variables must be set or imported *before* tabler.
@import "tabler/variables";
@import "bootstrap";
@import "tabler";
@import "tabler/icons/flag";

Make sure the file has .scss extension (or .sass for Sass syntax). If you have just generated a new Rails app, it may come with a .css file instead. If this file exists, it will be served instead of Sass, so rename it:

$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss

Then, remove all the *= require and *= require_tree statements from the Sass file. Instead, use @import to import Sass files.

Do not use *= require in Sass or your other stylesheets will not be able to access the Tabler mixins and variables.

Add Tabler and optionally Tabler Plugins to your application.js:

//= require tabler
//= require tabler.plugins

Tabler already includes jQuery and Bootstrap javascript.
Tabler plugins includes the javascripts found here.

If you already include jQuery in your project, you can include tabler's js on a per-file basis to avoid conflicts:

// = require tabler/tabler
// = require tabler/vendors/bootstrap.bundle.min
// = require tabler/vendors/circle-progress.min
// = require tabler/vendors/jquery.sparkline.min
// = require tabler/core

You can also choose to include plugin js on a per-plugin basis, for example:

//= require tabler
//= require tabler/plugins/charts-c3/js/d3.v3.min
//= require tabler/plugins/charts-c3/js/c3.min

b. Other Ruby frameworks

If your framework uses Sprockets or Hanami, the assets will be registered with Sprockets when the gem is required, and you can use them as per the Rails section of the guide.

Otherwise you may need to register the assets manually. Refer to your framework's documentation on the subject.

Configuration

Sass: Autoprefixer

Tabler requires the use of Autoprefixer. Autoprefixer adds vendor prefixes to CSS rules using values from Can I Use.

If you are using tabler with Rails, autoprefixer is set up for you automatically. Otherwise, please consult the Autoprefixer documentation.

Sass: Individual components

By default all of Tabler is imported.

You can also import components explicitly. To start with a full list of modules copy _tabler.scss file into your assets as _tabler-custom.scss. Then comment out components you do not want from _tabler-custom. In the application Sass file, replace @import 'tabler' with:

@import 'tabler-custom';
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].