Skip to content

Commit f89fe4f

Browse files
committed
when we set an explicit form foreground colour, set an explicit background one too to prevent system-level dark themes on Linux etc making the foreground text unreadable
1 parent adb6ab3 commit f89fe4f

File tree

5 files changed

+4
-12
lines changed

5 files changed

+4
-12
lines changed

src/skins/vector/css/common.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,5 @@ input[type=text]:focus, textarea:focus {
207207
border: 1px solid #f0f0f0;
208208
padding: 9px;
209209
color: #454545;
210+
background-color: #fff;
210211
}

src/skins/vector/css/matrix-react-sdk/views/dialogs/SetDisplayNameDialog.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ limitations under the License.
1919
border: 1px solid #f0f0f0;
2020
padding: 9px;
2121
color: #454545;
22+
background-color: #fff;
2223
font-size: 15px;
2324
}

src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ limitations under the License.
5757
-webkit-box-shadow: none;
5858
-moz-box-shadow: none;
5959
box-shadow: none;
60+
background-color: #fff;
6061

6162
/* needed for FF */
6263
font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;

src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,6 @@ limitations under the License.
4747
margin-bottom: 10px;
4848
}
4949

50-
/*
51-
.mx_RoomSettings input,
52-
.mx_RoomSettings textarea {
53-
border-radius: 3px;
54-
border: 1px solid #c7c7c7;
55-
font-weight: 300;
56-
font-size: 13px;
57-
padding: 9px;
58-
margin-top: 6px;
59-
}
60-
*/
61-
6250
.mx_RoomSettings .mx_RoomSettings_toggles label {
6351
margin-bottom: 8px;
6452
display: block;

src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ limitations under the License.
2828
border: 1px solid #f0f0f0;
2929
padding: 9px;
3030
color: #454545;
31+
background-color: #fff;
3132
margin-left: 3px;
3233
font-size: 15px;
3334
margin-bottom: 8px;

0 commit comments

Comments
 (0)