Skip to content

Commit 2d90d59

Browse files
ergunshDevtools-frontend LUCI CQ
authored andcommitted
[Dialog] Make the dimmed background darker for dialogs
* Added `scrim` state color. * Used it in dimmed pane. Screenshot is in the last comment of b/403242786 Fixed: 403242786 Change-Id: I575e7aa2436b9dc2a9de4a533c9bfc97b50347ac Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6351920 Auto-Submit: Ergün Erdoğmuş <[email protected]> Reviewed-by: Kim-Anh Tran <[email protected]> Commit-Queue: Ergün Erdoğmuş <[email protected]>
1 parent 1173cb7 commit 2d90d59

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

front_end/design_system_tokens.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
--sys-color-state-on-header-hover: var(--ref-palette-primary20);
9393
--sys-color-state-text-highlight: var(--ref-palette-primary40);
9494
--sys-color-state-on-text-highlight: var(--ref-palette-neutral-variant100);
95+
--sys-color-state-scrim: rgb(0 0 0 / 60%);
9596

9697
/* Surfaces */
9798

front_end/ui/legacy/glassPane.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414

1515
:host-context(.dimmed-pane) {
16-
background-color: var(--color-background-opacity-50);
16+
background-color: var(--sys-color-state-scrim);
1717
}
1818

1919
:host-context(.no-pointer-events) {

0 commit comments

Comments
 (0)