Skip to content

Commit 42f98a5

Browse files
crisbetojelbourn
authored andcommitted
docs(drag-drop): text blending in with card on dark theme (#12922)
Fixes the text inside the drag&drop boxes blending in on a dark theme.
1 parent fbee9c7 commit 42f98a5

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

src/material-examples/cdk-drag-drop-axis-lock/cdk-drag-drop-axis-lock-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
width: 200px;
33
height: 200px;
44
border: solid 1px #ccc;
5+
color: rgba(0, 0, 0, 0.87);
56
cursor: move;
67
display: inline-flex;
78
justify-content: center;

src/material-examples/cdk-drag-drop-connected-sorting/cdk-drag-drop-connected-sorting-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
.box {
1919
padding: 20px 10px;
2020
border-bottom: solid 1px #ccc;
21+
color: rgba(0, 0, 0, 0.87);
2122
display: flex;
2223
flex-direction: row;
2324
align-items: center;

src/material-examples/cdk-drag-drop-custom-preview/cdk-drag-drop-custom-preview-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
.box {
1313
padding: 20px 10px;
1414
border-bottom: solid 1px #ccc;
15+
color: rgba(0, 0, 0, 0.87);
1516
display: flex;
1617
flex-direction: row;
1718
align-items: center;

src/material-examples/cdk-drag-drop-handle/cdk-drag-drop-handle-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
padding: 10px;
55
box-sizing: border-box;
66
border: solid 1px #ccc;
7+
color: rgba(0, 0, 0, 0.87);
78
display: flex;
89
justify-content: center;
910
align-items: center;

src/material-examples/cdk-drag-drop-horizontal-sorting/cdk-drag-drop-horizontal-sorting-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
.box {
1414
padding: 20px 10px;
1515
border-right: solid 1px #ccc;
16+
color: rgba(0, 0, 0, 0.87);
1617
display: flex;
1718
flex-direction: row;
1819
align-items: center;

src/material-examples/cdk-drag-drop-overview/cdk-drag-drop-overview-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
width: 200px;
33
height: 200px;
44
border: solid 1px #ccc;
5+
color: rgba(0, 0, 0, 0.87);
56
cursor: move;
67
display: flex;
78
justify-content: center;

src/material-examples/cdk-drag-drop-root-element/cdk-drag-drop-root-element-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
width: 200px;
33
height: 200px;
44
border: solid 1px #ccc;
5+
color: rgba(0, 0, 0, 0.87);
56
cursor: move;
67
display: flex;
78
justify-content: center;

src/material-examples/cdk-drag-drop-sorting/cdk-drag-drop-sorting-example.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
.box {
1313
padding: 20px 10px;
1414
border-bottom: solid 1px #ccc;
15+
color: rgba(0, 0, 0, 0.87);
1516
display: flex;
1617
flex-direction: row;
1718
align-items: center;

0 commit comments

Comments
 (0)