about summary refs log tree commit diff stats
path: root/js/quest-log/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/quest-log/index.html')
-rw-r--r--js/quest-log/index.html73
1 files changed, 64 insertions, 9 deletions
diff --git a/js/quest-log/index.html b/js/quest-log/index.html
index 7858df8..d6901b3 100644
--- a/js/quest-log/index.html
+++ b/js/quest-log/index.html
@@ -6,7 +6,6 @@
     <meta name="description" content="Tracking quests...different from a todo list in some secret and special way, I'm sure.">
     <title>Quest Log</title>
     <style>
-        /* Basic styling for the application */
         @font-face {
             font-family: 'Shantell Sans';
             src: url('./ShantellSans.woff2') format('woff2');
@@ -25,6 +24,8 @@
         body {
             margin: 20px;
             font-size: 16px;
+            background-color: var(--background-color);
+            color: var(--text-color);
         }
         h1, h2, button {
             font-family: 'ChicagoFLF', sans-serif;
@@ -38,40 +39,43 @@
             flex: 1;
             padding: 10px;
             font-size: 16px;
-            border: 1px solid #ccc;
+            border: 1px solid var(--border-color);
             border-radius: 4px;
             box-sizing: border-box;
+            background-color: var(--quest-new-bg);
+            color: var(--text-color);
         }
         button {
             padding: 10px;
             font-size: 16px;
-            border: 1px solid #ccc;
+            border: 1px solid var(--border-color);
             border-radius: 4px;
             cursor: pointer;
         }
         #add-quest-button {
-            background-color: rgb(0, 128, 128);;
-            color: white;
+            background-color: var(--button-bg);
+            color: var(--button-text);
             margin-left: 10px;
             flex-shrink: 0;
         }
         #add-quest-button:hover {
-            background-color: rgba(0, 128, 128, 0.75);;
+            background-color: var(--button-hover);
         }
         .quest {
             padding: 10px;
-            border: 1px solid #ccc;
+            border: 1px solid var(--border-color);
             margin-bottom: 10px;
             display: flex;
             justify-content: space-between;
             align-items: center;
             box-sizing: border-box;
+            background-color: var(--quest-new-bg);
         }
         .quest.in-progress {
-            background-color: #ffffcc;
+            background-color: var(--quest-progress-bg);
         }
         .quest.complete {
-            background-color: #ccffcc;
+            background-color: var(--quest-complete-bg);
         }
         .hidden {
             display: none;
@@ -79,9 +83,60 @@
         button {
             margin-left: 10px;
         }
+        #theme-selector {
+            position: absolute;
+            top: 20px;
+            right: 20px;
+            padding: 5px;
+            border-radius: 4px;
+            border: 1px solid var(--border-color);
+            background-color: var(--quest-new-bg);
+            color: var(--text-color);
+        }
+        :root {
+            /* Light theme (default) */
+            --background-color: #ffffff;
+            --text-color: #000000;
+            --border-color: #ccc;
+            --button-bg: rgb(0, 128, 128);
+            --button-hover: rgba(0, 128, 128, 0.75);
+            --quest-new-bg: #ffffff;
+            --quest-progress-bg: #ffffcc;
+            --quest-complete-bg: #ccffcc;
+            --button-text: white;
+        }
+
+        [data-theme="dark"] {
+            --background-color: #240750;
+            --text-color: #ffffff;
+            --border-color: #344C64;
+            --button-bg: #57A6A1;
+            --button-hover: #577B8D;
+            --quest-new-bg: #344C64;
+            --quest-progress-bg: #577B8D;
+            --quest-complete-bg: #57A6A1;
+            --button-text: white;
+        }
+
+        [data-theme="bubblegum"] {
+            --background-color: #FFC1CC;
+            --text-color: #4a4a4a;
+            --border-color: #FFC1CC;
+            --button-bg: #EBFFC1;
+            --button-hover: #C1FFF4;
+            --quest-new-bg: #ffffff;
+            --quest-progress-bg: #C1FFF4;
+            --quest-complete-bg: #D5C1FF;
+            --button-text: #4a4a4a;
+        }
     </style>
 </head>
 <body>
+    <select id="theme-selector" onchange="changeTheme(this.value)">
+        <option value="light">Light</option>
+        <option value="dark">Dark</option>
+        <option value="bubblegum">Bubblegum</option>
+    </select>
     <h1>Quest Log</h1>
     <div id="quest-input">
         <input type="text" id="new-quest" placeholder="Enter new quest" />
x?h=hlt&id=6030d7e2e56d445ca67c6a0e8c9cf33e46bc673c'>^
6030d7e2 ^

261b1b80 ^
6030d7e2 ^
ee9a9237 ^
5e27c7f1 ^
6030d7e2 ^



dd9ba09a ^
6030d7e2 ^




9d27e966 ^
dd9ba09a ^
9d27e966 ^
6030d7e2 ^

9d27e966 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^


ee9a9237 ^
6030d7e2 ^


5e27c7f1 ^
b8475380 ^
ee9a9237 ^
6030d7e2 ^


3d6450f2 ^
3d6450f2 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^

9d27e966 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^


3d6450f2 ^

6030d7e2 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^

9d27e966 ^
6030d7e2 ^

ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
6030d7e2 ^


b31455f8 ^



6030d7e2 ^
9b16f190 ^
6030d7e2 ^
9b16f190 ^

438e5a0d ^



6ee77ba7 ^
ee9a9237 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159