Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Tighten workspace chrome

Bittie06009f184ee
diff --git a/src/styles/library.css b/src/styles/library.css
index 2a72cda..064ae36 100644
--- a/src/styles/library.css
+++ b/src/styles/library.css
@@ -30,14 +30,9 @@
}
/* With the rail gone this is the app's only identity mark, so it is sized to
- read as one rather than as a leftover sidebar badge. Scaled from the
- transform origin so the artwork's internal proportions are untouched. */
+ read as one rather than as a leftover sidebar badge. */
.library__topbar .brand {
height: auto;
- transform: scale(1.35);
- transform-origin: left center;
- /* transform does not affect layout, so the row is told the real width. */
- margin-right: calc(var(--space-5) + 42px);
}
.library__content {
diff --git a/src/styles/shell.css b/src/styles/shell.css
index c238a4d..8574e33 100644
--- a/src/styles/shell.css
+++ b/src/styles/shell.css
@@ -50,7 +50,7 @@
(.pol-logo__perforations) and the mask that punches the holes out of the
plate (.pol-logo__ticket::before) both read these, so the holes and the
space reserved for them cannot drift apart. */
- --pol-ticket-h: 21px;
+ --pol-ticket-h: 28px;
--pol-perf-x: 3px;
--pol-perf-w: 4px;
--pol-perf-strip: 5px; /* the hole plus 1px of plate to its right */
@@ -62,7 +62,7 @@
the same soft corners the fallback rectangles carry. */
--pol-perf-hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'%3E%3Crect width='4' height='3' rx='1' fill='%23000'/%3E%3C/svg%3E");
- height: 29px;
+ height: 39px;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
@@ -109,7 +109,7 @@
width: 13px;
height: 13px;
right: -6px;
- top: 4px;
+ top: 7px;
border-radius: 2px;
background: linear-gradient(135deg, #075be3, #153bc5);
transform: rotate(45deg);
@@ -165,7 +165,7 @@
position: relative;
z-index: 2;
margin-left: 3px;
- font-size: var(--text-base);
+ font-size: var(--text-lg);
font-weight: 800;
line-height: 1;
letter-spacing: -1.5px;
@@ -177,7 +177,7 @@
margin-left: var(--space-2);
padding-left: 1px;
color: var(--text-primary);
- font-size: var(--text-md);
+ font-size: var(--text-xl);
font-weight: var(--weight-bold);
line-height: 1;
letter-spacing: -1.3px;
@@ -186,10 +186,15 @@
/* Compact mark: the ticket with a single P in it. One letter has room to be
read at icon size, so it takes the body size rather than the 12px floor. */
.pol-logo--compact {
+ --pol-ticket-h: 21px;
height: 29px;
padding: 4px 5px;
}
+.pol-logo--compact .pol-logo__ticket::after {
+ top: 4px;
+}
+
.pol-logo--compact .pol-logo__pols {
margin-right: 1px;
font-size: var(--text-base);
diff --git a/src/styles/tokens.css b/src/styles/tokens.css
index 4adf1a6..a424751 100644
--- a/src/styles/tokens.css
+++ b/src/styles/tokens.css
@@ -108,7 +108,7 @@
--field-height: 40px; /* text inputs, selects */
/* --- Layout ------------------------------------------------------------- */
- --topbar-height: 72px;
+ --topbar-height: 56px;
--content-max: 1180px;
/* --- Motion -------------------------------------------------------------
@@ -209,6 +209,15 @@
/* The dock's send button keeps a visible edge of its own. */
--dock-send-border: #5578ed;
+ /* --- Segmented control ---------------------------------------------------
+ The selected view tab is a chip raised off the track, not a blue plate.
+ Selection is elevation here, which frees the accent for the one committed
+ action on the screen. --segment-active-bg is a SURFACE step, so the 4.5:1
+ text rule does not apply to it; what has to clear is the label on it,
+ which is --text-primary at 14.2:1 dark / 18.4:1 light. */
+ --segment-active-bg: #1b2130;
+ --segment-active-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
+
/* --- Progress ----------------------------------------------------------- */
--track: #20252e;
--progress-fill: linear-gradient(90deg, #4468db, #7d9aff);
@@ -340,6 +349,9 @@
--button-primary-active: #1e40af; /* 8.7:1 */
--dock-send-border: #2d5bd7;
+ --segment-active-bg: #ffffff;
+ --segment-active-shadow: 0 1px 2px rgba(15, 23, 42, 0.10);
+
--track: #dfe3ec;
--progress-fill: linear-gradient(90deg, #1e4fd0, #4573e4);
--progress-glow: rgba(45, 91, 215, 0.35);
@@ -443,6 +455,9 @@
--button-primary-active: #1e40af;
--dock-send-border: #2d5bd7;
+ --segment-active-bg: #ffffff;
+ --segment-active-shadow: 0 1px 2px rgba(15, 23, 42, 0.10);
+
--track: #dfe3ec;
--progress-fill: linear-gradient(90deg, #1e4fd0, #4573e4);
--progress-glow: rgba(45, 91, 215, 0.35);
diff --git a/src/styles/workspace.css b/src/styles/workspace.css
index bb6a088..bbe0bfb 100644
--- a/src/styles/workspace.css
+++ b/src/styles/workspace.css
@@ -101,7 +101,7 @@
padding: var(--space-1);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
- background: var(--wash-1);
+ background: var(--wash-2);
}
.project-nav button {
@@ -118,7 +118,7 @@
color: var(--text-muted);
background: transparent;
font-size: var(--text-sm);
- font-weight: var(--weight-semibold);
+ font-weight: var(--weight-medium);
line-height: var(--leading-snug);
white-space: nowrap;
transition: 0.16s ease;
@@ -135,8 +135,11 @@
.project-nav button.active {
color: var(--text-primary);
- background: var(--accent-soft-strong);
- box-shadow: inset 0 0 0 1px var(--accent-line);
+ background: var(--segment-active-bg);
+ font-weight: var(--weight-semibold);
+ box-shadow:
+ inset 0 0 0 1px var(--line-strong),
+ var(--segment-active-shadow);
}
/* Running-generation count. */
@@ -144,10 +147,10 @@
flex: 0 0 auto;
min-width: 22px;
padding: 2px var(--space-2);
- border: 1px solid var(--accent-line);
+ border: 1px solid transparent;
border-radius: var(--radius-pill);
- color: var(--accent-bright);
- background: var(--accent-soft);
+ color: var(--text-secondary); /* 10.6:1 dark / 9.4:1 light on --panel-3 */
+ background: var(--panel-3);
font: var(--weight-medium) var(--text-2xs) / 1.4 var(--font-mono);
}