Skip to content

Commit

Permalink
Update panel styles to use spacing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ediblecode committed Apr 28, 2017
1 parent ce855d5 commit ebf7af4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/stylesheets/components/_components-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,19 @@
/// @since 0.1.0
.panel {
background: $colour-panel-light;
padding: 1em;
margin: em($spacing-medium 0 $spacing-large);
padding: em($spacing-medium);

&--dark {
background: $colour-panel-dark;
color: $colour-text-reverse;
}

:first-child {
margin-top: 0;
}

:last-child {
margin-bottom: 0;
}
}

0 comments on commit ebf7af4

Please sign in to comment.