chore: update docs font

This commit is contained in:
Faisal Amir 2025-09-03 10:13:08 +07:00
parent 8c4a88a182
commit 8db764c426
10 changed files with 75 additions and 0 deletions

View File

@ -22,6 +22,9 @@ export default defineConfig({
starlight({
title: '👋 Jan',
favicon: 'jan2.png',
customCss: [
'./src/styles/global.css',
],
head: [
{
tag: 'script',

BIN
website/bun.lockb Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View 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);
}