Skip to content

Commit

Permalink
fix font
Browse files Browse the repository at this point in the history
  • Loading branch information
DidierRLopes committed Jan 12, 2025
1 parent d3edb2e commit 5c54dbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ const config = {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: 'https://github.com/DidierRLopes/my-website/tree/main/',
typography: {
fontFamily: 'Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif',
},
},
blog: {
blogTitle: 'Blog',
Expand Down
8 changes: 1 addition & 7 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
--ifm-color-primary-lightest: #0088CC;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-font-size-base: 18px;
--ifm-font-family-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
--ifm-heading-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
--ifm-font-size-base: 18px;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand All @@ -39,12 +39,6 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

* {
font-family: "Inter", monospace !important;
}

h1 {
font-size: 2rem; /* Adjust this value to your preference */
}
Expand Down

0 comments on commit 5c54dbb

Please sign in to comment.