Skip to content

Fix floating panel shadows and chrome scope - #2687

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38309698019-floating-panel
Oct 12, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38309698019-floating-panel

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The experimental floating panel added in #2647 caused two failures in main CI run 38309698019. Its card and peek shadows used fixed colors outside the scheme's --shade token, and its mode rule named .lf-chrome outside the chrome stylesheet's scope. The former left dark-scheme elevation out of the shared color contract; the latter exposed a private chrome class to page styles.

This moves the mode rule inside @scope (.lf-chrome) and uses --shade for both elevation shadows. The generated chrome sheet is rebuilt with the source.

The two failed assertions passed before this push: test_every_shadow_the_layer_lifts_a_box_with_is_cast_in_the_scheme_s_own_ink and test_a_coined_class_cannot_reach_the_chromes_rules. test_the_panel_folds_to_the_leaf_and_stays_folded also passed, checking the opt-in panel after the selector move. This PR addresses the floating-panel cause; the run's sort-film and composer failures are separate.

@leaf-agent
leaf-agent merged commit c5f69f6 into main Oct 12, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38309698019-floating-panel branch October 12, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant