Skip to content

Instantly share code, notes, and snippets.

View starryeyez024's full-sized avatar
🏠
Working from home

Kendall Totten starryeyez024

🏠
Working from home
View GitHub Profile
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Last active August 29, 2015 14:22
Generated by SassMeister.com.
<div class="region-content">
<h2>Hello World!
</h2>
<div id="block-block-1" class="block">
Lorem Ipsum Uno <a href="http://www.redhat.com">Click me</a>
</div>
<div id="block-block-5" class="block">
Lorem Ipsum Dos <a href="http://www.redhat.com">Click me</a>
</div>
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Created May 29, 2015 15:56
Generated by SassMeister.com.
<div class="region-content">
<h2>Hello World!
</h2>
<div id="block-block-1" class="block">
Lorem Ipsum Uno <a href="http://www.redhat.com">Click me</a>
</div>
<div id="block-block-5" class="block">
Lorem Ipsum Dos <a href="http://www.redhat.com">Click me</a>
</div>
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Created May 29, 2015 15:57
Generated by SassMeister.com.
<div class="region-content">
<h2>Hello World!
</h2>
<div id="block-block-1" class="block">
Lorem Ipsum Uno <a href="http://www.redhat.com">Click me</a>
</div>
<div id="block-block-5" class="block">
Lorem Ipsum Dos <a href="http://www.redhat.com">Click me</a>
</div>
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Created May 29, 2015 15:59
Generated by SassMeister.com.
<div class="region-content">
<h2>Hello World!
</h2>
<div id="block-block-1" class="block">
Lorem Ipsum Uno <a href="http://www.redhat.com">Click me</a>
</div>
<div id="block-block-5" class="block">
Lorem Ipsum Dos <a href="http://www.redhat.com">Click me</a>
</div>
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Created May 29, 2015 15:59
Generated by SassMeister.com.
<div class="region-content">
<h2>Hello World!
</h2>
<div id="block-block-1" class="block">
Lorem Ipsum Uno <a href="http://www.redhat.com">Click me</a>
</div>
<div id="block-block-5" class="block">
Lorem Ipsum Dos <a href="http://www.redhat.com">Click me</a>
</div>
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Created June 24, 2015 14:56
Generated by SassMeister.com.
<h1>Theming UI Components</h1>
<p>Each component needs to be aware that it may be used within a colour scheme so it needs to own the process
of creating the various classes required to support different uses. Sometimes semantic classes are the way forward,
but perhaps we should just allow the use of names to describe the particular style (think Solarized & Darcula, not Primary, Secondary, Success, etc.)</p>
<p>Here we create a themes map, which contains the colour definitions for a variety of named themes.
This makes it easier to re-use a colour scheme across components and removes the cases where
two component modifier classes (with different names) confusingly implement the same colour scheme.
e.g. no <code>.btn--primary</code> and <code>.panel--brand</code> which actually use the same colours</p>
<p>Read more about this approach in this blog post - <a href="http://www.ian-thomas.net/a-sassy-approach-to-theming-components/" class="link-t-sassmeister-dark">A Sassy Approach To Theming Components</a></p>
@starryeyez024
starryeyez024 / SassMeister-input.html
Last active August 29, 2015 14:23
Set theme in data attributes
<h1>Theming UI Components</h1>
<p>Each component needs to be aware that it may be used within a colour scheme so it needs to own the process
of creating the various classes required to support different uses. Sometimes semantic classes are the way forward,
but perhaps we should just allow the use of names to describe the particular style (think Solarized & Darcula, not Primary, Secondary, Success, etc.)</p>
<p>Here we create a themes map, which contains the colour definitions for a variety of named themes.
This makes it easier to re-use a colour scheme across components and removes the cases where
two component modifier classes (with different names) confusingly implement the same colour scheme.
e.g. no <code>.btn--primary</code> and <code>.panel--brand</code> which actually use the same colours</p>
<p>Read more about this approach in this blog post - <a href="http://www.ian-thomas.net/a-sassy-approach-to-theming-components/" class="link-t-sassmeister-dark">A Sassy Approach To Theming Components</a></p>
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Created November 19, 2015 20:54
Generated by SassMeister.com.
<div class="test">
<ul>
<li>Here</li>
<li>There</li>
<li>Everywhere</li>
</ul>
</div>
@starryeyez024
starryeyez024 / SassMeister-input.scss
Created January 15, 2016 22:09
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
@import "breakpoint";
@import "susy";
// Spacing Variables
@starryeyez024
starryeyez024 / SassMeister-input-HTML.html
Created January 15, 2016 22:11
Generated by SassMeister.com.
<h4>data-ux-layout-special="12, 6 6, 8 4"</h4>
<div data-ux-layout-special="12, 6 6, 8 4">
<div class="component">Component</div>
<div class="component">Component</div>
</div>