cinny/purple-theme-demo.html
Azi Mandias d25cc7250b Add sliding sync support and change font to SF Pro Display
- Enable sliding sync in config.json with matrix.org proxy
- Update font from InterVariable to SF Pro Display
- Add sliding sync state management with Jotai atoms
- Create bridge between sliding sync and existing room list atoms
- Add sliding sync settings UI in General settings
- Implement purple theme with gradient enhancements
- Add synchronization status display for sliding sync
- Update client initialization to support sliding sync

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 12:38:13 -04:00

262 lines
No EOL
8.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cinny Purple Theme - Applied</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #1A1B23;
color: #FFFFFF;
line-height: 1.6;
padding: 40px 20px;
min-height: 100vh;
}
.container {
max-width: 800px;
margin: 0 auto;
}
.header {
text-align: center;
margin-bottom: 40px;
}
.main-title {
font-size: 2.5em;
font-weight: 800;
background: linear-gradient(135deg, #6B46FF, #9D5EFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 15px;
}
.subtitle {
font-size: 1.1em;
color: #B0B3C1;
margin-bottom: 30px;
}
.demo-section {
background: #2A2B35;
border-radius: 16px;
padding: 30px;
margin-bottom: 30px;
border: 1px solid #3A3B47;
transition: all 0.3s ease;
}
.demo-section:hover {
border-color: #6B46FF;
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(107, 70, 255, 0.2);
}
.section-title {
font-size: 1.3em;
font-weight: 700;
margin-bottom: 20px;
color: #FFFFFF;
border-bottom: 2px solid #6B46FF;
padding-bottom: 10px;
}
.button-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 20px;
}
.demo-button {
padding: 14px 24px;
border: none;
border-radius: 10px;
font-weight: 600;
font-size: 0.95em;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.demo-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
transition: left 0.5s ease;
}
.demo-button:hover::before {
left: 100%;
}
.primary-gradient {
background: linear-gradient(135deg, #6B46FF, #9D5EFF);
color: #FFFFFF;
box-shadow: 0 4px 15px rgba(107, 70, 255, 0.3);
}
.primary-gradient:hover {
background: linear-gradient(135deg, #5A3AE5, #8B4FE6);
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(107, 70, 255, 0.5);
}
.secondary {
background: transparent;
border: 2px solid #6B46FF;
color: #6B46FF;
}
.secondary:hover {
background: #6B46FF;
color: #FFFFFF;
transform: translateY(-2px);
}
.card-demo {
background: linear-gradient(135deg, rgba(107, 70, 255, 0.1), rgba(157, 94, 255, 0.05));
border: 1px solid rgba(107, 70, 255, 0.2);
border-radius: 12px;
padding: 20px;
margin-bottom: 15px;
transition: all 0.3s ease;
}
.card-demo:hover {
background: linear-gradient(135deg, rgba(107, 70, 255, 0.15), rgba(157, 94, 255, 0.08));
border: 1px solid rgba(107, 70, 255, 0.3);
transform: translateY(-1px);
box-shadow: 0 8px 25px rgba(107, 70, 255, 0.2);
}
.nav-item {
background: #3A3B47;
padding: 12px 20px;
border-radius: 8px;
margin-bottom: 8px;
transition: all 0.3s ease;
cursor: pointer;
}
.nav-item:hover {
background: linear-gradient(135deg, rgba(107, 70, 255, 0.15), rgba(157, 94, 255, 0.08));
border-left: 3px solid #6B46FF;
}
.nav-item.active {
background: linear-gradient(135deg, rgba(107, 70, 255, 0.2), rgba(157, 94, 255, 0.1));
border-left: 3px solid #6B46FF;
}
.input-demo {
background: #2A2B35;
border: 1px solid #3A3B47;
border-radius: 8px;
padding: 12px 16px;
color: #FFFFFF;
width: 100%;
margin-bottom: 15px;
transition: all 0.3s ease;
}
.input-demo:focus {
outline: none;
border: 1px solid #6B46FF;
box-shadow: 0 0 0 3px rgba(107, 70, 255, 0.1);
}
.status-message {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
border: 1px solid rgba(16, 185, 129, 0.3);
border-radius: 8px;
padding: 15px;
color: #10B981;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1 class="main-title">Cinny Purple Theme</h1>
<p class="subtitle">🎨 Successfully Applied to Cinny Matrix Client</p>
</div>
<div class="demo-section">
<h2 class="section-title">Primary Buttons & Actions</h2>
<div class="button-grid">
<button class="demo-button primary-gradient">Start a Chat</button>
<button class="demo-button primary-gradient">Join Room</button>
<button class="demo-button secondary">View Settings</button>
<button class="demo-button secondary">Cancel</button>
</div>
</div>
<div class="demo-section">
<h2 class="section-title">Navigation & Room Cards</h2>
<div class="nav-item active">🏠 Home</div>
<div class="nav-item">💬 Direct Messages</div>
<div class="nav-item">🏢 Workspaces</div>
<div class="card-demo">
<strong>#general</strong><br>
<small style="color: #B0B3C1;">Latest: Welcome to the purple theme!</small>
</div>
<div class="card-demo">
<strong>#development</strong><br>
<small style="color: #B0B3C1;">Latest: Theme looks amazing 🎨</small>
</div>
</div>
<div class="demo-section">
<h2 class="section-title">Input Fields & Forms</h2>
<input type="text" class="input-demo" placeholder="Search rooms..." />
<input type="text" class="input-demo" placeholder="Type a message..." />
<button class="demo-button primary-gradient">Send Message</button>
</div>
<div class="status-message">
<strong>Purple Theme Successfully Applied!</strong><br>
The refined purple color scheme has been integrated into Cinny with gradient buttons,
enhanced cards, and beautiful purple accents throughout the interface.
</div>
</div>
<script>
// Add some interactive behavior
document.querySelectorAll('.demo-button').forEach(button => {
button.addEventListener('click', () => {
button.style.transform = 'scale(0.95)';
setTimeout(() => {
button.style.transform = '';
}, 150);
});
});
// Simulate typing in inputs
document.querySelectorAll('.input-demo').forEach(input => {
input.addEventListener('focus', () => {
input.style.background = '#3A3B47';
});
input.addEventListener('blur', () => {
input.style.background = '#2A2B35';
});
});
</script>
</body>
</html>