Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 7aa06bb

Browse files
committed
add more friendly colours that work with the themes
1 parent 9d296da commit 7aa06bb

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

styles/base/compose.mcss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ Compose {
6161
}
6262
}
6363
input.contentWarning {
64+
border: 2px solid #ddd;
65+
border-radius: 3px;
6466
flex: 1;
6567
font-size: 120%
66-
padding: 3px 6px;
67-
border: 2px solid #ddd;
68-
padding-top: .3rem;
6968
margin-left: 5px;
7069
margin-right: 5px;
7170
min-width: 0;
71+
padding: 5px 6px;
7272
}
7373
(button) {
7474
-clear {

styles/dark/compose.mcss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@ Compose {
4141
content: "<path d="M13 14c0 2.21-1.79 4-4 4s-4-1.79-4-4V3c0-1.66 1.34-3 3-3s3 1.34 3 3v9c0 1.1-.9 2-2 2s-2-.9-2-2V4h1v8c0 .55.45 1 1 1s1-.45 1-1V3c0-1.1-.9-2-2-2s-2 .9-2 2v11c0 1.66 1.34 3 3 3s3-1.34 3-3V4h1v10z"/>"
4242
}
4343
}
44+
input.contentWarning {
45+
background-color: #2d2c2c;
46+
border: 2px solid #2d2c2c;
47+
color: #ccc
48+
[disabled] {
49+
opacity: 0.5
50+
}
51+
:focus {
52+
outline: 0
53+
}
54+
::-webkit-input-placeholder {
55+
color: #757474
56+
}
57+
}
4458
(button) {
4559
:hover {
4660
background: #6a9fba

styles/light/compose.mcss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Compose {
4949
content: '📎 Attach File'
5050
}
5151
}
52+
input.contentWarning {
53+
border: 2px solid #dedede8c;
54+
}
5255
}
5356
-expanded {
5457
textarea {

0 commit comments

Comments
 (0)