Browse Source

Import digital-7 font

master
Red Forks 8 years ago
parent
commit
0bd5569543
3 changed files with 13 additions and 1 deletions
  1. BIN
      digital-7.ttf
  2. +6
    -0
      index.html
  3. +7
    -1
      src/main-view/container.tsx

BIN
digital-7.ttf View File


+ 6
- 0
index.html View File

@ -18,6 +18,12 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
@font-face {
font-family: "7bar";
src: url("./digital-7.ttf");
}
</style>
</head>
<body>


+ 7
- 1
src/main-view/container.tsx View File

@ -8,10 +8,16 @@ interface Props { };
interface Callbacks { };
function mainView(props: Props & Callbacks) {
const weightPanel = {
color: "#ff4300",
backgroundColor: "black",
fontSize: "7rem",
fontFamily: "\"7bar\"",
};
return <Grid>
<Row style={{ height: "calc(20vh - 50px)" }}>
<Col xs={3}>
<div>0.00</div>
<div style={weightPanel}>0.00</div>
<ButtonToolbar>
<Button></Button>
<Button disabled></Button>


Loading…
Cancel
Save