fix RTE dark theme

pull/3272/head
Matthew Hodgson 2017-02-20 01:27:05 +02:00
parent 5951e8fb27
commit f91f5cb65e
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,7 @@
// XXX: bleurgh, what is this? These classes totally break the component
// naming scheme; it's completely unclear where or how they're being used
// --Matthew
.mx_UserPill { .mx_UserPill {
color: white; color: white;
background-color: $accent-color; background-color: $accent-color;
@ -25,13 +29,13 @@
padding: .2em 0; padding: .2em 0;
margin: 0; margin: 0;
font-size: 85%; font-size: 85%;
background-color: rgba(0,0,0,.04); background-color: $rte-code-bg-color;
border-radius: 3px; border-radius: 3px;
} }
.mx_Markdown_HR { .mx_Markdown_HR {
display: block; display: block;
background: #e7e7e7; background: $rte-bg-color;
} }
.mx_Markdown_STRIKETHROUGH { .mx_Markdown_STRIKETHROUGH {

View File

@ -74,6 +74,9 @@ $settings-grey-fg-color: #a2a2a2;
$voip-decline-color: #f48080; $voip-decline-color: #f48080;
$voip-accept-color: #80f480; $voip-accept-color: #80f480;
$rte-bg-color: #e9e9e9;
$rte-code-bg-color: rgba(0, 0, 0, 0.04);
// ******************** // ********************
$roomtile-name-color: rgba(69, 69, 69, 0.8); $roomtile-name-color: rgba(69, 69, 69, 0.8);

View File

@ -74,6 +74,9 @@ $settings-grey-fg-color: #a2a2a2;
$voip-decline-color: #f48080; $voip-decline-color: #f48080;
$voip-accept-color: #80f480; $voip-accept-color: #80f480;
$rte-bg-color: #353535;
$rte-code-bg-color: #000;
// ******************** // ********************
$roomtile-name-color: rgba(186, 186, 186, 0.8); $roomtile-name-color: rgba(186, 186, 186, 0.8);