Permalink
Browse files

feat(terminal): roboto mono font

  • Loading branch information...
jkuri committed Sep 11, 2017
1 parent 69d8ace commit 353ae2897128a4b489db5d6ce4cae31f48894acd
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -84,7 +84,7 @@ export class AppTerminalComponent implements OnInit {
out = out.replace(/\[exectime\]: [0-9.,]+/g, '');

return acc.concat({
command: curr.trim(),
command: curr.replace('==>', '').trim(),
visible: i === commands.length - 1 ? true : false,
output: out,
time: times[i] ? this.getDuration(time) : null
@@ -16,3 +16,10 @@ $font-family-regular: 'Roboto-Regular', sans-serif
$font-family-semibold: 'Roboto-Medium', sans-serif
$font-family-bold: 'Roboto-Bold', sans-serif
$font-family-black: 'Roboto-Black', sans-serif

+font-face('RobotoMono', '../assets/fonts/RobotoMono-Light', 300, 'normal')
+font-face('RobotoMono', '../assets/fonts/RobotoMono-Regular', 400, 'normal')
+font-face('RobotoMono', '../assets/fonts/RobotoMono-Medium', 500, 'normal')
+font-face('RobotoMono', '../assets/fonts/RobotoMono-Bold', 700, 'normal')

$font-family-roboto-mono: 'RobotoMono', monospace
@@ -7,7 +7,7 @@
display: block
color: #f8f8f2
margin: 0
font-family: monaco, monospace
font-family: $font-family-roboto-mono
padding: 10px 0
height: 100%
background: #000000
@@ -37,8 +37,9 @@
.icon

img
width: 12px
height: 12px
margin-top: 1px
width: 8px
height: 8px

.command
font-size: 12px
@@ -68,7 +69,7 @@
width: 100%
color: #f8f8f2
margin: 0 !important
font-family: monaco, monospace
font-family: $font-family-roboto-mono
font-size: 12px
padding: 10px 10px 10px 25px !important
background: #000000

0 comments on commit 353ae28

Please sign in to comment.