Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/ApiKeySetup.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
margin-top: 10px;
border-radius: var(--radius-sm);
border: none;
background: var(--accent);
color: var(--accent-fg);
background: var(--gradient);
color: #fff;
font-family: 'Syne', sans-serif;
font-size: 13px;
font-weight: 600;
Expand Down
12 changes: 8 additions & 4 deletions src/components/MicButton.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@
width: 56px;
height: 56px;
border-radius: 50%;
border: 2px solid var(--mic-idle);
background: transparent;
border: 2px solid transparent;
background:
linear-gradient(var(--bg), var(--bg)) padding-box,
conic-gradient(from var(--mic-angle), #6366f1, #a855f7, #ec4899, #6366f1) border-box;
animation: mic-spin 4s linear infinite;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
position: relative;
color: var(--mic-idle);
transition: border-color 0.25s, background 0.25s, transform 0.15s;
transition: background 0.25s, transform 0.15s;
flex-shrink: 0;
}

Expand All @@ -36,9 +39,10 @@
}

.mic-btn.recording {
border-color: var(--mic-active);
border: 2px solid var(--mic-active);
background: rgba(230, 62, 47, 0.06);
color: var(--mic-active);
animation: none;
}

.mic-btn.recording::before {
Expand Down
6 changes: 3 additions & 3 deletions src/components/SettingsModal.css
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@
}

.settings-toggle.on {
background: var(--accent);
border-color: var(--accent);
background: var(--gradient);
border-color: transparent;
}

.settings-toggle-thumb {
Expand All @@ -464,7 +464,7 @@

.settings-toggle.on .settings-toggle-thumb {
transform: translateX(18px);
background: var(--accent-fg);
background: #fff;
}

/* ── About tab ── */
Expand Down
15 changes: 9 additions & 6 deletions src/components/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,25 @@
gap: 10px;
padding: 10px 12px;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
background: var(--surface2);
color: var(--text);
border: none;
background: var(--gradient);
color: #fff;
font-family: 'Syne', sans-serif;
font-size: 13px;
font-weight: 500;
cursor: pointer;
width: 100%;
text-align: left;
transition: background 0.2s, border-color 0.2s;
transition: opacity 0.2s, transform 0.15s;
white-space: nowrap;
}

.sidebar-new-btn:hover {
background: var(--border);
border-color: var(--text-muted);
opacity: 0.88;
}

.sidebar-new-btn:active {
transform: scale(0.98);
}

/* ── Conversation list ── */
Expand Down
15 changes: 15 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,21 @@ body.dark {
--shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
}

/* ── Gradient accent ── */
@property --mic-angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}

:root {
--gradient: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
}

@keyframes mic-spin {
to { --mic-angle: 360deg; }
}

@keyframes fadeUp {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
Expand Down