From 78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d Mon Sep 17 00:00:00 2001 From: Konstantin Chernenko Date: Tue, 30 May 2023 21:32:20 +0200 Subject: Use JetBrains Sans as default font (#3017) --- plugins/base/src/main/resources/dokka/styles/style.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'plugins/base/src/main/resources/dokka/styles/style.css') diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 40b01116..c7e82c64 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -1,3 +1,4 @@ +@import url('./font-jb-sans-auto.css'); @import url('https://fonts.googleapis.com/css?family=JetBrains+Mono'); /* --- root styles --- */ @@ -24,7 +25,7 @@ --background-color: var(--default-white); --dark-mode-and-search-icon-color: var(--default-white); --color-dark: #27282c; - --default-font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif; + --default-font-family: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,Roboto, Oxygen, Ubuntu,Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif; --default-monospace-font-family: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; --default-font-size: 15px; --average-color: var(--color-dark); @@ -144,7 +145,7 @@ pre { dt { color: #444; - font-weight: 700; + font-weight: 530; } img { @@ -482,6 +483,10 @@ td:first-child { margin: 30px 0; border-top: 3px double #8c8b8b; } + +.main-content :is(h1, h2) { + font-weight: 530; +} /* /--- Main Content styles --- */ /* /--- Breadcrumbs styles --- */ @@ -1428,7 +1433,7 @@ div.runnablesample { display: flex; align-items: center; color: #fff; - font-weight: 700; + font-weight: 530; } .library-name--link::before { -- cgit