Skip to content

Commit

Permalink
feat(docs): dark theme background (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Margar1ta authored and pimenovoleg committed Oct 25, 2019
1 parent afb93ee commit 0f61836
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/docs/src/app/components/anchors/_anchors-theme.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
@mixin mc-anchors-theme($theme) {
$foreground: map-get($theme, foreground);
$background: map-get($theme, background);
$background-color: mc-color($background, background);
$text: mc-color($foreground, text);
$primary: map_get($theme, primary);
$primary_500: mc-color($primary, 500);
$shadow: mc-color($foreground, less-contrast-text);

.anchors-menu {
background-color: $background-color;
}

.anchors-menu__list-element {
color: $text;

Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/styles/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ html {

body {
display: flex;
height: 100vh;
min-height: 100vh;
font-family: map-get(map-get($fonts, 'base'), font-family);
margin: 0; // 1
}
Expand Down

0 comments on commit 0f61836

Please sign in to comment.