Skip to content

Commit

Permalink
Fix: Properly scope typography CSS (#207)
Browse files Browse the repository at this point in the history
Scope typography rules from Box UI to preview HTML.
  • Loading branch information
tonyjin authored Jul 11, 2017
1 parent 9e042c1 commit 816ed15
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/lib/_boxui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,22 @@
//------------------------------------------------------------------------------
// Typography
//------------------------------------------------------------------------------
html,
a {
.bp,
.bp-header,
.bp a,
.bp-header a {
text-shadow: 1px 1px 1px fade-out($white, .996);
}

body,
button {
.bp,
.bp-header,
.bp button,
.bp-header button {
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

li {
.bp li,
.bp-header li {
margin: 0;
padding: 0;
}
Expand Down

0 comments on commit 816ed15

Please sign in to comment.