mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: load fonts the right way
Some checks are pending
deploy / deploy (push) Waiting to run
generate / generate (push) Waiting to run
publish / publish (push) Waiting to run
publish / publish-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Waiting to run
publish / publish-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Waiting to run
publish / publish-tauri (map[host:ubuntu-24.04 target:x86_64-unknown-linux-gnu]) (push) Waiting to run
publish / publish-tauri (map[host:windows-latest target:x86_64-pc-windows-msvc]) (push) Waiting to run
test / test (push) Waiting to run
Update Nix Hashes / update (push) Waiting to run
Some checks are pending
deploy / deploy (push) Waiting to run
generate / generate (push) Waiting to run
publish / publish (push) Waiting to run
publish / publish-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Waiting to run
publish / publish-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Waiting to run
publish / publish-tauri (map[host:ubuntu-24.04 target:x86_64-unknown-linux-gnu]) (push) Waiting to run
publish / publish-tauri (map[host:windows-latest target:x86_64-pc-windows-msvc]) (push) Waiting to run
test / test (push) Waiting to run
Update Nix Hashes / update (push) Waiting to run
This commit is contained in:
parent
d7b8dce6a7
commit
dfdd1c9b20
3 changed files with 2 additions and 8 deletions
Binary file not shown.
|
|
@ -3,6 +3,7 @@ import { Router } from "@solidjs/router"
|
|||
import { FileRoutes } from "@solidjs/start/router"
|
||||
import { Suspense } from "solid-js"
|
||||
import { Favicon } from "@opencode-ai/ui/favicon"
|
||||
import { Font } from "@opencode-ai/ui/font"
|
||||
import "@ibm/plex/css/ibm-plex.css"
|
||||
import "./app.css"
|
||||
|
||||
|
|
@ -15,6 +16,7 @@ export default function App() {
|
|||
<Title>opencode</Title>
|
||||
<Meta name="description" content="OpenCode - The open source coding agent." />
|
||||
<Favicon />
|
||||
<Font />
|
||||
<Suspense>{props.children}</Suspense>
|
||||
</MetaProvider>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,3 @@
|
|||
@font-face {
|
||||
font-family: "Berkeley Mono";
|
||||
src: url("/fonts/berkley-mono.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
--font-size-2xs: 0.6875rem;
|
||||
--font-size-xs: 0.75rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue