This commit is contained in:
Oscar
2026-06-08 13:23:20 +03:00
commit 637dddf656
160 changed files with 56097 additions and 0 deletions

81
src/styles/main.scss Normal file
View File

@@ -0,0 +1,81 @@
// Import order: variables → typography → animations
@use 'variables' as *;
@use 'typography';
@use 'animations';
// ─── Global reset additions ──────────────────────────────────────────────────
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden; // Tauri + app shell handle scroll internally
}
#app {
height: 100%;
display: flex;
flex-direction: column;
}
// ─── Scrollbar styling ───────────────────────────────────────────────────────
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--color-dim);
border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-muted);
}
// ─── Selection ───────────────────────────────────────────────────────────────
::selection {
background: var(--color-signal);
color: var(--color-cream);
}
// ─── Focus visible ───────────────────────────────────────────────────────────
:focus-visible {
outline: 2px solid var(--color-signal);
outline-offset: 2px;
border-radius: var(--radius-xs);
}
// ─── Utility ─────────────────────────────────────────────────────────────────
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}