Skip to content

Commit b64e4de

Browse files
committed
new variables for headings added $font_heading_margin_top: 1em
1 parent 664e657 commit b64e4de

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

dev/base/buttons.sass

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
@if $global-rounded
88
border-radius : $buttons-radius
99
color : $color-white
10-
appearance : button-bevel
11-
-webkit-appearance : button-bevel
1210
outline: none
1311
border: none
1412
text :

dev/base/text.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ body,html
2222
size : $size
2323
family : $font_heading
2424
margin: 0
25-
top: 1.61rem
25+
top: $font_heading_margin_top
2626
bottom: .2em
2727
font-weight : 400
28+
line-height: $font_heading_line_height
2829
// Create main text
2930
p
3031
font :

dev/variables.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ $font-main : Arial, -apple-system, system-ui
4141
// Size
4242
$font-base-size : 16px
4343
$font-heading-sizes : ( h1 : 2.5rem, h2 : 2.1rem, h3 : 1.8rem, h4 : 1.5rem, h5 : 1.2rem, h6 : 1rem )
44+
$font_heading_margin_top: 1em
45+
$font_heading_line_height: 1.61
4446
$font-main-size : 1rem
4547
// Color
4648
$font-heading-color : $color-black

0 commit comments

Comments
 (0)