diff --git a/CLAUDE.md b/CLAUDE.md
index 4a36acf..e9b1a8b 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -25,12 +25,12 @@ This is a Next.js web application that controls multiple OBS Source Switchers. I
- **Backend**: Next.js API routes
- **Database**: SQLite with sqlite3 driver
- **OBS Integration**: obs-websocket-js for WebSocket communication with OBS Studio
-- **Styling**: Custom CSS with Tailwind CSS utilities and modern glass card components
+- **Styling**: Solarized Dark theme with CSS custom properties, Tailwind CSS utilities, and accessible glass morphism components
### Project Structure
- `/app` - Next.js App Router pages and API routes
- `/api` - Backend API endpoints for stream management
- - `/add` - Streams management page (add new streams and view existing)
+ - `/streams` - Streams management page (add new streams and view existing)
- `/teams` - Team management page
- `/edit/[id]` - Individual stream editing
- `/components` - Reusable React components (Header, Footer, Dropdown)
@@ -53,7 +53,11 @@ This is a Next.js web application that controls multiple OBS Source Switchers. I
- WebSocket API for direct OBS control (source creation, status monitoring)
- Text file system for OBS Source Switcher plugin integration (source switching)
-4. **Glass Morphism UI Architecture**: Modern design system with backdrop blur effects, gradient backgrounds, and responsive glass card components
+4. **Solarized Dark Design System**: Accessible colorblind-friendly theme based on Solarized Dark palette with:
+ - High contrast ratios (7.5:1+) meeting WCAG AAA standards
+ - CSS custom properties for maintainable theming
+ - Glass morphism effects with proper backdrop blur
+ - Distinctive active navigation states for clear wayfinding
5. **Screen Position Management**: Seven distinct screen positions (large, left, right, topLeft, topRight, bottomLeft, bottomRight) with individual source control
diff --git a/app/globals.css b/app/globals.css
index 013862a..955ad62 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -2,6 +2,26 @@
@tailwind components;
@tailwind utilities;
+/* Solarized Dark Theme Variables */
+:root {
+ --solarized-base03: #002b36;
+ --solarized-base02: #073642;
+ --solarized-base01: #586e75;
+ --solarized-base00: #657b83;
+ --solarized-base0: #839496;
+ --solarized-base1: #93a1a1;
+ --solarized-base2: #eee8d5;
+ --solarized-base3: #fdf6e3;
+ --solarized-blue: #268bd2;
+ --solarized-cyan: #2aa198;
+ --solarized-green: #859900;
+ --solarized-yellow: #b58900;
+ --solarized-orange: #cb4b16;
+ --solarized-red: #dc322f;
+ --solarized-magenta: #d33682;
+ --solarized-violet: #6c71c4;
+}
+
/* Modern CSS Foundation */
* {
margin: 0;
@@ -14,25 +34,25 @@ html {
}
body {
- background: linear-gradient(135deg, #1e293b 0%, #312e81 50%, #1e293b 100%);
- color: white;
+ background: linear-gradient(135deg, #002b36 0%, #073642 50%, #002b36 100%);
+ color: #93a1a1;
min-height: 100vh;
line-height: 1.6;
}
/* Glass Card Component */
.glass {
- background: rgba(255, 255, 255, 0.1);
+ background: rgba(7, 54, 66, 0.4);
backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.2);
+ border: 1px solid rgba(88, 110, 117, 0.3);
border-radius: 16px;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
/* Modern Button System */
.btn {
- background: linear-gradient(135deg, #3b82f6, #1d4ed8);
- color: white;
+ background: linear-gradient(135deg, #268bd2, #2aa198);
+ color: #fdf6e3;
border: none;
padding: 12px 24px;
border-radius: 12px;
@@ -50,13 +70,16 @@ body {
}
.btn.active {
- background: linear-gradient(135deg, #1d4ed8, #1e40af);
- box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
+ background: linear-gradient(135deg, #859900, #b58900);
+ color: #fdf6e3;
+ box-shadow: 0 0 0 3px rgba(133, 153, 0, 0.5);
+ transform: translateY(-1px);
+ font-weight: 700;
}
.btn:hover {
transform: translateY(-1px);
- box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
+ box-shadow: 0 6px 20px rgba(38, 139, 210, 0.4);
}
.btn:disabled {
@@ -68,38 +91,38 @@ body {
/* Secondary Button */
.btn-secondary {
- background: rgba(255, 255, 255, 0.1);
- border: 1px solid rgba(255, 255, 255, 0.2);
- color: white;
+ background: rgba(88, 110, 117, 0.3);
+ border: 1px solid rgba(131, 148, 150, 0.4);
+ color: #93a1a1;
backdrop-filter: blur(10px);
}
.btn-secondary:hover {
- background: rgba(255, 255, 255, 0.2);
- border-color: rgba(255, 255, 255, 0.3);
- box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
+ background: rgba(88, 110, 117, 0.5);
+ border-color: rgba(131, 148, 150, 0.6);
+ box-shadow: 0 6px 20px rgba(88, 110, 117, 0.3);
}
/* Success Button */
.btn-success {
- background: linear-gradient(135deg, #10b981, #059669);
- color: white;
+ background: linear-gradient(135deg, #859900, #b58900);
+ color: #fdf6e3;
}
.btn-success:hover {
- background: linear-gradient(135deg, #059669, #047857);
- box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
+ background: linear-gradient(135deg, #b58900, #859900);
+ box-shadow: 0 6px 20px rgba(133, 153, 0, 0.4);
}
/* Danger Button */
.btn-danger {
- background: linear-gradient(135deg, #ef4444, #dc2626);
- color: white;
+ background: linear-gradient(135deg, #dc322f, #cb4b16);
+ color: #fdf6e3;
}
.btn-danger:hover {
- background: linear-gradient(135deg, #dc2626, #b91c1c);
- box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
+ background: linear-gradient(135deg, #cb4b16, #dc322f);
+ box-shadow: 0 6px 20px rgba(220, 50, 47, 0.4);
}
/* Small Button */
@@ -143,32 +166,32 @@ body {
/* Input Styling */
.input {
- background: rgba(255, 255, 255, 0.1);
- border: 1px solid rgba(255, 255, 255, 0.2);
+ background: rgba(7, 54, 66, 0.6);
+ border: 1px solid rgba(88, 110, 117, 0.4);
border-radius: 12px;
padding: 12px 16px;
- color: white;
+ color: #93a1a1;
width: 100%;
transition: all 0.3s ease;
}
.input::placeholder {
- color: rgba(255, 255, 255, 0.6);
+ color: rgba(131, 148, 150, 0.6);
}
.input:focus {
outline: none;
- border-color: #3b82f6;
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
+ border-color: #268bd2;
+ box-shadow: 0 0 0 3px rgba(38, 139, 210, 0.2);
}
/* Dropdown Styling */
.dropdown-button {
- background: rgba(255, 255, 255, 0.1);
- border: 1px solid rgba(255, 255, 255, 0.2);
+ background: rgba(7, 54, 66, 0.6);
+ border: 1px solid rgba(88, 110, 117, 0.4);
border-radius: 12px;
padding: 12px 16px;
- color: white;
+ color: #93a1a1;
width: 100%;
text-align: left;
cursor: pointer;
@@ -179,24 +202,25 @@ body {
}
.dropdown-button:hover {
- background: rgba(255, 255, 255, 0.15);
+ background: rgba(7, 54, 66, 0.8);
}
.dropdown-menu {
- background: rgba(255, 255, 255, 0.1);
+ background: rgba(0, 43, 54, 0.95);
backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.2);
+ border: 1px solid rgba(88, 110, 117, 0.4);
border-radius: 12px;
margin-top: 4px;
overflow: hidden;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.dropdown-item {
padding: 12px 16px;
cursor: pointer;
transition: all 0.2s ease;
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ border-bottom: 1px solid rgba(88, 110, 117, 0.2);
+ color: #93a1a1;
}
.dropdown-item:last-child {
@@ -204,12 +228,12 @@ body {
}
.dropdown-item:hover {
- background: rgba(255, 255, 255, 0.15);
+ background: rgba(38, 139, 210, 0.3);
}
.dropdown-item.active {
- background: rgba(59, 130, 246, 0.2);
- color: #93c5fd;
+ background: rgba(38, 139, 210, 0.3);
+ color: #fdf6e3;
}
/* Icon Sizes */
@@ -275,7 +299,7 @@ body {
.subtitle {
font-size: 1.125rem;
- color: rgba(255, 255, 255, 0.8);
+ color: rgba(131, 148, 150, 0.9);
text-align: center;
margin-bottom: 32px;
}
diff --git a/app/add/page.tsx b/app/streams/page.tsx
similarity index 100%
rename from app/add/page.tsx
rename to app/streams/page.tsx
diff --git a/components/Header.tsx b/components/Header.tsx
index ba380cc..6f6a908 100644
--- a/components/Header.tsx
+++ b/components/Header.tsx
@@ -36,8 +36,8 @@ export default function Header() {
🎥
Streams