Skip to content

Commit

Permalink
Use system fonts for body and headings
Browse files Browse the repository at this point in the history
Update CSS to use system fonts for body and heading.

Closes #115
  • Loading branch information
philwebb committed Feb 21, 2024
1 parent 3a84b40 commit 0096146
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"comment-empty-line-before": null,
"no-descending-specificity": null,
"rule-empty-line-before": null,
"value-keyword-case": ["lower", { "ignoreKeywords": ["BlinkMacSystemFont", "Roboto", "Helvetica", "Arial"] }]
}
}
9 changes: 0 additions & 9 deletions src/css/spring/spring-doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,6 @@ mark {
margin: 2rem 0 0;
}

.doc h1,
.doc h2,
.doc h3,
.doc h4,
.doc h5,
.doc h6 {
font-family: var(--font-family-special);
}

/* Style Admonition with Icons and Text */

.doc .admonitionblock td.icon i {
Expand Down
2 changes: 1 addition & 1 deletion src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
--monospace-font-weight-bold: 600;

/* General */
--font-family: "Open Sans", "Helvetica", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family-special: "Metropolis", "Helvetica", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-weight: 400;
--monospace-font-family: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace;
Expand Down

0 comments on commit 0096146

Please sign in to comment.