Skip to content

Commit

Permalink
select better font fallbacks in the HTML documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cfillion committed Oct 18, 2024
1 parent 6e10e46 commit 575d5d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/genbinding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@ static void humanBinding(std::ostream &stream)
<head>
<meta charset="utf-8"/>
<title>ReaImGui Documentation</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/web/hack-subset.css"/>
<style>
body {
background-color: #0D0D0D;
Expand All @@ -1097,8 +1098,7 @@ static void humanBinding(std::ostream &stream)
overflow-anchor: none;
}
body, pre, code {
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
Liberation Mono, monospace;
font-family: Menlo, "DejaVu Sans Mono", Hack, Consolas, monospace;
}
aside {
background-color: #262626; /* Grey15 */
Expand Down

0 comments on commit 575d5d2

Please sign in to comment.