Skip to content

Commit

Permalink
Bump font size 14 to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
matthillco committed Apr 22, 2024
1 parent 621b5f7 commit 325e37e
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/component_guide/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ $gem-guide-border-width: 1px;
}

&::before {
@include govuk-font($size: 14);
@include govuk-font($size: 16);
content: attr(data-content);
position: absolute;
top: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

@include govuk-media-query($media-type: print) {
.gem-c-button {
@include govuk-font(14);
@include govuk-font(16);
display: inline-block;
padding: govuk-spacing(1);
border: solid 1px govuk-colour("black");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
table.financial-data {
.numeric {
text-align: right;
@include govuk-font(14, $weight: regular, $tabular: true);
@include govuk-font(16, $weight: regular, $tabular: true);
}

// make all elements inside thead look the same
Expand All @@ -82,10 +82,10 @@

thead th,
thead td {
@include govuk-font(14, $weight: bold, $tabular: true);
@include govuk-font(16, $weight: bold, $tabular: true);

&.numeric {
@include govuk-font(14, $weight: bold, $tabular: true);
@include govuk-font(16, $weight: bold, $tabular: true);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

.accessibility-warning {
h2 {
@include govuk-font(14);
@include govuk-font(16);
}

.toggler {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
padding: 2px 5px 0;
margin-left: 3px;
vertical-align: middle;
@include govuk-font($size: 14, $weight: "bold");
@include govuk-font($size: 16, $weight: "bold");
}

.gem-c-environment-tag--production {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
}

.gem-c-option-select__selected-counter {
@include govuk-font($size: 14);
@include govuk-font($size: 16);
color: $govuk-text-colour;
margin-top: 3px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
}

.metadata {
@include govuk-font($size: 14);
@include govuk-font($size: 16);
}

.url {
Expand Down Expand Up @@ -93,12 +93,12 @@
}

.opendocument-help {
@include govuk-font($size: 14);
@include govuk-font($size: 16);
}

.accessibility-warning {
h2 {
@include govuk-font($size: 14);
@include govuk-font($size: 16);
margin: 0;
}
word-break: break-word;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.fraction {
sup,
sub {
@include govuk-font($size: 14);
@include govuk-font($size: 16);
}

img {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}

figcaption {
@include govuk-font($size: 14);
@include govuk-font($size: 16);
}
}
}

0 comments on commit 325e37e

Please sign in to comment.