Skip to content

Commit f01a814

Browse files
committed
Use black base color in css var instead of just coloring body text, and fix header colors
1 parent a56d2f2 commit f01a814

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

opendata-assets/src/scss/common.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
@use "./variables/suomifidesign" as tokens;
22
@import 'variables';
33

4-
5-
body {
6-
color: tokens.$fi-color-black-base;
4+
:root {
5+
--bs-body-color: #{tokens.$fi-color-black-base};
76
}
87

98
h1,
@@ -12,7 +11,6 @@ h3,
1211
h4,
1312
h5,
1413
h6 {
15-
color: tokens.$fi-color-black-base;
1614
text-rendering: optimizelegibility;
1715
}
1816

0 commit comments

Comments
 (0)