Skip to content

Commit 2ebdcb5

Browse files
authored
styles(connections): update connection title, remove mongodb font (#3852)
1 parent f5e96f4 commit 2ebdcb5

File tree

3 files changed

+1
-20
lines changed

3 files changed

+1
-20
lines changed

packages/compass-connections/src/components/connection-list/connections-title.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ const containerStyles = css({
1313

1414
const connectionsTitleStyles = css({
1515
color: 'var(--title-color)',
16-
fontFamily: 'MongoDB Value Serif',
17-
fontWeight: 'normal',
1816
});
1917

2018
export default function ConnectionsTitle() {

packages/compass/scripts/download-fonts.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const FONT_CDN_BASE_URL = 'https://cloud.mongodb.com/static/font/';
2323

2424
const UPDATE_CACHE = process.argv.includes('--update-cache');
2525

26-
const EUCLID_CDN_URLS = [
26+
const FONTS_URLS = [
2727
'EuclidCircularA-Semibold-WebXL.woff2',
2828
'EuclidCircularA-Semibold-WebXL.woff',
2929
'EuclidCircularA-SemiboldItalic-WebXL.woff2',
@@ -37,12 +37,6 @@ const EUCLID_CDN_URLS = [
3737
'EuclidCircularA-RegularItalic-WebXL.woff2',
3838
'EuclidCircularA-RegularItalic-WebXL.woff',
3939
].map((filename) => `${FONT_CDN_BASE_URL}${filename}`);
40-
const MONGODB_FONT_CDN_URLS = [
41-
'MongoDBValueSerif-Regular.woff2',
42-
'MongoDBValueSerif-Regular.woff',
43-
].map((filename) => `${FONT_CDN_BASE_URL}${filename}`);
44-
45-
const FONTS_URLS = [...EUCLID_CDN_URLS, ...MONGODB_FONT_CDN_URLS];
4640

4741
const FONTS_DIRECTORY = path.resolve(PACKAGE_ROOT, 'src', 'app', 'fonts');
4842

packages/compass/src/app/styles/fonts.less

-11
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,3 @@
7070
url('@{compass-fonts-path}/EuclidCircularA-RegularItalic-WebXL.woff')
7171
format('woff');
7272
}
73-
74-
/**
75-
* MongoDB Fonts
76-
*/
77-
@font-face {
78-
font-family: 'MongoDB Value Serif';
79-
src: url('@{compass-fonts-path}/MongoDBValueSerif-Regular.woff2')
80-
format('woff2'),
81-
url('@{compass-fonts-path}/MongoDBValueSerif-Regular.woff') format('woff');
82-
font-weight: normal;
83-
}

0 commit comments

Comments
 (0)