Skip to content

Commit

Permalink
Merge pull request home-assistant#271 from simensen/ConfigureFontFami…
Browse files Browse the repository at this point in the history
…lyForSubtitle

Make font-family for subtitle configurable.
  • Loading branch information
fhemberger committed Dec 10, 2011
2 parents a34bdf2 + 9c700f3 commit e8ee521
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .themes/classic/sass/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ $serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default;
$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default;
$heading-font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif !default;
$header-title-font-family: $heading-font-family !default;
$header-subtitle-font-family: $heading-font-family !default;

// Fonts
.heading {
Expand All @@ -21,6 +22,9 @@ body > header h1 {
line-height: 1.2em;
margin-bottom: 0.6667em;
}
body > header h2 {
font-family: $header-subtitle-font-family;
}

body {
line-height: 1.5em;
Expand Down
1 change: 1 addition & 0 deletions .themes/classic/sass/custom/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
//$mono: "Courier", monospace;
//$heading-font-family: "Verdana", sans-serif;
//$header-title-font-family: "Futura", sans-serif;
//$header-subtitle-font-family: "Futura", sans-serif;

0 comments on commit e8ee521

Please sign in to comment.