Skip to content
Draft
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
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.10.5"
version = "0.10.6"
edition = "2024"
authors = ["Black Meridian"]

Expand Down
17 changes: 9 additions & 8 deletions crates/flynt-app/assets/styles/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@
align-items: center;
gap: var(--space-2);
padding: var(--space-1) var(--space-3);
border: 1px solid transparent;
border-radius: var(--radius);
font-size: var(--font-size-sm);
font-weight: var(--font-weight-medium);
Expand All @@ -754,12 +755,12 @@

.btn-ghost {
background: transparent;
color: var(--muted-foreground);
color: var(--control-muted-fg, var(--muted-foreground));
}

.btn-ghost:hover {
background: var(--accent);
color: var(--foreground);
background: var(--control-hover);
color: var(--control-hover-fg, var(--foreground));
}

.btn-destructive {
Expand All @@ -773,20 +774,20 @@

/* ── Inputs ───────────────────────────────────────────────────────────────── */
.input {
background: var(--surface);
border: 1px solid var(--border);
background: var(--control-bg);
border: 1px solid var(--control-border);
border-radius: var(--radius);
padding: var(--space-2) var(--space-3);
font-size: var(--font-size-base);
color: var(--foreground);
color: var(--control-fg);
transition: border-color var(--duration-fast) var(--ease),
box-shadow var(--duration-fast) var(--ease);
width: 100%;
}

.input:focus {
border-color: var(--ring);
box-shadow: 0 0 0 2px rgba(42, 180, 200, 0.2);
border-color: var(--focus);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--focus) 24%, transparent);
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion crates/flynt-app/assets/styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

.toolbar-search {
width: 100%;
background: var(--surface);
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 4px var(--space-3);
Expand Down
8 changes: 4 additions & 4 deletions crates/flynt-app/assets/styles/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,16 @@ button:active:not(:disabled) {
}

::-webkit-scrollbar-thumb {
background: var(--dim);
background: var(--scrollbar-thumb, var(--dim));
border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
background: var(--muted-foreground);
background: var(--scrollbar-thumb-hover, var(--muted-foreground));
}

/* Selections */
::selection {
background: rgba(42, 180, 200, 0.25);
color: var(--foreground);
background: var(--selection);
color: var(--selection-foreground);
}
95 changes: 75 additions & 20 deletions crates/flynt-app/assets/styles/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
doesn't reflow content by ~15px. Without this, text rewrap
flickers as the operator moves the mouse near the right edge. */
scrollbar-gutter: stable;
background: var(--background);
background: var(--panel-bg);
color: var(--panel-fg);
}

/* Split layout: sidebar (left) + scrollable content (right).
Expand Down Expand Up @@ -47,8 +48,9 @@

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.settings-sidebar {
border-right: 1px solid var(--border);
background: var(--background);
border-right: 1px solid var(--chrome-border);
background: var(--chrome-bg);
color: var(--chrome-fg);
padding: var(--space-6) var(--space-3);
overflow-y: auto;
scrollbar-gutter: stable;
Expand All @@ -63,20 +65,24 @@
text-align: left;
padding: 6px 10px;
font-size: var(--font-size-sm);
color: var(--foreground);
color: var(--chrome-fg);
background: transparent;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background var(--duration-fast) var(--ease);
}

.settings-nav-item:hover { background: var(--surface, rgba(255,255,255,0.04)); }
.settings-nav-item:hover {
background: var(--control-hover);
color: var(--control-hover-fg, var(--foreground));
}

.settings-nav-item.active {
color: var(--primary);
background: var(--surface-active, rgba(42, 180, 200, 0.10));
color: var(--selection-foreground);
background: var(--selection);
font-weight: var(--font-weight-medium);
box-shadow: inset 3px 0 0 var(--primary);
}

.settings-nav-item.nested {
Expand Down Expand Up @@ -148,7 +154,7 @@
color: var(--muted-foreground);
margin-bottom: var(--space-4);
padding-bottom: var(--space-2);
border-bottom: 1px solid var(--border-dim);
border-bottom: 1px solid var(--divider);
}

/* ── Row ──────────────────────────────────────────────────────────────────── */
Expand Down Expand Up @@ -186,6 +192,12 @@
max-width: 120px;
}

.theme-import-input {
flex: 1 1 360px;
min-width: 260px;
max-width: 520px;
}

.settings-path {
font-family: var(--font-mono);
font-size: var(--font-size-sm);
Expand All @@ -202,6 +214,38 @@
}

/* ── Theme grid ───────────────────────────────────────────────────────────── */
.theme-stack {
display: flex;
flex-direction: column;
gap: var(--space-3);
}

.theme-actions {
display: flex;
align-items: center;
gap: var(--space-3);
flex-wrap: wrap;
}

.theme-actions .btn-ghost {
background: var(--control-bg);
border-color: var(--control-border);
color: var(--control-fg);
}

.theme-actions .btn-ghost:hover {
background: var(--control-hover);
border-color: var(--focus);
color: var(--control-hover-fg, var(--foreground));
}

.settings-inline-msg {
font-size: var(--font-size-sm);
}

.settings-inline-msg.ok { color: var(--success); }
.settings-inline-msg.err { color: var(--error); }

.theme-grid {
display: flex;
gap: var(--space-3);
Expand All @@ -215,8 +259,9 @@
gap: var(--space-2);
padding: var(--space-2);
border-radius: var(--radius-md);
border: 2px solid var(--border);
background: var(--card);
border: 2px solid var(--panel-border);
background: var(--elevated-bg);
color: var(--elevated-fg);
cursor: pointer;
transition: border-color var(--duration-fast) var(--ease),
box-shadow var(--duration-fast) var(--ease);
Expand Down Expand Up @@ -273,7 +318,13 @@
.theme-name {
font-size: var(--font-size-xs);
font-weight: var(--font-weight-medium);
color: var(--foreground);
color: var(--elevated-fg);
}

.theme-kind {
margin-top: calc(var(--space-1) * -1);
font-size: var(--font-size-xs);
color: var(--muted-foreground);
}

.theme-active-badge {
Expand All @@ -295,9 +346,9 @@
width: 40px;
height: 32px;
border-radius: var(--radius);
border: 1px solid var(--border);
background: var(--card);
color: var(--muted-foreground);
border: 1px solid var(--control-border);
background: var(--control-bg);
color: var(--control-muted-fg, var(--muted-foreground));
font-size: var(--font-size-sm);
font-weight: var(--font-weight-medium);
transition: border-color var(--duration-fast) var(--ease),
Expand All @@ -312,8 +363,8 @@

.font-size-btn.active {
border-color: var(--primary);
background: var(--accent);
color: var(--primary);
background: var(--selection);
color: var(--selection-foreground);
}

/* ── Sync radio ───────────────────────────────────────────────────────────── */
Expand Down Expand Up @@ -1214,6 +1265,10 @@
display: flex;
flex-direction: column;
position: relative;
background: var(--panel-bg);
color: var(--panel-fg);
border: 1px solid var(--panel-border);
box-shadow: 0 24px 80px color-mix(in srgb, var(--background) 70%, transparent);
}

/* Close button sits in the top-right of the modal, outside the split. */
Expand All @@ -1227,7 +1282,7 @@
border-radius: 4px;
border: none;
background: transparent;
color: var(--muted-foreground);
color: var(--control-muted-fg, var(--muted-foreground));
font-size: 22px;
line-height: 1;
cursor: pointer;
Expand All @@ -1236,15 +1291,15 @@
}

.settings-modal-close:hover {
background: var(--surface, rgba(255,255,255,0.06));
color: var(--foreground);
background: var(--control-hover);
color: var(--control-hover-fg, var(--foreground));
}

/* Settings root inside the modal: drop the outer height: 100% chain
and let the modal dimensions drive sizing. */
.settings-modal-dialog .settings-root {
height: 100%;
background: var(--background);
background: var(--panel-bg);
}

.settings-modal-dialog .settings-root-split {
Expand Down
1 change: 1 addition & 0 deletions crates/flynt-app/assets/styles/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
.tab.active {
background: var(--background);
color: var(--foreground);
box-shadow: inset 0 1px 0 var(--border);
}
/* Active indicator — bottom accent line like Obsidian */
.tab.active::after {
Expand Down
Loading
Loading