Skip to content

Commit c08af55

Browse files
committed
feat: update Server Mono font to version 0.0.7
- Update font version number in DefaultActionBar from 0.0.6 to 0.0.7 - Update font-face declaration with new URLs for woff2, woff, and otf formats - Rename font-family from 'ServerMono-Regular' to 'ServerMono' - Add font-weight and font-style properties to font-face - Update CSS variable to use new font-family name
1 parent 64aa0c3 commit c08af55

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

components/page/DefaultActionBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const DefaultActionBar: React.FC<DefaultActionBarProps> = ({ items = [] }) => {
171171
},
172172
{
173173
icon: '⊹',
174-
children: 'Server Mono 0.0.6 [OFL]',
174+
children: 'Server Mono 0.0.7 [OFL]',
175175
onClick: () => Utilities.onHandleFontChange('font-use-server-mono'),
176176
},
177177
{

global.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@
3939
}
4040

4141
@font-face {
42-
font-family: 'ServerMono-Regular';
43-
src: url('https://intdev-global.s3.us-west-2.amazonaws.com/public/internet-dev/6c8ad1f3-2ad9-44a9-88db-46ff3f19c4f3.woff') format('woff');
42+
font-family: 'ServerMono';
43+
src: url('https://intdev-global.s3.us-west-2.amazonaws.com/public/internet-dev/25071f6e-4cc8-4f91-8387-e4c60b9231de.woff2') format('woff2'),
44+
url('https://intdev-global.s3.us-west-2.amazonaws.com/public/internet-dev/2bddcba4-a541-4af6-b4b6-5dfb1e4875f5.woff') format('woff'),
45+
url('https://intdev-global.s3.us-west-2.amazonaws.com/public/internet-dev/45c36a19-7078-4880-89a5-2c700a28070a.otf') format('opentype');
46+
font-weight: normal;
47+
font-style: normal;
4448
}
4549

4650
@font-face {
@@ -351,7 +355,7 @@ body.font-use-jet-brains-mono {
351355
}
352356

353357
body.font-use-server-mono {
354-
--font-family-mono: 'ServerMono-Regular', sans-serif;
358+
--font-family-mono: 'ServerMono', sans-serif;
355359
}
356360

357361
body.font-use-sfmono-square {

0 commit comments

Comments
 (0)