Skip to content

Commit

Permalink
Rename $fontFamily sass variable to camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinesalib committed May 25, 2020
1 parent 145333d commit fa69e3f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/javascript/components/DialogMessage/DialogMessage.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@import "../../variables/sizes"

%message-shared
font-family: $font-family
font-family: $fontFamily
border-radius: 2px
top: auto
bottom: 10px
Expand Down
6 changes: 3 additions & 3 deletions app/javascript/components/Navigation/Navigation.sass
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
width: 200px

.title
font-family: $font-family
font-family: $fontFamily
font-style: normal
font-weight: 500
font-size: 20px
Expand All @@ -39,7 +39,7 @@
width: 240px

.link
font-family: $font-family
font-family: $fontFamily
font-style: normal
font-weight: normal
font-size: 18px
Expand All @@ -60,7 +60,7 @@
width: 200px

.loginButton
font-family: $font-family
font-family: $fontFamily
font-style: normal
line-height: 23px
color: $linkColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
transition: transform 0.3s ease-out

.userProperties
font-family: $font-family
font-family: $fontFamily
height: 100px
display: flex
flex-direction: column
Expand All @@ -38,7 +38,7 @@

.link
padding: 10px 24px
font-family: $font-family
font-family: $fontFamily
text-decoration: none
font-size: 18px
color: $darkFontColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
text-align: left
list-style-type: none
padding: 12px 30px
font-family: $font-family
font-family: $fontFamily
color: $darkFontColor
text-decoration: none
display: block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
flex-direction: column

.label
font-family: $font-family
font-family: $fontFamily
font-style: normal
font-weight: 500
font-size: 16px
Expand All @@ -33,7 +33,7 @@
outline: $errorColor auto 5px

.textError
font-family: $font-family
font-family: $fontFamily
font-style: normal
font-weight: 500
font-size: 12px
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/containers/HomePage/HomePage.sass
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
justify-content: space-between

.texts
font-family: $font-family
font-family: $fontFamily
color: white
position: absolute
left: 0
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/containers/UserSettings/UserSettings.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.UserSettings
.configurationMenu
font-family: $font-family
font-family: $fontFamily
font-weight: 500
font-size: 18px
line-height: 21px
Expand Down Expand Up @@ -37,7 +37,7 @@
border-bottom: 1.2px solid $grey

.title
font-family: $font-family
font-family: $fontFamily
font-style: normal
font-weight: normal
font-size: 20px
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/variables/fonts.sass
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$font-family: roboto, sans-serif
$fontFamily: roboto, sans-serif

0 comments on commit fa69e3f

Please sign in to comment.