Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
add: LESS and SASS descriptors; closes #3; and creates new release
Browse files Browse the repository at this point in the history
  • Loading branch information
earaujoassis committed Apr 8, 2014
1 parent d10424f commit 3410a89
Show file tree
Hide file tree
Showing 9 changed files with 375 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ubuntu-fontface",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/earaujoassis/ubuntu-fontface",
"authors": [
"Ewerton Assis <[email protected]>"
Expand Down
107 changes: 107 additions & 0 deletions ubuntu-base.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
/* Ubuntu @font-face kit */

@UbuntuFontsPath: "./fonts";

/* BEGIN Ubuntu Light */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-light-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-light-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-light-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-light-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-light-webfont.svg#ubuntulight') format('svg');
font-weight: 300;
font-style: normal;
}
/* END Ubuntu Light */

/* BEGIN Ubuntu Light Italic */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-light-italic-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-light-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-light-italic-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-light-italic-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-light-italic-webfont.svg#ubuntulight_italic') format('svg');
font-weight: 300;
font-style: italic;
}
/* END Ubuntu Light Italic */

/* BEGIN Ubuntu Regular */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-regular-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-regular-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-regular-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-regular-webfont.svg#ubunturegular') format('svg');
font-weight: normal;
font-style: normal;
}
/* END Ubuntu Regular */

/* BEGIN Ubuntu Regular Italic */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-regular-italic-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-regular-italic-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-regular-italic-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-regular-italic-webfont.svg#ubuntuitalic') format('svg');
font-weight: normal;
font-style: italic;
}
/* END Ubuntu Regular Italic */

/* BEGIN Ubuntu Medium */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-medium-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-medium-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-medium-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-medium-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-medium-webfont.svg#ubuntumedium') format('svg');
font-weight: 500;
font-style: normal;
}
/* END Ubuntu Medium */

/* BEGIN Ubuntu Medium Italic */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-medium-italic-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-medium-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-medium-italic-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-medium-italic-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-medium-italic-webfont.svg#ubuntumedium_italic') format('svg');
font-weight: 500;
font-style: italic;
}
/* END Ubuntu Medium Italic */

/* BEGIN Ubuntu Bold */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-bold-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-bold-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-bold-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-bold-webfont.svg#ubuntubold') format('svg');
font-weight: bold;
font-style: normal;
}
/* END Ubuntu Bold */

/* BEGIN Ubuntu Bold Italic */
@font-face {
font-family: 'Ubuntu';
src: url('@{UbuntuFontsPath}/ubuntu-bold-italic-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-bold-italic-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-bold-italic-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-bold-italic-webfont.svg#ubuntubold_italic') format('svg');
font-weight: bold;
font-style: italic;
}
/* END Ubuntu Bold Italic */
107 changes: 107 additions & 0 deletions ubuntu-base.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
/* Ubuntu @font-face kit */

$UbuntuFontsPath: "./fonts" !default;

/* BEGIN Ubuntu Light */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-light-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-light-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-light-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-light-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-light-webfont.svg#ubuntulight') format('svg');
font-weight: 300;
font-style: normal;
}
/* END Ubuntu Light */

/* BEGIN Ubuntu Light Italic */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.svg#ubuntulight_italic') format('svg');
font-weight: 300;
font-style: italic;
}
/* END Ubuntu Light Italic */

/* BEGIN Ubuntu Regular */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.svg#ubunturegular') format('svg');
font-weight: normal;
font-style: normal;
}
/* END Ubuntu Regular */

/* BEGIN Ubuntu Regular Italic */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.svg#ubuntuitalic') format('svg');
font-weight: normal;
font-style: italic;
}
/* END Ubuntu Regular Italic */

/* BEGIN Ubuntu Medium */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.svg#ubuntumedium') format('svg');
font-weight: 500;
font-style: normal;
}
/* END Ubuntu Medium */

/* BEGIN Ubuntu Medium Italic */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.svg#ubuntumedium_italic') format('svg');
font-weight: 500;
font-style: italic;
}
/* END Ubuntu Medium Italic */

/* BEGIN Ubuntu Bold */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.svg#ubuntubold') format('svg');
font-weight: bold;
font-style: normal;
}
/* END Ubuntu Bold */

/* BEGIN Ubuntu Bold Italic */
@font-face {
font-family: 'Ubuntu';
src: url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.svg#ubuntubold_italic') format('svg');
font-weight: bold;
font-style: italic;
}
/* END Ubuntu Bold Italic */
16 changes: 16 additions & 0 deletions ubuntu-condensed.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Ubuntu Condensed @font-face kit */

@UbuntuFontsPath: "./fonts";

/* BEGIN Ubuntu Condensed */
@font-face {
font-family: 'Ubuntu Condensed';
src: url('@{UbuntuFontsPath}/ubuntu-condensed-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntu-condensed-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntu-condensed-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntu-condensed-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntu-condensed-webfont.svg#ubuntu_condensedregular') format('svg');
font-weight: normal;
font-style: normal;
}
/* END Ubuntu Condensed */
16 changes: 16 additions & 0 deletions ubuntu-condensed.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Ubuntu Condensed @font-face kit */

$UbuntuFontsPath: "./fonts" !default;

/* BEGIN Ubuntu Condensed */
@font-face {
font-family: 'Ubuntu Condensed';
src: url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.svg#ubuntu_condensedregular') format('svg');
font-weight: normal;
font-style: normal;
}
/* END Ubuntu Condensed */
57 changes: 57 additions & 0 deletions ubuntu-mono.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/* Ubuntu Mono @font-face kit */

@UbuntuFontsPath: "./fonts";

/* BEGIN Ubuntu Mono Regular */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('@{UbuntuFontsPath}/ubuntumono-regular-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntumono-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntumono-regular-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntumono-regular-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntumono-regular-webfont.svg#ubuntu_monoregular') format('svg');
font-weight: normal;
font-style: normal;

}
/* END Ubuntu Mono Regular */

/* BEGIN Ubuntu Mono Italic */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('@{UbuntuFontsPath}/ubuntumono-regular-italic-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntumono-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntumono-regular-italic-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntumono-regular-italic-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntumono-regular-italic-webfont.svg#ubuntu_monoitalic') format('svg');
font-weight: normal;
font-style: italic;
}
/* END Ubuntu Mono Italic */

/* BEGIN Ubuntu Mono Bold */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('@{UbuntuFontsPath}/ubuntumono-b-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntumono-b-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntumono-b-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntumono-b-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntumono-b-webfont.svg#ubuntu_monobold') format('svg');
font-weight: bold;
font-style: normal;
}
/* END Ubuntu Mono Bold */

/* BEGIN Ubuntu Mono Bold Italic */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('@{UbuntuFontsPath}/ubuntumono-bold-italic-webfont.eot');
src: url('@{UbuntuFontsPath}/ubuntumono-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('@{UbuntuFontsPath}/ubuntumono-bold-italic-webfont.woff') format('woff'),
url('@{UbuntuFontsPath}/ubuntumono-bold-italic-webfont.ttf') format('truetype'),
url('@{UbuntuFontsPath}/ubuntumono-bold-italic-webfont.svg#ubuntu_monobold_italic') format('svg');
font-weight: bold;
font-style: italic;

}
/* END Ubuntu Mono Bold Italic */
57 changes: 57 additions & 0 deletions ubuntu-mono.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/* Ubuntu Mono @font-face kit */

$UbuntuFontsPath: "./fonts" !default;

/* BEGIN Ubuntu Mono Regular */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.svg#ubuntu_monoregular') format('svg');
font-weight: normal;
font-style: normal;

}
/* END Ubuntu Mono Regular */

/* BEGIN Ubuntu Mono Italic */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.svg#ubuntu_monoitalic') format('svg');
font-weight: normal;
font-style: italic;
}
/* END Ubuntu Mono Italic */

/* BEGIN Ubuntu Mono Bold */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('#{$UbuntuFontsPath}/ubuntumono-b-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntumono-b-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntumono-b-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntumono-b-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntumono-b-webfont.svg#ubuntu_monobold') format('svg');
font-weight: bold;
font-style: normal;
}
/* END Ubuntu Mono Bold */

/* BEGIN Ubuntu Mono Bold Italic */
@font-face {
font-family: 'Ubuntu Monospace';
src: url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.eot');
src: url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.woff') format('woff'),
url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.ttf') format('truetype'),
url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.svg#ubuntu_monobold_italic') format('svg');
font-weight: bold;
font-style: italic;

}
/* END Ubuntu Mono Bold Italic */
7 changes: 7 additions & 0 deletions ubuntu.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* Ubuntu (complete package) @font-face kit */

@UbuntuFontsPath: "./fonts";

@import "./ubuntu-base.less";
@import "./ubuntu-condensed.less";
@import "./ubuntu-mono.less";
7 changes: 7 additions & 0 deletions ubuntu.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* Ubuntu (complete package) @font-face kit */

$UbuntuFontsPath: "./fonts" !default;

@import "./ubuntu-base.scss";
@import "./ubuntu-condensed.scss";
@import "./ubuntu-mono.scss";

0 comments on commit 3410a89

Please sign in to comment.