Skip to content

Commit f2337a1

Browse files
authored
Merge pull request #48 from treehouse/TH-656-replace-gotham-rounded-with-quicksand
[DONE] TH-656: Replace Gotham Rounded with Quicksand font
2 parents e3043d9 + b56485f commit f2337a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+47
-572
lines changed

TODO.md

Lines changed: 1 addition & 1 deletion

_includes/head.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<link rel="icon" href="favicon.ico" type="image/x-icon">
66
<meta name="description" content="">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<link rel="preconnect" href="https://cdn.fonts.net">
9-
<link href="https://cdn.fonts.net/kit/39d0ab8f-c2d6-48ee-8a04-732fec352d95/39d0ab8f-c2d6-48ee-8a04-732fec352d95.css" rel="stylesheet" />
8+
<link rel="preconnect" href="https://fonts.googleapis.com">
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10+
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap" rel="stylesheet">
1011
<link rel="stylesheet" href="{{ site.baseurl }}/css/styleguide.css">
1112
</head>

_sass/leap/_global.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ html
55

66
body
77
font-size: 1rem
8-
font-family: $gotham
8+
font-family: $quicksand
99
font-style: normal
10-
font-weight: 400
10+
font-weight: $normal

_sass/leap/_variables.scss

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,16 @@ $text-size: (
157157
6: 0.875rem
158158
);
159159

160-
$gotham: "GothamRoundedMedium", "Helvetica", Helvetica, Arial, sans-serif;
161-
$bold: 500;
162-
163-
160+
// Fonts
161+
$sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
162+
$quicksand: "Quicksand", $sans-serif;
163+
164+
// Font Weights
165+
$light: 300;
166+
$normal: 400;
167+
$medium: 500;
168+
$semibold: 600;
169+
$bold: 700;
164170

165171
// Global Border Variables
166172
$border-color-dark: #b7c0c7;

_sass/leap/atoms/_button.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
color: brand-color(green)
88
cursor: pointer
99
display: inline-block
10-
font-family: $gotham
10+
font-family: $quicksand
1111
font-size: text-size(5)
1212
font-weight: $bold
1313
height: 40px

_sass/leap/atoms/_forms.sass

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $form-states: success, warning, error
7070
// Helper Text
7171
&-helper
7272
color: text-color(light)
73-
font-weight: normal
73+
font-weight: $normal
7474
font-size: .9rem
7575
margin-top: .5rem
7676

@@ -166,7 +166,7 @@ $form-states: success, warning, error
166166
z-index: -1
167167
&+.form-label
168168
display: block
169-
font-weight: normal
169+
font-weight: $normal
170170
color: $form-color-inactive
171171
padding: .25rem 0
172172
margin-left: 25px !important
@@ -282,7 +282,7 @@ $form-states: success, warning, error
282282
display: block
283283
padding: 1em
284284
margin-top: 0px
285-
font-weight: 500
285+
font-weight: $medium
286286
border-bottom-left-radius: 4px
287287
border-bottom-right-radius: 4px
288288

@@ -322,7 +322,7 @@ $form-states: success, warning, error
322322
position: relative
323323
padding: 1em
324324
margin-top: 0px
325-
font-weight: 500
325+
font-weight: $medium
326326
border-radius: 4px
327327
&:after
328328
bottom: 100%
@@ -414,7 +414,7 @@ $form-states: success, warning, error
414414
// Helper Text
415415
&-helper
416416
color: #fff
417-
font-weight: normal
417+
font-weight: $normal
418418
font-size: .9rem
419419
margin-top: .5rem
420420

@@ -506,7 +506,7 @@ $form-states: success, warning, error
506506
z-index: -1
507507
&+.form-label
508508
display: block
509-
font-weight: normal
509+
font-weight: $normal
510510
color: #fff
511511
padding: .25rem 0
512512
margin-left: 25px !important

_sass/leap/atoms/_table.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ table
33
width: 100%
44
border-collapse: collapse
55
th
6-
font-weight: 600
6+
font-weight: $semibold
77
th,
88
td
99
text-align: left

_sass/leap/atoms/_typography.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ p
7272
margin: 0
7373

7474
.regular
75-
font-weight: normal !important
75+
font-weight: $normal !important
7676

7777
strong,
7878
.bold

_sass/styleguide/_theme.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,6 @@ body
205205
&-link
206206
font-size: text-size(6)
207207
&:focus
208-
font-weight: bold
208+
font-weight: $bold
209209
&--active
210-
font-weight: bold
210+
font-weight: $bold

css/leap.css

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)