feat: add Tauri desktop chat app with React + TypeScript

This commit is contained in:
Evandro Fonseca Junior committed 2026-03-26 21:05:41 -03:00
1 parent d8c5697f39
commit ee3980436b
4132 files changed
+1163398

No files matched your search

@@ -0,0 +1,92 @@
/* Edit mode */
.msg-edit-container {
width: 100%;
max-width: 780px;
}
.msg-edit-textarea {
width: 100%;
background: var(--bg3);
border: 1px solid var(--accent);
border-radius: var(--radius);
color: var(--text);
font-size: 0.9rem;
font-family: inherit;
padding: 10px 14px;
resize: none;
min-height: 80px;
outline: none;
line-height: 1.6;
}
.msg-edit-actions {
display: flex;
gap: 6px;
margin-top: 8px;
}
.btn-primary {
background: var(--accent);
color: #fff;
border: none;
border-radius: var(--radius-sm);
padding: 6px 14px;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
font-family: inherit;
transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent2); }
.btn-secondary {
background: var(--bg4);
color: var(--text2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 6px 14px;
font-size: 0.8rem;
cursor: pointer;
font-family: inherit;
transition: background 0.15s;
}
.btn-secondary:hover { background: var(--bg5); color: var(--text); }
.btn-ghost {
background: none;
color: var(--text3);
border: none;
border-radius: var(--radius-sm);
padding: 6px 10px;
font-size: 0.8rem;
cursor: pointer;
font-family: inherit;
transition: color 0.15s;
}
.btn-ghost:hover { color: var(--text2); }
/* Message actions */
.msg-actions {
display: flex;
gap: 4px;
margin-top: 5px;
opacity: 0;
transition: opacity 0.15s;
}
.msg-wrapper:hover .msg-actions { opacity: 1; }
.action-btn {
background: none;
border: 1px solid var(--border);
color: var(--text2);
border-radius: var(--radius-sm);
padding: 3px 9px;
font-size: 0.72rem;
cursor: pointer;
transition: all 0.15s;
font-family: inherit;
white-space: nowrap;
}
.action-btn:hover { background: var(--bg3); color: var(--text); border-color: var(--border2); }
.action-btn.copied { color: var(--success); border-color: var(--success); }
.action-btn.danger:hover { background: rgba(240,64,64,0.1); color: var(--danger); border-color: var(--danger); }