Skip to content

Commit

Permalink
Winter theme for January (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoel authored Dec 18, 2025
1 parent 5969073 commit 31a1d0a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
Binary file added clock-face-winter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 28 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@
<option value="movember">Movember</option>
<option value="christmas">Christmas</option>
<option value="newyear">New Year</option>
<option value="winter">Winter</option>
<option value="saami">Sámi</option>
</select>
</div>
Expand Down Expand Up @@ -1415,7 +1416,7 @@
}
},
newyear: {
dateRange: { startMonth: 11, startDay: 30, endMonth: 0, endDay: 4 }, // Dec 30 - Jan 4
dateRange: { startMonth: 11, startDay: 30, endMonth: 0, endDay: 6 }, // Dec 30 - Jan 4
clockFace: 'clock-face-newyear.png',
clockFaceScale: 'cover',
background: 'newyear-bg.png',
Expand All @@ -1440,6 +1441,32 @@
},
handGlow: '0 0 10px #d3af37, 0 0 15px #ad8f2e, 0 0 20px #ad8f2e' // Gold glow effect
},
winter: {
dateRange: { startMonth: 0, startDay: 7, endMonth: 0, endDay: 31 }, // Jan 7 - Jan 31
clockFace: 'clock-face-winter.png',
clockFaceScale: 'cover',
background: 'winter-bg.png',
backgroundSize: 'cover',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
backgroundAttachment: 'fixed',
textColor: '#417a8e', // Blueish
centerDotColor: 'radial-gradient(circle, #517a8e 20%, #417a8e 40%, #2d5663 80%, #1c343d 100%)', // Blue gradient
centerDotBorder: '#1c343d', // Dark blue border
handColors: {
hour: 'linear-gradient(to right, #2d5663, #417a8e, #2d5663)', // Blue
minute: 'linear-gradient(to right, #2d5663, #417a8e, #2d5663)', // Blue
second: 'linear-gradient(to bottom, #2d5663, #417a8e, #2d5663)' // Blue
},
clockContainer: {
background: 'rgba(0, 0, 0, 0.15)',
backdropFilter: 'blur(20px)',
borderRadius: '20px',
border: '1px solid rgba(29, 56, 63, 0.5)',
boxShadow: '0 8px 32px rgba(89, 169, 193, 0.3)'
},
handGlow: '0 0 10px #458296, 0 0 15px #59a9c1, 0 0 20px #59a9c1' // Blue glow effect
},
saami: {
/*
Sámi theme by on@ntnu.no
Expand Down
Binary file added winter-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 31a1d0a

Please sign in to comment.