Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

add app.css for global styles and scrollbar customization

Tonhob50dab09caff
diff --git a/src/app.css b/src/app.css
new file mode 100644
index 00000000..341541c9
--- /dev/null
+++ b/src/app.css
@@ -0,0 +1,75 @@
+:root {
+ --bg: #0d0d0d;
+ --bg-secondary: #1a1a1a;
+ --bg-card: #1e1e1e;
+ --accent: #2E86C1;
+ --accent-hover: #3498db;
+ --text: #e0e0e0;
+ --text-muted: #888;
+ --border: #2a2a2a;
+ --sidebar-width: 60px;
+
+ font-family: system-ui, -apple-system, sans-serif;
+ font-size: 16px;
+ line-height: 1.5;
+ font-weight: 400;
+ color: var(--text);
+ background-color: var(--bg);
+
+ font-synthesis: none;
+ text-rendering: optimizeLegibility;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+*,
+*::before,
+*::after {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ min-height: 100vh;
+ overflow: hidden;
+}
+
+a {
+ color: inherit;
+ text-decoration: none;
+}
+
+button {
+ font-family: inherit;
+ cursor: pointer;
+ border: none;
+ background: none;
+ color: inherit;
+}
+
+input {
+ font-family: inherit;
+ border: none;
+ outline: none;
+ background: none;
+ color: inherit;
+}
+
+::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+}
+
+::-webkit-scrollbar-track {
+ background: var(--bg);
+}
+
+::-webkit-scrollbar-thumb {
+ background: #333;
+ border-radius: 3px;
+}
+
+::-webkit-scrollbar-thumb:hover {
+ background: #444;
+}