Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Commit

Permalink
Added support for the Fitbit Versa
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhktan committed Mar 15, 2018
1 parent 3be9645 commit 08a3796
Show file tree
Hide file tree
Showing 23 changed files with 59 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Fitbit Pomodoro
A Pomodoro app for the Fitbit Ionic.

![alt](/screenshots/Tomatina-Start.png?raw=true)
![alt](/screenshots/Tomatina-Short_Break.png?raw=true)
![alt](/screenshots/Tomatina-Progress.png?raw=true)
![alt](/screenshots/Tomatina-Paused.png?raw=true)
![alt](/docs/screenshots/Tomatina-Start.png?raw=true)
![alt](/docs/screenshots/Tomatina-Short_Break.png?raw=true)
![alt](/docs/screenshots/Tomatina-Progress.png?raw=true)
![alt](/docs/screenshots/Tomatina-Paused.png?raw=true)
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion app/index.js → src/app/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { me } from "appbit";
import clock from "clock";
import document from "document";
import * as fs from "fs";
import * as haptics from "haptics";
import * as messaging from "messaging";
import { me } from "appbit";
import { sendVal, stripQuotes } from "../common/utils.js";

var backgroundRect = document.getElementById("backgroundRect");
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions package.json → src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"requestedPermissions": [
"run_background"
],
"buildTargets": [
"higgs",
"meson"
],
"i18n": {
"en": {
"name": "Tomatina"
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion resources/index.gui → src/resources/index.gui
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pointer-events="none">
</gradientRect>

<text id="pomodoroText" x="2%" y="24%" text-length="14" pointer-events="none">Pomodoro #1</text>
<text id="pomodoroText" x="2%" y="28%" text-length="14" pointer-events="none">Pomodoro #1</text>
<text id="stateText" x="2%" y="42%" text-length="16" pointer-events="none">Start a Pomodoro</text>
<text id="minuteText" x="2%" y="92%" width="100%" text-length="7" pointer-events="none">25</text>
<text id="unitText" x="35%" y="92%" pointer-events="none">min</text>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
48 changes: 48 additions & 0 deletions src/resources/styles~300x300.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#backgroundRectResting {
display: inline;
}

#backgroundRect {
display: inline;
width: 300;
height: 300;
}

#btn-tr-reset {
display: none;
}

#btn-tr-forward {
display: none;
}

#btn-br-pause {
display: none;
}

#pomodoroText {
display: none;
fill: #D3D3D3;
font-family: Seville-Book;
font-size: 24;
}

#stateText {
display: inline;
fill: #FFFFFF;
font-family: Seville-Book;
font-size: 35;
}

#minuteText {
fill: #FFFFFF;
font-family: Seville-Book;
font-size: 90;
}

#unitText {
display: inline;
fill: #C0C0C0;
font-family: Seville-Book;
font-size: 40;
}
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions settings/index.jsx → src/settings/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function mySettings(props) {
settingsKey="long-rest-duration"
options={[
// {name:"15 seconds", value:.25},
{name:"10 minutes", value:10},
{name:"15 minutes", value:15},
{name:"20 minutes", value:20},
{name:"25 minutes", value:25},
Expand Down

0 comments on commit 08a3796

Please sign in to comment.