diff options
author | Konstantin Chernenko <kb.chernenko@gmail.com> | 2023-05-30 21:32:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 21:32:20 +0200 |
commit | 78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d (patch) | |
tree | f09361b6e924a3c96c17222aa7f38decedf7ab0c /plugins/base/src/main/resources/dokka/styles/font-jb-sans-auto.css | |
parent | 62c77882c7079e5e1d8e9ea321d3d6e2f129848a (diff) | |
download | dokka-78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d.tar.gz dokka-78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d.tar.bz2 dokka-78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d.zip |
Use JetBrains Sans as default font (#3017)
Diffstat (limited to 'plugins/base/src/main/resources/dokka/styles/font-jb-sans-auto.css')
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/font-jb-sans-auto.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/font-jb-sans-auto.css b/plugins/base/src/main/resources/dokka/styles/font-jb-sans-auto.css new file mode 100644 index 00000000..95d8ef83 --- /dev/null +++ b/plugins/base/src/main/resources/dokka/styles/font-jb-sans-auto.css @@ -0,0 +1,32 @@ +/* Light weight */ +@font-face { + font-family: 'JetBrains Sans'; + src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); + font-weight: 300; + font-style: normal; +} +/* Regular weight */ +@font-face { + font-family: 'JetBrains Sans'; + src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); + font-weight: 400; + font-style: normal; +} +/* SemiBold weight */ +@font-face { + font-family: 'JetBrains Sans'; + src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); + font-weight: 600; + font-style: normal; +} + +@supports (font-variation-settings: normal) { + @font-face { + font-family: 'JetBrains Sans'; + src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2') format('woff2 supports variations'), + url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2') format('woff2-variations'), + url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); + font-weight: 100 900; + font-style: normal; + } +} |