1
0
Fork 0

Merge pull request #660 from flautrup/master

Updated font size, color and alignment
master
Gordon Williams 2021-02-08 09:29:25 +00:00 committed by GitHub
commit 86ba30f629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 10 deletions

View File

@ -1638,7 +1638,7 @@
"name": "Round clock with seconds, minutes and date", "name": "Round clock with seconds, minutes and date",
"shortName":"Round Clock", "shortName":"Round Clock",
"icon": "app.png", "icon": "app.png",
"version":"0.03", "version":"0.04",
"description": "Designed round clock with ticks for minutes and seconds and heart rate indication", "description": "Designed round clock with ticks for minutes and seconds and heart rate indication",
"tags": "clock", "tags": "clock",
"type": "clock", "type": "clock",

View File

@ -1,3 +1,4 @@
0.01: First published version of app 0.01: First published version of app
0.02: Added support for locale and 12H clock 0.02: Added support for locale and 12H clock
0.03: Added HR indication to clock 0.03: Added HR indication to clock
0.04: Update font size and alignment

View File

@ -23,31 +23,29 @@
// Ssettings // Ssettings
const settings = { const settings = {
time: { time: {
color: '#f0af00', color: 0xD6ED17,
shadow: '#CF7500',
font: 'Vector', font: 'Vector',
size: 60, size: 60,
middle: screen.middle - 30, middle: screen.middle,
center: screen.center, center: screen.center,
}, },
date: { date: {
color: '#f0af00', color: 0xD6ED17,
shadow: '#CF7500',
font: 'Vector', font: 'Vector',
size: 15, size: 15,
middle: screen.height - 20, // at bottom of screen middle: screen.height-17, // at bottom of screen
center: screen.center, center: screen.center,
}, },
circle: { circle: {
colormin: '#eeeeee', colormin: 0x606060,
colorsec: '#bbbbbb', colorsec: 0x656565,
width: 10, width: 10,
middle: screen.middle, middle: screen.middle,
center: screen.center, center: screen.center,
height: screen.height height: screen.height
}, },
hr: { hr: {
color: '#333333', color: 0x333333,
size: 10, size: 10,
x: screen.center, x: screen.center,
y: screen.middle + 45 y: screen.middle + 45