about summary refs log tree commit diff stats
path: root/html/matt-chat
diff options
context:
space:
mode:
Diffstat (limited to 'html/matt-chat')
-rw-r--r--html/matt-chat/index.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/html/matt-chat/index.html b/html/matt-chat/index.html
index 182e323..c76b6c6 100644
--- a/html/matt-chat/index.html
+++ b/html/matt-chat/index.html
@@ -772,6 +772,20 @@ Available commands:\n
             // Add the new theme class
             document.body.classList.add(`theme-${themeName}`);
             
+            // Update meta theme-color
+            const metaThemeColor = document.querySelector('meta[name="theme-color"]');
+            if (metaThemeColor) {
+                switch(themeName) {
+                    case 'molly-millions':
+                        metaThemeColor.setAttribute('content', '#00ff00');
+                        break;
+                    case 'professional':
+                    default:
+                        metaThemeColor.setAttribute('content', '#007BFF');
+                        break;
+                }
+            }
+            
             // Save to localStorage
             localStorage.setItem('selectedTheme', themeName);
             
b60999c ^

8126d82 ^
d394fd1 ^






8126d82 ^
d394fd1 ^
b60999c ^
8126d82 ^
b60999c ^
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