Skip to content

Instantly share code, notes, and snippets.

View spartDev's full-sized avatar

Thomas Roux spartDev

View GitHub Profile
@spartDev
spartDev / gist:6767906059dcdb7cdf51
Last active August 29, 2015 14:18
JSHint Config
// Configuration globale au projet de JSHint
// =========================================
//
// (Y compris celui intégré à votre EDI/éditeur, normalement)
//
// [Liste complète des options possibles](http://www.jshint.com/docs/options/)
{
// Options de restriction
// ----------------------
@spartDev
spartDev / SassMeister-input-HTML.html
Created March 25, 2015 09:49
Generated by SassMeister.com.
<button class="button button-default">Default</button>
<button class="button button-success">Success</button>
<button class="button button-warning">Warning</button>
<button class="button button-info">Info</button>
@spartDev
spartDev / Preferences.sublime-settings
Last active August 29, 2015 14:07
Sublime Text Pref
{
"auto_indent": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Aurora Color Scheme/Aurora.tmTheme",
"detect_indentation": true,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store",
@spartDev
spartDev / git config
Last active September 22, 2015 07:57
My Git config
[user]
name = You Name
email = your.nam@mail.com
[color]
ui = auto
[alias]
# View the current working tree status using the short format
@spartDev
spartDev / SassMeister-input-HTML.html
Created July 11, 2014 13:03
Generated by SassMeister.com.
<form class="stars-rating">
<fieldset>
<legend>Rate this product</legend>
<input type="radio" id="star5" class="stars-rating__item-input" name="rating" value="5" />
<label for="star5" class="stars-rating__item-label"title="Awesome!">5 stars</label>
<input type="radio" id="star4" class="stars-rating__item-input" name="rating" value="4" />
<label for="star4" class="stars-rating__item-label"title="Nice!">4 stars</label>
<input type="radio" id="star3" class="stars-rating__item-input" name="rating" value="3" />
<label for="star3" class="stars-rating__item-label"title="Bof!">3 stars</label>
<input type="radio" id="star2" class="stars-rating__item-input"name="rating" value="2" />
@spartDev
spartDev / SassMeister-input-HTML.html
Created April 14, 2014 10:59
Generated by SassMeister.com.
<div class="message message--warning">
<p>This is a message warning</p>
<button class="message__button_close">Close</button>
</div>
<div class="message message--success">
<p>This is a message warning</p>
<button class="message__button_close">Close</button>
</div>
<div class="message message--info">
<p>This is a message warning</p>
@spartDev
spartDev / SassMeister-input-HTML.html
Created April 3, 2014 12:50
Generated by SassMeister.com.
<ul class="tab">
<li class="tab__item tab__item--current">Tab</li>
<li class="tab__item">Tab</li>
<li class="tab__item">Tab</li>
<li class="tab__item">Tab</li>
</ul>
@spartDev
spartDev / gulpfile.js
Last active March 15, 2020 14:09
Gulp config
/*---------- Declare gulp variables ----------*/
var gulp = require('gulp'),
jshint = require('gulp-jshint'),
csslint = require('gulp-csslint'),
compass = require('gulp-compass'),
connect = require('gulp-connect'), path = require('path'),
livereload = require('gulp-livereload'),
clean = require('gulp-clean'),
@spartDev
spartDev / Sass-breadcrumb-component.html
Last active August 29, 2015 13:56
Generated by SassMeister.com.
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li>Team</li>
</ol>

Template Components

Used to provide structural templates.

Pattern

t-template-name
t-template-name--modifier-name
t-template-name__subcomponent-name--subcomponent-modifier-name