updated Pastel fonts

pull/812/head
hughbarney 2021-09-14 23:04:48 +01:00
parent e455c3616c
commit f87e89ff25
2 changed files with 16 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,14 +22,14 @@
storage.write(SETTINGS_FILE, settings) storage.write(SETTINGS_FILE, settings)
} }
var font_options = ["Lato","Architect","GochiHand","CabinSketch"]; var font_options = ["Lato","Architect","GochiHand","CabinSketch","Orbitron"];
E.showMenu({ E.showMenu({
'': { 'title': 'Pastel Clock' }, '': { 'title': 'Pastel Clock' },
'< Back': back, '< Back': back,
'Font': { 'Font': {
value: 0 | font_options.indexOf(s.font), value: 0 | font_options.indexOf(s.font),
min: 0, max: 3, min: 0, max: 4,
format: v => font_options[v], format: v => font_options[v],
onchange: v => { onchange: v => {
s.font = font_options[v]; s.font = font_options[v];