A local-first personal finance app
Docs - fonts (#7477)
Michael Clark78dad7c91be8
diff --git a/packages/docs/src/css/custom.css b/packages/docs/src/css/custom.cssindex 190d203c1e..81a5cd614c 100644--- a/packages/docs/src/css/custom.css+++ b/packages/docs/src/css/custom.css@@ -4,20 +4,19 @@* work well for content-centric websites.*/-@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Inter:[email protected]&display=swap');-h1,.serif-header {- font-family:- Libre Baskerville,- serif;+ font-family: var(--ifm-font-family-base);text-wrap: balance;}+h1 {font-size: 2.5rem;}+.serif-header {font-weight: normal;+ font-size: 1.75rem;}/* You can override the default Infima variables here. */@@ -31,6 +30,18 @@ h1 {--ifm-color-primary-lightest: var(--ifm-color-primary);--ifm-code-font-size: 95%;--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);++ --ifm-font-family-base:+ 'Inter Variable', -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto',+ 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',+ 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;++ --ifm-font-weight-light: 400;+ --ifm-font-weight-normal: 500;+ --ifm-font-weight-semibold: 600;+ --ifm-font-weight-bold: 800;++ font-weight: var(--ifm-font-weight-normal);}/* For readability concerns, you should choose a lighter palette in dark mode. */diff --git a/packages/docs/src/pages/index.jsx b/packages/docs/src/pages/index.jsxindex 73367215e1..f696211b11 100644--- a/packages/docs/src/pages/index.jsx+++ b/packages/docs/src/pages/index.jsx@@ -20,7 +20,7 @@ export default function Hello() {<img alt="" src="/img/homepage/hero-bg.svg" className={classes.heroBg} /><div className={`${classes.main} ${classes.container}`}>- <h1>Your Finances — made simple</h1>+ <h1 className={classes.heroHeading}>Your Finances — made simple</h1><p className={classes.heroText}>Actual Budget is a super fast and privacy-focused app for managingyour finances. At its heart is the well proven and much loved Envelopediff --git a/packages/docs/src/pages/index.module.css b/packages/docs/src/pages/index.module.cssindex 57ae3ecb71..3e725ede72 100644--- a/packages/docs/src/pages/index.module.css+++ b/packages/docs/src/pages/index.module.css@@ -52,6 +52,10 @@height: 350px;}+.heroHeading {+ font-size: 3rem;+}+.heroImage {position: relative;max-width: 100%;