Skip to content

Commit 9baaac2

Browse files
committed
feat(ui): transparent window and rounded corners for Tauri
- Add drag-region helpers (.tauri-drag/.tauri-no-drag)\n- Apply transparent background and clip-path rounding\n- Define theme tokens and typography utilities\n- Refine scrollbars and markdown editor/prose styles
1 parent 11ef1b0 commit 9baaac2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/styles.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ html, body {
1010
background-color: rgba(0, 0, 0, 0);
1111
}
1212

13+
/* Tauri drag region helpers */
14+
.tauri-drag {
15+
-webkit-app-region: drag;
16+
}
17+
18+
.tauri-no-drag {
19+
-webkit-app-region: no-drag;
20+
}
21+
1322
/* Apply rounded corners and background to body */
1423
body {
1524
border-radius: var(--radius-lg);
@@ -966,4 +975,4 @@ code::-webkit-scrollbar-thumb:hover {
966975

967976
.image-move-to-input {
968977
animation: moveToInput 0.8s ease-in-out forwards;
969-
}
978+
}

0 commit comments

Comments
 (0)