Last active
August 29, 2015 14:05
-
-
Save EdCharbeneau/d2d0f509fa76dd74bbc9 to your computer and use it in GitHub Desktop.
How To Style Guide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Primary color | |
// Use when giving an element a high visual importance, or indicates a primary action | |
background-color: $primary-color; // #428bca; | |
background-color: $primary-hover-color; // white; | |
color: $primary-text-color; // #3071a9 | |
//Secondary color | |
// Use when giving an element a medium visual importance, informational but not necessary action | |
background-color: $secondary-color; // #5bc0de; | |
color: $secondary-text-color; // white | |
background-color: $secondary-hover-color; // #31b0d5; | |
//Hero color | |
// Use when identifying highest level header elements, use sparingly | |
background-color: $hero-color; // #6f5499; | |
color: $hero-text-color; // white; | |
//Dark color | |
// Use when identifying footer level elements, use sparingly | |
background-color: $dark-color; // #333; | |
color: $dark-color; // white; | |
//Alerts | |
// Use sparingly | |
// Use when extreme caution should be taken, identifying a dangerous destructive or potentially negative action; or an action has failed | |
background-color: $alert-danger-color; // #f2dede; | |
color: $alert-danger-text-color; // #b94a48; | |
// Use when caution should be taken | |
background-color: $alert-warn-color; // #fcf8e3; | |
color: $alert-warn-text-color; // #c09853; | |
// Use when a postitve action will be taken, identifying save or create actions, or to indicate a succesful action | |
// Use sparingly | |
background-color: $alert-success-color; // #468847; | |
color: $alert-success-text-color; // #dff0d8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>h1 Header</h1> | |
<h2>h2 Header</h2> | |
<h3>h3 Header</h3> | |
<h4>h4 Header</h4> | |
<h5>h5 Header</h5> | |
<h6>h6 Header</h6> | |
<p>...</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- unordered --> | |
<ul> | |
<li>...</li> | |
</ul> | |
<!-- ordered --> | |
<ol> | |
<li>...</li> | |
</ol> | |
<!-- unstyled --> | |
<ul class="list-unstyled"></ul></ul> | |
<li>...</li> | |
</ul> | |
<!-- inline --> | |
<ul class="list-inline"></ul></ul> | |
<li>...</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="/path/to/widget.min.js"></script> | |
<script> | |
(function(){ | |
widget.init(); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment