Skip to content

Commit 025ea77

Browse files
authored
feat: add default color for every element based on current color (#162)
* feat: add default color for every element based on current color
1 parent 5083e91 commit 025ea77

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scss/_init.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,12 @@
2222
);
2323
}
2424
}
25+
26+
// Make sure every elements has the current color from container above
27+
body {
28+
color: var(--db-current-color, $db-colors-neutral-on-bg-enabled);
29+
}
30+
31+
a {
32+
color: inherit;
33+
}

0 commit comments

Comments
 (0)