Skip to content

Commit

Permalink
Docs font
Browse files Browse the repository at this point in the history
  • Loading branch information
brianrourkeboll committed Jun 16, 2024
1 parent 12d1459 commit a83aebe
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions docs/content/fsdocs-theme.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,48 @@
@font-face {
font-family: 'Berkeley Mono';
src: local('Berkeley Mono'),
url('https://fonts.brb.engineering/BerkeleyMono/Regular/font.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Berkeley Mono';
src: local('Berkeley Mono'),
url('https://fonts.brb.engineering/BerkeleyMono/Italic/font.woff2') format('woff2');
font-weight: normal;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'Berkeley Mono';
src: local('Berkeley Mono'),
url('https://fonts.brb.engineering/BerkeleyMono/Bold/font.woff2') format('woff2');
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Berkeley Mono';
src: local('Berkeley Mono'),
url('https://fonts.brb.engineering/BerkeleyMono/BoldItalic/font.woff2') format('woff2');
font-weight: bold;
font-style: italic;
font-display: swap;
}

:root {
--monospace-font: 'Cascadia Code', 'Fira Code', monospace;
--monospace-font: 'Berkeley Mono', 'Cascadia Code', 'Fira Code', monospace;
}

pre,
code,
.fsdocs-tip,
.fssnip {
font-feature-settings: 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum', 'calt';
font-feature-settings: 'ss03', 'zero', 'calt';
}

h1 code,
Expand Down

0 comments on commit a83aebe

Please sign in to comment.