Skip to content

Commit

Permalink
feat: add default color for every element based on current color (#162)
Browse files Browse the repository at this point in the history
* feat: add default color for every element based on current color
  • Loading branch information
nmerget authored Nov 23, 2022
1 parent 5083e91 commit 025ea77
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scss/_init.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@
);
}
}

// Make sure every elements has the current color from container above
body {
color: var(--db-current-color, $db-colors-neutral-on-bg-enabled);
}

a {
color: inherit;
}

0 comments on commit 025ea77

Please sign in to comment.