Skip to content
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
10 changes: 10 additions & 0 deletions packages/neuron-ui/public/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@
src: url('../fonts/JetBrainsMonoNL-Regular.otf') format('opentype'),
url('../fonts/JetBrainsMonoNL-Regular.ttf') format('opentype');
}

@font-face {
font-family: 'Inter-Regular';
src: url('../fonts/Inter-Regular.otf') format('opentype'), url('../fonts/Inter-Regular.ttf') format('opentype');
}

@font-face {
font-family: 'Inter-Medium';
src: url('../fonts/Inter-Medium.otf') format('opentype'), url('../fonts/Inter-Medium.ttf') format('opentype');
}
Binary file added packages/neuron-ui/public/fonts/Inter-Medium.otf
Binary file not shown.
Binary file added packages/neuron-ui/public/fonts/Inter-Medium.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/neuron-ui/src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
outline: none !important;
-webkit-tap-highlight-color: none !important;
user-select: none;
font-family: 'PingFang SC';
font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter-Regular', 'Inter-Medium';
}

[type='button'],
Expand All @@ -30,7 +30,7 @@ html {
}

body {
@include regular-text;
font-family: 'Inter-Regular', 'Inter-Medium';
margin: 0;
padding: 0;
background: #f8f8f8;
Expand Down