Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sans font #341

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion packages/components/src/components/cells/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function MarkdownCell(props: MarkdownCellProps) {
mermaid.initialize({
startOnLoad: false,
theme: 'base',
fontFamily: 'IBM Plex Sans',
fontFamily: 'Instrument Sans',
darkMode: theme === 'dark',
themeVariables: theme === 'dark' ? MERMAID_DARK_OVERRIDES : MERMAID_LIGHT_OVERRIDES,
});
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/components/apps/panels/explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type FileTreePropsType = {

function FileTree({ tree, openedFile, setOpenedFile }: FileTreePropsType) {
return (
<ul className="pl-3 font-mono text-sm text-tertiary-foreground leading-6">
<ul className="pl-3 text-sm text-tertiary-foreground leading-6">
{tree.map((entry) =>
entry.directory ? (
<li key={entry.name}>
Expand All @@ -32,7 +32,7 @@ function FileTree({ tree, openedFile, setOpenedFile }: FileTreePropsType) {
'transition-all',
openedFile?.path === entry.file.path
? 'cursor-default text-foreground font-semibold'
: 'cursor-pointer hover:text-foreground hover:font-semibold',
: 'cursor-pointer hover:text-foreground',
)}
>
<button onClick={() => setOpenedFile(entry.file)}>{entry.name}</button>
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

@tailwind base;
@tailwind components;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
extend: {
fontFamily: {
sans: [
'IBM Plex Sans',
'Instrument Sans',
'ui-sans-serif',
'system-ui',
'sans-serif',
Expand Down