Skip to content

Commit 519b6fc

Browse files
authored
fix: respect colors dict in metropolis theme (#133)
1 parent b0457d7 commit 519b6fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/metropolis.typ

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@
174174
stack(
175175
dir: ttb,
176176
spacing: 1em,
177-
utils.display-current-heading(level: level, numbered: numbered),
177+
text(self.colors.neutral-darkest, utils.display-current-heading(level: level, numbered: numbered)),
178178
block(
179179
height: 2pt,
180180
width: 100%,
181181
spacing: 0pt,
182182
components.progress-bar(height: 2pt, self.colors.primary, self.colors.primary-light),
183183
),
184184
)
185-
body
185+
text(self.colors.neutral-dark, body)
186186
}
187187
self = utils.merge-dicts(
188188
self,

0 commit comments

Comments
 (0)