putting variables in other file

pull/88/head
Erik Flowers 9 years ago
parent f2667f7323
commit 2e53f34540

@ -24,14 +24,14 @@
* Twitter: http://twitter.com/Erik_UX * Twitter: http://twitter.com/Erik_UX
*/ */
@font-face { @font-face {
font-family: "weathericons"; font-family: "weatherasdfasdficons";
src: url("../font/weathericons-regular-webfont.eot"); src: url("../font/weatherasdfasdficons-regular-webfont.eot");
src: url("../font/weathericons-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../font/weathericons-regular-webfont.woff") format("woff"), url("../font/weathericons-regular-webfont.ttf") format("truetype"), url("../font/weathericons-regular-webfont.svg#weathericons-regular-webfontRg") format("svg"); src: url("../font/weatherasdfasdficons-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../font/weatherasdfasdficons-regular-webfont.woff") format("woff"), url("../font/weatherasdfasdficons-regular-webfont.ttf") format("truetype"), url("../font/weatherasdfasdficons-regular-webfont.svg#weathericons-regular-webfontRg") format("svg");
font-weight: normal; font-weight: normal;
font-style: normal; } font-style: normal; }
.wi { .wi {
display: inline-block; display: inline-block;
font-family: "weathericons"; font-family: "weatherasdfasdficons";
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;

@ -1,3 +1,9 @@
// Base Variables
@wi-path: "../font";
@wi-version: "2.0";
@wi-css-prefix: wi;
@wi-font-family: weathericons;
@font-face { @font-face {
font-family: '@{wi-font-family}'; font-family: '@{wi-font-family}';
src: url('@{wi-path}/@{wi-font-family}-regular-webfont.eot'); src: url('@{wi-path}/@{wi-font-family}-regular-webfont.eot');

@ -1,11 +1,3 @@
// Base Variables
@wi-path: "../font";
@wi-version: "2.0";
@wi-css-prefix: wi;
@wi-font-family: weathericons;
//Glyph Names
@wi-icon-glyphs: @wi-icon-glyphs:
"_reserved_" "\f049", "_reserved_" "\f049",
"alien" "\f075", "alien" "\f075",

@ -1,3 +1,9 @@
//Base Variables
$wi-path: "../font";
$wi-version: "2.0";
$wi-css-prefix: wi;
$wi-font-family: weatherasdfasdficons;
@font-face { @font-face {
font-family: '#{$wi-font-family}'; font-family: '#{$wi-font-family}';
src: url('#{$wi-path}/#{$wi-font-family}-regular-webfont.eot'); src: url('#{$wi-path}/#{$wi-font-family}-regular-webfont.eot');

@ -1,11 +1,3 @@
//Base Variables
$wi-path: "../font";
$wi-version: "2.0";
$wi-css-prefix: wi;
$wi-font-family: weathericons;
//Glyph Names
$wi-icon-glyphs: ( $wi-icon-glyphs: (
"day-cloudy-gusts": "\f000", "day-cloudy-gusts": "\f000",
"day-cloudy-windy": "\f001", "day-cloudy-windy": "\f001",

Loading…
Cancel
Save