Skip to content

Instantly share code, notes, and snippets.

@andrewdc
Created April 3, 2014 17:23
Show Gist options
  • Save andrewdc/9958821 to your computer and use it in GitHub Desktop.
Save andrewdc/9958821 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
$properties: (
font: (
header: '"Ubuntu", sans-serif',
body: '"Droid Sans", sans-serif',
code: '"Source Code Pro", sans-serif'
),
color: (
light: #fff200,
dark: #00543d,
theme-text: hsl(0, 100%, 100%)
),
images: (
background: url('images/fondoMSC1.jpg'),
logo: url('images/subway-logo.png'),
login: url("images/subway_marquee.jpg"),
login-brand: none,
hero: url('images/home-hero.jpg')
)
);
@function theme($property, $value) {
@return map-get(map-get($properties, $property), $value);
}
$color-btn--success:theme(color, dark);
h1, h2, h3, h4, h5, h6 {
color:theme(color, dark);
font:theme(font, header);
}
h1, h2, h3, h4, h5, h6 {
color: #00543d;
font: '"Ubuntu", sans-serif';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment