Skip to content

Commit

Permalink
Use Sass extends to deal with heading sizes, not classes
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Apr 20, 2015
1 parent 4db2339 commit f170211
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions gmusicprocurator/static/scss/typography.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// scss-lint:disable PlaceholderInExtend

$roboto-font-path: 'vendor/roboto-fontface/fonts';

@import '../vendor/roboto-fontface/roboto-fontface';
Expand All @@ -12,3 +14,15 @@ $typl8-font-size: 100;
$fa-font-path: 'vendor/font-awesome/fonts';

@import '../vendor/font-awesome/scss/font-awesome';

h1 {
@extend .typl8-beta;
}

h3 {
@extend .typl8-delta;
}

h4 {
@extend .typl8-epsilon;
}
2 changes: 1 addition & 1 deletion gmusicprocurator/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<![endif]-->

<header>
<h1 class="beta">GMusicProcurator</h1>
<h1>GMusicProcurator</h1>
{% block header %}{% endblock %}
</header>

Expand Down
2 changes: 1 addition & 1 deletion gmusicprocurator/templates/js/playlist.mtpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[% if (typeof(playlist.ownerName) !== 'undefined' || playlist.id == AlpacAudio.QUEUE_ID) { %]
<section id="playlist-info">
[% if (!!playlist.name) { %]
<h3 class="delta name">[[ playlist.name ]]</h3>
<h3 class="name">[[ playlist.name ]]</h3>
[% } /* playlist.name */ %]
[% if (playlist.id != AlpacAudio.QUEUE_ID) { %]
<ul class="actions">
Expand Down

0 comments on commit f170211

Please sign in to comment.