All Projects → mkhairi → material-sass

mkhairi / material-sass

Licence: MIT license
A rubygem of Material Design for Bootstrap 4

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to material-sass

bootswatch-sass
bootswatch ruby gems for assets pipeline
Stars: ✭ 12 (-78.18%)
Mutual labels:  rubygem, bootstrap4, rubyonrails
jquery-datatables
Jquery datatables ruby gems for assets pipeline
Stars: ✭ 73 (+32.73%)
Mutual labels:  rubygems, rubygem, rubyonrails
Waterdrop
WaterDrop is a standalone Karafka component library for generating Kafka messages
Stars: ✭ 136 (+147.27%)
Mutual labels:  rubygems, rubygem
Material Kit
Free and Open Source UI Kit for Bootstrap 4, React, Vue.js, React Native and Sketch based on Google's Material Design
Stars: ✭ 5,672 (+10212.73%)
Mutual labels:  bootstrap4, bootstrap-material-design
Materialize Sass
Materializecss rubygem for Rails Asset Pipeline / Sprockets
Stars: ✭ 785 (+1327.27%)
Mutual labels:  rubygems, rubygem
Karafka
Framework for Apache Kafka based Ruby and Rails applications development.
Stars: ✭ 1,223 (+2123.64%)
Mutual labels:  rubygems, rubygem
The-Ruby-Workshop
A New, Interactive Approach to Learning Ruby
Stars: ✭ 26 (-52.73%)
Mutual labels:  rubygems, rubyonrails
startui-admin
StartUI - Free html admin dashboard template
Stars: ✭ 31 (-43.64%)
Mutual labels:  bootstrap4
Python
covers python basic to advance topics, practice questions, logical problems in python, web development using html, css, bootstrap, jquery, DOM, Django 🚀🚀. 💥 🌈
Stars: ✭ 29 (-47.27%)
Mutual labels:  bootstrap4
tss-rb
A Ruby implementation of Threshold Secret Sharing (Shamir) as defined in IETF Internet-Draft draft-mcgrew-tss-03.txt
Stars: ✭ 22 (-60%)
Mutual labels:  rubygems
discord-bootstrap-theme
Custom bootstrap theme
Stars: ✭ 13 (-76.36%)
Mutual labels:  bootstrap4
AMS
Attendance management system made my me, which I use for taking attendance.
Stars: ✭ 13 (-76.36%)
Mutual labels:  bootstrap4
mastodo
A fork of the GNU Social/AP-compatible microblogging server
Stars: ✭ 29 (-47.27%)
Mutual labels:  rubyonrails
abdulmoqueet.github.io
My Professional Portfolio
Stars: ✭ 17 (-69.09%)
Mutual labels:  bootstrap4
Azia-Admin-Bootstrap-Template
Free Bootstrap 4 Admin template
Stars: ✭ 73 (+32.73%)
Mutual labels:  bootstrap4
lara8auth
This is a simple auth starter setup for laravel 8 projects using bootstrap and laravel fortify
Stars: ✭ 11 (-80%)
Mutual labels:  bootstrap4
cli-rubygem
Command line interface for interacting with Civo's cloud API
Stars: ✭ 15 (-72.73%)
Mutual labels:  rubygem
VTMsite
Vampire: The Masquerade character creator page made with Angular
Stars: ✭ 36 (-34.55%)
Mutual labels:  bootstrap4
ruby terraform
A simple Ruby wrapper for invoking terraform commands.
Stars: ✭ 92 (+67.27%)
Mutual labels:  rubygem
sxp.rb
A universal S-expression parser for Ruby.
Stars: ✭ 49 (-10.91%)
Mutual labels:  rubygems

Material-sass Gem Version

material-sass is a rubygems version of Material Design for Bootstrap 4

Offical repo github.com/Daemonite/material

Documentation daemonite.github.io/material

Dependencies

Rails 5.1+ The Rails JavaScript helpers has been rewritten in a new gem called rails-ujs and they use vanilla JavaScript, so jQuery is not a dependency of Rails anymore. Since bootstrap relies on it, install it with bin/yarn add jquery or via gem 'jquery-rails' and add //= require jquery to application.js.

NOTE: Ensure that the sass-rails gem is presented in your Gemfile.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap',     '4.1.1'
gem 'material-sass', '4.1.1'

And then run the bundler and restart your server to make the files available through the pipeline:

$ bundle install

Or install it yourself as:

$ gem install material-sass

Usage

a. Sass

Import Materialize styles in app/assets/stylesheets/application.scss:

@import "material";
//ps: no need to import 'bootstrap'

NOTE: If you have just generated a new Rails application, it may come with a .css file instead. If this file exists, it will be served instead of Sass, so remove it.

$ rm app/assets/stylesheets/application.css

b. JavaScript

Require Material javascripts in app/assets/javascripts/application.js:

//= require jquery
//= require popper
//= require bootstrap
//= require material

c. Icons

Include this line in the portion of your HTML code

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

or import this line in your application.scss

@import "https://fonts.googleapis.com/icon?family=Material+Icons";

or install this gem for offline icons

gem 'material_icons'

see docs

Contributing

note: Any changes or Pull Request regarding material assets should be made in official material repo.

  1. Fork it ( https://github.com/mkhairi/material-sass/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
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].