Skip to content

Commit

Permalink
Use Geist font in Dev Overlay (#74160)
Browse files Browse the repository at this point in the history
This PR added Geist font to be used in Dev Overlay.

![CleanShot 2024-12-21 at 00 19
03](https://github.com/user-attachments/assets/0f126e2b-922a-4489-b356-cf0e09d361bb)

Closes NDX-572
  • Loading branch information
devjiwonchoi authored Dec 20, 2024
1 parent 7a49d14 commit eff54a3
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ export function Base() {
return (
<style>
{css`
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;900&family=Geist+Mono:wght@400;900&display=swap');
:host {
--size-gap-half: 4px;
--size-gap: 8px;
Expand Down Expand Up @@ -35,9 +37,10 @@ export function Base() {
--color-text-color-red-1: #ff5555;
--color-text-background-red-1: #fff9f9;
--font-stack-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono',
Menlo, Courier, monospace;
--font-stack-sans: -apple-system, 'Source Sans Pro', sans-serif;
--font-stack-monospace: 'Geist Mono', 'SFMono-Regular', Consolas,
'Liberation Mono', Menlo, Courier, monospace;
--font-stack-sans: 'Geist', -apple-system, 'Source Sans Pro',
sans-serif;
--color-ansi-selection: rgba(95, 126, 151, 0.48);
--color-ansi-bg: #111111;
Expand All @@ -59,6 +62,8 @@ export function Base() {
--color-ansi-bright-magenta: #cebbff;
--color-ansi-bright-red: #ff8888;
--color-ansi-bright-yellow: #ffd966;
font-family: var(--font-stack-sans);
}
@media (prefers-color-scheme: dark) {
Expand Down

0 comments on commit eff54a3

Please sign in to comment.