[APM] Update monospace font family variable (#57555)

* [APM] Remove fontFamily variable (not in use)

* [APM] Update fontFamilyCode font family

* Update snapshots
This commit is contained in:
Casper Hübertz 2020-02-13 21:05:28 +01:00 committed by GitHub
parent 59672ab5da
commit 5fe53d1cd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View file

@ -305,7 +305,7 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = `
exports[`ErrorGroupOverview -> List should render with data 1`] = `
.c0 {
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
font-family: "Roboto Mono",Consolas,Menlo,Courier,monospace;
}
.c1 {
@ -316,7 +316,7 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
}
.c2 {
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
font-family: "Roboto Mono",Consolas,Menlo,Courier,monospace;
font-size: 16px;
max-width: 100%;
white-space: nowrap;
@ -325,7 +325,7 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
}
.c3 {
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
font-family: "Roboto Mono",Consolas,Menlo,Courier,monospace;
}
<Memo(UnoptimizedManagedTable)

View file

@ -4,7 +4,7 @@ exports[`Stackframe when stackframe has source lines should render correctly 1`]
.c0 {
color: #69707d;
padding: 8px 0;
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
font-family: "Roboto Mono",Consolas,Menlo,Courier,monospace;
font-size: 14px;
}
@ -97,7 +97,7 @@ exports[`Stackframe when stackframe has source lines should render correctly 1`]
.c2 {
position: relative;
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
font-family: "Roboto Mono",Consolas,Menlo,Courier,monospace;
font-size: 14px;
border: 1px solid #d3dae6;
border-radius: 4px;

View file

@ -31,9 +31,8 @@ export function pct(value: number): string {
export const borderRadius = '4px';
// Fonts
export const fontFamily = '"Open Sans", Helvetica, Arial, sans-serif';
export const fontFamilyCode =
'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace';
'"Roboto Mono", Consolas, Menlo, Courier, monospace';
// Font sizes
export const fontSize = '14px';