fix(goals/stepper): inactive connector line uses border-subdued

RUI audit: form-stepper progress line used `border-secondary` for
the inactive state — same weight as the active step's border, so
the active-step circle didn't visually pop against the line
connecting it to the inactive step. Recede passive states.

Swap to `border-subdued` (the DS's quieter divider) for the
inactive (step 1) line state. The active state stays `border-inverse`.
JS toggle in `goal_stepper_controller.js#updateStepperState` follows.
This commit is contained in:
Guillem Arias
2026-05-14 21:51:55 +02:00
parent 8e9a697b1f
commit ff98a9cee2
2 changed files with 2 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ export default class extends Controller {
}
if (this.hasStepperLineTarget) {
this.stepperLineTarget.classList.toggle("border-inverse", this.currentStep > 1);
this.stepperLineTarget.classList.toggle("border-secondary", this.currentStep === 1);
this.stepperLineTarget.classList.toggle("border-subdued", this.currentStep === 1);
}
// Modal subtitle lives in the dialog header, outside this controller's
// DOM scope. Locate it by attribute and update directly.