-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added SDK5 support * Updated workflows Co-authored-by: smirko-dev <smirko@arcor.de>
- Loading branch information
1 parent
53fcf21
commit 9f18cba
Showing
17 changed files
with
190 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/node_modules | ||
/build | ||
/package-lock.json | ||
/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "compactclock", | ||
"version": "1.5.2", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@fitbit/sdk": "~5.0.0", | ||
"@fitbit/sdk-cli": "^1.7.3" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/smirko-dev/fitbit-clockface/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/smirko-dev/fitbit-clockface.git" | ||
}, | ||
"fitbit": { | ||
"appUUID": "ae441b73-2660-407f-b796-a98d1d0583a0", | ||
"appType": "clockface", | ||
"appDisplayName": "CompactClock", | ||
"iconFile": "resources/icon.png", | ||
"wipeColor": "", | ||
"requestedPermissions": [ | ||
"access_calendar", | ||
"run_background", | ||
"access_activity" | ||
], | ||
"buildTargets": [ | ||
"atlas", | ||
"vulcan" | ||
], | ||
"i18n": { | ||
"en-US": { | ||
"name": "CompactClock" | ||
}, | ||
"de-DE": { | ||
"name": "CompactClock" | ||
} | ||
}, | ||
"defaultLanguage": "en-US" | ||
}, | ||
"scripts": { | ||
"build": "fitbit-build", | ||
"debug": "fitbit" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<svg class="background"> | ||
<text id="hourLabel" /> | ||
<text id="minuteLabel" /> | ||
<text id="dateLabel" opacity=".8" /> | ||
<textarea id="appointmentsLabel" opacity=".8" pointer-events="visible" /> | ||
<image id="batteryImage" href="battery-alert.png" x="270" y="4%" width="24" height="24" opacity=".6" class="batteryIcon" /> | ||
<text id="batteryLabel" opacity=".8" /> | ||
<image id="activityIcon" href="steps.png" x="35%" y="80%" width="32" height="32" opacity=".8" class="activityIcon" /> | ||
<text id="activityLabel" opacity=".8" /> | ||
</svg> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
.background { | ||
viewport-fill: black; | ||
} | ||
|
||
#hourLabel { | ||
font-size: 148; | ||
font-family: Colfax-Thin; | ||
text-length: 32; | ||
text-anchor: end; | ||
x: 60%; | ||
y: 55%+20; | ||
fill: #2490DD; | ||
} | ||
|
||
#minuteLabel { | ||
font-size: 96; | ||
font-family: Colfax-Thin; | ||
text-length: 32; | ||
text-anchor: start; | ||
x: 60%; | ||
y: 55%+20; | ||
fill: white; | ||
} | ||
|
||
#dateLabel { | ||
font-size: 20; | ||
font-family: Colfax-Regular; | ||
text-length: 32; | ||
text-anchor: start; | ||
x: 12%; | ||
y: 10%; | ||
fill: white; | ||
} | ||
|
||
#appointmentsLabel { | ||
font-size: 28; | ||
font-family: Colfax-Regular; | ||
text-length: 128; | ||
text-anchor: start; | ||
x: 12%; | ||
y: 75%; | ||
width: 90%; | ||
fill: white; | ||
} | ||
|
||
#batteryLabel { | ||
font-size: 20; | ||
font-family: Colfax-Regular; | ||
text-length: 32; | ||
text-anchor: start; | ||
x: 85%; | ||
y: 10%; | ||
fill: white; | ||
} | ||
|
||
#activityLabel { | ||
font-size: 28; | ||
font-family: Colfax-Regular; | ||
text-length: 32; | ||
text-anchor: start; | ||
x: 35%+30; | ||
y: 80%+25; | ||
fill: white; | ||
} | ||
|
||
.activityIcon { | ||
fill: #2490DD | ||
} | ||
|
||
.batteryIcon { | ||
fill: #FFFFFF | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<svg> | ||
<defs> | ||
<link rel="stylesheet" href="styles.sdk5.css" /> | ||
<link rel="import" href="/mnt/sysassets/system_widget.defs" /> | ||
<link rel="import" href="/mnt/sysassets/widgets/baseview_widget.defs" /> | ||
</defs> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.