Switch to Roboto Mono
This commit is contained in:
parent
26ce1cae93
commit
bd6c0d26eb
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: Droid Sans Mono, monospace;
|
font-family: Roboto Mono, monospace;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
font: 16px Droid Sans Mono, monospace;
|
font: 16px Roboto Mono, monospace;
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<title>Dispatch</title>
|
<title>Dispatch</title>
|
||||||
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Droid+Sans+Mono|Montserrat:400,700" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700|Roboto+Mono:400,700" rel="stylesheet">
|
||||||
<link href="/bundle.css" rel="stylesheet">
|
<link href="/bundle.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -31,7 +31,7 @@ function updateSelected({ params, dispatch }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateCharWidth() {
|
function updateCharWidth() {
|
||||||
const charWidth = stringWidth(' ', '16px Droid Sans Mono');
|
const charWidth = stringWidth(' ', '16px Roboto Mono');
|
||||||
window.messageIndent = 6 * charWidth;
|
window.messageIndent = 6 * charWidth;
|
||||||
return setCharWidth(charWidth);
|
return setCharWidth(charWidth);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue