Skip to content

Commit 207c6b6

Browse files
committed
style: format CSS variable comments and improve indentation in theme-loader
1 parent bb5d0c5 commit 207c6b6

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

src/styles/themes/pipboy.css

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,27 @@
1010
/* PipBoy Colors - Green digital on black */
1111
:root[data-timer-theme="pipboy"] {
1212
--focus-color: #00ff41;
13-
--break-color: #ff8c00; /* Orange for break */
14-
--long-break-color: #0080ff; /* Blue for long break */
13+
--break-color: #ff8c00;
14+
/* Orange for break */
15+
--long-break-color: #0080ff;
16+
/* Blue for long break */
1517

1618
/* Background Colors - Deep black with tints */
1719
--focus-bg: #0d1117;
1820
/* PipBoy Black */
19-
--break-bg: #1a0a00; /* Dark orange-tinted background */
21+
--break-bg: #1a0a00;
22+
/* Dark orange-tinted background */
2023
/* Black with orange tint */
21-
--long-break-bg: #001a2d; /* Dark blue-tinted background */
24+
--long-break-bg: #001a2d;
25+
/* Dark blue-tinted background */
2226
/* Blue-ish black */
2327

2428
/* Timer Text Colors - Bright colors on black */
2529
--focus-timer-color: #00ff41;
26-
--break-timer-color: #ff8c00; /* Orange text for break timer */
27-
--long-break-timer-color: #0080ff; /* Blue text for long break timer */
30+
--break-timer-color: #ff8c00;
31+
/* Orange text for break timer */
32+
--long-break-timer-color: #0080ff;
33+
/* Blue text for long break timer */
2834

2935
/* Button Colors - Terminal effect */
3036
--focus-primary-btn: #00ff41;
@@ -281,8 +287,7 @@
281287
/* General status icon - default green for focus */
282288
:root[data-timer-theme="pipboy"] #status-icon {
283289
filter:
284-
drop-shadow(0 0 5px var(--pipboy-focus-glow))
285-
drop-shadow(0 0 10px var(--pipboy-focus-glow));
290+
drop-shadow(0 0 5px var(--pipboy-focus-glow)) drop-shadow(0 0 10px var(--pipboy-focus-glow));
286291
animation: pipboy-glow 2s ease-in-out infinite alternate;
287292
}
288293

@@ -291,8 +296,7 @@
291296
:root[data-timer-theme="pipboy"] .timer-container.break #status-icon,
292297
:root[data-timer-theme="pipboy"] body.break #status-icon {
293298
filter:
294-
drop-shadow(0 0 5px var(--pipboy-break-glow))
295-
drop-shadow(0 0 10px var(--pipboy-break-glow));
299+
drop-shadow(0 0 5px var(--pipboy-break-glow)) drop-shadow(0 0 10px var(--pipboy-break-glow));
296300
animation: pipboy-glow-break 2s ease-in-out infinite alternate;
297301
}
298302

@@ -301,8 +305,7 @@
301305
:root[data-timer-theme="pipboy"] .timer-container.longBreak #status-icon,
302306
:root[data-timer-theme="pipboy"] body.longBreak #status-icon {
303307
filter:
304-
drop-shadow(0 0 5px var(--pipboy-longbreak-glow))
305-
drop-shadow(0 0 10px var(--pipboy-longbreak-glow));
308+
drop-shadow(0 0 5px var(--pipboy-longbreak-glow)) drop-shadow(0 0 10px var(--pipboy-longbreak-glow));
306309
animation: pipboy-glow-longbreak 2s ease-in-out infinite alternate;
307310
}
308311

@@ -311,8 +314,7 @@
311314
:root[data-timer-theme="pipboy"] .timer-container.focus #status-icon,
312315
:root[data-timer-theme="pipboy"] body.focus #status-icon {
313316
filter:
314-
drop-shadow(0 0 5px var(--pipboy-focus-glow))
315-
drop-shadow(0 0 10px var(--pipboy-focus-glow));
317+
drop-shadow(0 0 5px var(--pipboy-focus-glow)) drop-shadow(0 0 10px var(--pipboy-focus-glow));
316318
animation: pipboy-glow 2s ease-in-out infinite alternate;
317319
}
318320

@@ -648,19 +650,19 @@
648650

649651
/* Break timer state - use orange color like active timer */
650652
:root[data-timer-theme="pipboy"] body.break {
651-
background: linear-gradient(135deg,
652-
var(--pipboy-bg),
653-
#1a0a00,
654-
#2d1a00) !important;
653+
background: linear-gradient(135deg,
654+
var(--pipboy-bg),
655+
#1a0a00,
656+
#2d1a00) !important;
655657
transition: background-color 0.3s ease;
656658
}
657659

658660
/* Long break timer state - use blue color like active timer */
659661
:root[data-timer-theme="pipboy"] body.longBreak {
660-
background: linear-gradient(135deg,
661-
var(--pipboy-bg),
662-
#001a2d,
663-
#002642) !important;
662+
background: linear-gradient(135deg,
663+
var(--pipboy-bg),
664+
#001a2d,
665+
#002642) !important;
664666
transition: background-color 0.3s ease;
665667
}
666668

src/utils/theme-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ThemeLoader {
3939
// that gets updated by the build process or manually maintained
4040

4141
// This could be enhanced to use a build-time script that generates this list
42-
const knownThemes = [
42+
const knownThemes = [
4343
'espresso.css',
4444
'pipboy.css',
4545
'pommodore64.css'

0 commit comments

Comments
 (0)