Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions packages/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@

<link rel="manifest" href="site.webmanifest" />
<link rel="mask-icon" href="logo_black.svg" color="#67ea94" />
<link
rel="stylesheet"
href="https://rsms.me/inter/inter.css"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/cascadia-code.min.css"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="src/index.css"
Expand Down
Binary file not shown.
Binary file added packages/web/public/fonts/InterVariable.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/web/src/components/UI/Typography/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export interface CodeProps {
}

export const Code = ({ children }: CodeProps) => (
<code className="relative rounded-sm bg-slate-100 px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold text-slate-900 dark:bg-slate-800 dark:text-slate-400">
<code className="relative rounded-sm bg-slate-100 px-[0.3rem] py-[0.2rem] text-sm font-semibold text-slate-900 dark:bg-slate-800 dark:text-slate-400">
{children}
</code>
);
5 changes: 1 addition & 4 deletions packages/web/src/components/generic/Mono.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ interface MonoProps extends React.HTMLAttributes<HTMLSpanElement> {
}
export const Mono = ({ children, className, ...rest }: MonoProps) => {
return (
<span
className={cn("font-mono text-sm text-text-secondary", className)}
{...rest}
>
<span className={cn("text-sm text-text-secondary", className)} {...rest}>
{children}
</span>
);
Expand Down
18 changes: 17 additions & 1 deletion packages/web/src/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
@font-face {
font-family: 'Inter var';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('/fonts/InterVariable.woff2') format('woff2-variations');
}

@font-face {
font-family: 'Inter var';
font-style: italic;
font-weight: 100 900;
font-display: swap;
src: url('/fonts/InterVariable-Italic.woff2') format('woff2-variations');
}

@import "tailwindcss";
/* @import '@meshtastic/ui/theme/default.css'; */
/* @source "../node_modules/@meshtastic/ui"; */
Expand All @@ -11,7 +27,7 @@

@theme {
--font-mono:
Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace;
--font-sans:
Inter var, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
Expand Down
Loading