diff --git a/public/css/theme-bthree-dark.css b/public/css/theme-bthree-dark.css index 5c7075c..ddd2d0e 100644 --- a/public/css/theme-bthree-dark.css +++ b/public/css/theme-bthree-dark.css @@ -1,6 +1,19 @@ /* bthree dark theme */ +@font-face { + font-family: "Heebo"; + src: url("../fonts/Heebo-VariableFont_wght.ttf") format("truetype-variations"); + font-weight: normal; + font-variation-settings: "wght" var(--font-weight); + font-style: normal +} + :root { + /* Override fonts. */ + --fonts-override: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + --font-weight-thin: 300; + --font-weight-bold: 600; + --is-dark-theme: true; /* Spacing. */ @@ -218,6 +231,17 @@ --color-footer-links: var(--color-text-light-1); } +/* Strong/bold elements. */ +strong, b, h1, h2, h3, h4, h5, h6, +.issue.list>.item .issue-item-top-row { + font-weight: normal !important; + font-variation-settings: "wght" var(--font-weight-bold); +} + +.repository.view.issue .title .issue-title h1 { + font-variation-settings: "wght" var(--font-weight-thin); +} + /* Custom styling of individual elements. * Using !important is bad, but unfortunately gitea does it already in _base.less. */ diff --git a/public/fonts/Heebo-VariableFont_wght.ttf b/public/fonts/Heebo-VariableFont_wght.ttf new file mode 100755 index 0000000..017130f Binary files /dev/null and b/public/fonts/Heebo-VariableFont_wght.ttf differ