Skip to content

Commit

Permalink
Variablize the bold font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyson Gach committed Jan 19, 2016
1 parent 2b196f9 commit 1f81938
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/administrate/base/_forms.scss
Expand Up @@ -6,14 +6,14 @@ fieldset {
}

legend {
font-weight: 600;
font-weight: $bold-font-weight;
margin-bottom: $small-spacing / 2;
padding: 0;
}

label {
display: block;
font-weight: 600;
font-weight: $bold-font-weight;
}

input,
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/administrate/base/_lists.scss
Expand Up @@ -9,7 +9,7 @@ dl {
margin-bottom: $small-spacing;

dt {
font-weight: 600;
font-weight: $bold-font-weight;
margin-top: $small-spacing;
}

Expand Down
Expand Up @@ -10,7 +10,7 @@
font-family: $base-font-family;
font-size: $base-font-size;
-webkit-font-smoothing: antialiased;
font-weight: 600;
font-weight: $bold-font-weight;
line-height: 1;
padding: $small-spacing $base-spacing;
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/administrate/components/_cells.scss
Expand Up @@ -25,7 +25,7 @@

.cell-label--asc,
.cell-label--desc {
font-weight: 600;
font-weight: $bold-font-weight;
}

.cell-label__sort-indicator {
Expand Down
Expand Up @@ -12,6 +12,6 @@
}

.current {
font-weight: 600;
font-weight: $bold-font-weight;
}
}
Expand Up @@ -18,5 +18,5 @@

.sidebar__link--active {
color: $blue;
font-weight: 600;
font-weight: $bold-font-weight;
}
4 changes: 2 additions & 2 deletions app/assets/stylesheets/administrate/library/_variables.scss
Expand Up @@ -4,10 +4,10 @@ $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
sans-serif;
$heading-font-family: $base-font-family;

// Font Sizes
$base-font-size: 1em;

// Line height
$bold-font-weight: 600;

$base-line-height: 1.5;
$heading-line-height: 1.2;

Expand Down

0 comments on commit 1f81938

Please sign in to comment.