Skip to content

feat(docs): dark theme background #250

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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