Repository navigation
Fix floating panel shadows and chrome scope - #2687
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
--shadetoken, and its mode rule named.lf-chromeoutside 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--shadefor 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_inkandtest_a_coined_class_cannot_reach_the_chromes_rules.test_the_panel_folds_to_the_leaf_and_stays_foldedalso 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.