Skip to content

Commit 2995797

Browse files
BHUVANSH855crisbeto
authored andcommitted
fix(multiple): improve dark theme visibility in menu, overlay, and portal examples (#33367)
(cherry picked from commit eb2c033)
1 parent cd5fe56 commit 2995797

4 files changed

Lines changed: 15 additions & 2 deletions

File tree

src/components-examples/cdk/menu/cdk-menu-nested-context/cdk-menu-nested-context-example.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.example-context-area {
22
display: inline-grid;
3-
border: 2px dashed black;
3+
border: 2px dashed white;
44
}
55

66
.example-context-area .example-context-area {

src/components-examples/cdk/menu/cdk-menu-standalone-menu/cdk-menu-standalone-menu-example.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@
2424
flex: 1;
2525
}
2626

27+
.example-standalone-trigger {
28+
background-color: rgb(239, 239, 239);
29+
}
30+
31+
.example-standalone-trigger:hover {
32+
background-color: rgb(208, 208, 208);
33+
}
34+
35+
.example-standalone-trigger:active {
36+
background-color: rgb(170, 170, 170);
37+
}
38+
2739
.example-menu-item:hover {
2840
background-color: rgb(208, 208, 208);
2941
}

src/components-examples/cdk/overlay/cdk-overlay-basic/cdk-overlay-basic-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
border: solid 1px #ccc;
44
border-radius: 5px;
55
background: #fff;
6+
color: CanvasText;
67
text-align: center;
78
padding: 10px;
89
margin: 0;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.example-portal-outlet {
22
margin-bottom: 10px;
33
padding: 10px;
4-
border: 1px dashed black;
4+
border: 1px dashed white;
55
width: 250px;
66
height: 250px;
77
}

0 commit comments

Comments
 (0)