aboutsummaryrefslogtreecommitdiff
path: root/dokka-subprojects/plugin-base/src/main/resources/dokka/styles/font-jb-sans-auto.css
diff options
context:
space:
mode:
Diffstat (limited to 'dokka-subprojects/plugin-base/src/main/resources/dokka/styles/font-jb-sans-auto.css')
-rw-r--r--dokka-subprojects/plugin-base/src/main/resources/dokka/styles/font-jb-sans-auto.css36
1 files changed, 36 insertions, 0 deletions
diff --git a/dokka-subprojects/plugin-base/src/main/resources/dokka/styles/font-jb-sans-auto.css b/dokka-subprojects/plugin-base/src/main/resources/dokka/styles/font-jb-sans-auto.css
new file mode 100644
index 00000000..bdc68723
--- /dev/null
+++ b/dokka-subprojects/plugin-base/src/main/resources/dokka/styles/font-jb-sans-auto.css
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
+/* 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;
+ }
+}