improve color and display position

master
Stiralbios 2022-02-18 14:16:12 +01:00
parent 55430e7135
commit 7b276915ef
4 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
# Terminal clock
A clock displayed as a terminal cli. It can display the time, date, hrm, activity and steps
A clock displayed as a terminal cli.
It can display :
- time
- date
- hrm
- activity
- steps

View File

@ -1,6 +1,6 @@
var locale = require("locale");
var fontColor = "#00FF00";
var startY = 30;
var fontColor = g.theme.dark ? "#0f0" : "#000";
var startY = 24;
var paddingY = 2;
var font6x8At4Size = 32;
var font6x8At2Size = 18;
@ -82,8 +82,6 @@ function drawActivity(pos){
function draw(){
// console.log("in draw");
// console.log(settings);
var curPos = 1;
g.reset();
g.setFontAlign(-1, -1);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB