Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from rbCAS/customizable-font
Browse files Browse the repository at this point in the history
Allow custom font, don't include Source Sans Pro if not required
  • Loading branch information
calmyournerves committed Jun 27, 2013
2 parents 771916e + 782c9e5 commit 911955b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/assets/stylesheets/casino.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,600);
@import "casino/normalize";
@import "casino/icons";

Expand All @@ -13,7 +12,13 @@ $logoRetina: "[email protected]" !default;
$logoWidth: 146px !default;
$logoHeight: 34px !default;

$font: "Source Sans Pro" !default;

/// GOOGLE FONT ///

@if $font == "Source Sans Pro" {
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,600);
}

/// GLOBAL STUFF ///
* {
Expand All @@ -24,7 +29,7 @@ $logoHeight: 34px !default;
body {
background: #f6f6f5;
color: #222222;
font-family: 'Source Sans Pro', sans-serif;
font-family: $font, sans-serif;
font-size: 15px;
font-weight: 300;
}
Expand Down

0 comments on commit 911955b

Please sign in to comment.