Skip to content

Commit

Permalink
small tweaks to the vf-box defaults (#1265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Robson authored Nov 27, 2020
1 parent a6e14b2 commit f6f5c05
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions components/vf-box/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 2.3.0

* updates font size for title/heading
* makes sure the text is black inside the `--easy` variant.

### 2.2.0

* adds internal padding option back
Expand Down
8 changes: 7 additions & 1 deletion components/vf-box/vf-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
}

.vf-box__heading {
@include set-type(text-heading--4);
// @include set-type(text-heading--4); // replaced for 2020 homepage updates
@include set-type(text-heading--3);
}

.vf-box__link {
Expand Down Expand Up @@ -106,6 +107,11 @@
--box-background-color: #{set-ui-color(vf-ui-color--white)};

border-bottom: 4px solid;

// added for 2020 homepage updates
.vf-box__text {
color: #{set-ui-color(vf-ui-color--black)};
}
}

.vf-box--normal {
Expand Down

0 comments on commit f6f5c05

Please sign in to comment.