added project logo
This commit is contained in:
parent
f72cbf9e91
commit
b1fb98539f
5 changed files with 13 additions and 0 deletions
7
.claude/settings.local.json
Normal file
7
.claude/settings.local.json
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"Bash(dir:*)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/claude-usage-screenshot.jpg
Normal file
BIN
assets/claude-usage-screenshot.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
assets/icon.ico
Normal file
BIN
assets/icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
BIN
assets/logo.png
Normal file
BIN
assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
|
|
@ -242,10 +242,16 @@ function updateProgressBar(progressElement, percentageElement, value, isWeekly =
|
||||||
function updateTimer(timerElement, textElement, resetsAt, totalMinutes) {
|
function updateTimer(timerElement, textElement, resetsAt, totalMinutes) {
|
||||||
if (!resetsAt) {
|
if (!resetsAt) {
|
||||||
textElement.textContent = '--:--';
|
textElement.textContent = '--:--';
|
||||||
|
textElement.style.opacity = '0.5';
|
||||||
|
textElement.title = 'Starts when a message is sent';
|
||||||
timerElement.style.strokeDashoffset = 63;
|
timerElement.style.strokeDashoffset = 63;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear the greyed out styling and tooltip when timer is active
|
||||||
|
textElement.style.opacity = '1';
|
||||||
|
textElement.title = '';
|
||||||
|
|
||||||
const resetDate = new Date(resetsAt);
|
const resetDate = new Date(resetsAt);
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const diff = resetDate - now;
|
const diff = resetDate - now;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue