Merge pull request #6359 from menloresearch/docs/update-web-font
chore: update docs font
This commit is contained in:
commit
08e756f27b
@ -22,6 +22,9 @@ export default defineConfig({
|
|||||||
starlight({
|
starlight({
|
||||||
title: '👋 Jan',
|
title: '👋 Jan',
|
||||||
favicon: 'jan2.png',
|
favicon: 'jan2.png',
|
||||||
|
customCss: [
|
||||||
|
'./src/styles/global.css',
|
||||||
|
],
|
||||||
head: [
|
head: [
|
||||||
{
|
{
|
||||||
tag: 'script',
|
tag: 'script',
|
||||||
|
|||||||
BIN
website/bun.lockb
Executable file
BIN
website/bun.lockb
Executable file
Binary file not shown.
BIN
website/public/assets/fonts/StudioFeixenSans-Bold.otf
Normal file
BIN
website/public/assets/fonts/StudioFeixenSans-Bold.otf
Normal file
Binary file not shown.
BIN
website/public/assets/fonts/StudioFeixenSans-Book.otf
Normal file
BIN
website/public/assets/fonts/StudioFeixenSans-Book.otf
Normal file
Binary file not shown.
BIN
website/public/assets/fonts/StudioFeixenSans-Light.otf
Normal file
BIN
website/public/assets/fonts/StudioFeixenSans-Light.otf
Normal file
Binary file not shown.
BIN
website/public/assets/fonts/StudioFeixenSans-Medium.otf
Normal file
BIN
website/public/assets/fonts/StudioFeixenSans-Medium.otf
Normal file
Binary file not shown.
BIN
website/public/assets/fonts/StudioFeixenSans-Regular.otf
Normal file
BIN
website/public/assets/fonts/StudioFeixenSans-Regular.otf
Normal file
Binary file not shown.
BIN
website/public/assets/fonts/StudioFeixenSans-Semibold.otf
Normal file
BIN
website/public/assets/fonts/StudioFeixenSans-Semibold.otf
Normal file
Binary file not shown.
BIN
website/public/assets/fonts/StudioFeixenSans-Ultralight.otf
Normal file
BIN
website/public/assets/fonts/StudioFeixenSans-Ultralight.otf
Normal file
Binary file not shown.
72
website/src/styles/global.css
Normal file
72
website/src/styles/global.css
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'Studio Feixen Sans';
|
||||||
|
src: url('/assets/fonts/StudioFeixenSans-Regular.otf') format('opentype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Studio Feixen Sans';
|
||||||
|
src: url('/assets/fonts/StudioFeixenSans-Light.otf') format('opentype');
|
||||||
|
font-weight: 300;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Studio Feixen Sans';
|
||||||
|
src: url('/assets/fonts/StudioFeixenSans-Book.otf') format('opentype');
|
||||||
|
font-weight: 350;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Studio Feixen Sans';
|
||||||
|
src: url('/assets/fonts/StudioFeixenSans-Medium.otf') format('opentype');
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Studio Feixen Sans';
|
||||||
|
src: url('/assets/fonts/StudioFeixenSans-Semibold.otf') format('opentype');
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Studio Feixen Sans';
|
||||||
|
src: url('/assets/fonts/StudioFeixenSans-Bold.otf') format('opentype');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Studio Feixen Sans';
|
||||||
|
src: url('/assets/fonts/StudioFeixenSans-Ultralight.otf') format('opentype');
|
||||||
|
font-weight: 200;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--sl-font: 'Studio Feixen Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
||||||
|
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
|
||||||
|
'Helvetica Neue', sans-serif;
|
||||||
|
--sl-font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono',
|
||||||
|
'Oxygen Mono', 'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono',
|
||||||
|
'Droid Sans Mono', 'Courier New', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-family: var(--sl-font);
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: var(--sl-font);
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user