Add rudimentary dark theme support

This commit is contained in:
Travis Ralston 2020-06-12 13:52:54 -06:00
parent 510f98b8b0
commit f9a4151a6e
6 changed files with 40 additions and 16 deletions

View file

@ -16,12 +16,10 @@ limitations under the License.
// TODO: Rename to mx_LeftPanel during replacement of old component
// TODO: Put these variables in the right place, or namespace them.
$tagPanelWidth: 70px;
$roomListMinimizedWidth: 50px;
$tagPanelWidth: 70px; // only applies in this file, used for calculations
.mx_LeftPanel2 {
background-color: $header-panel-bg-color;
background-color: $roomlist2-bg-color;
min-width: 260px;
max-width: 50%;
@ -108,7 +106,7 @@ $roomListMinimizedWidth: 50px;
width: 28px;
height: 28px;
border-radius: 20px;
background-color: #fff; // TODO: Variable and theme
background-color: $roomlist2-button-bg-color;
position: relative;
margin-left: 8px;

View file

@ -18,7 +18,7 @@ limitations under the License.
.mx_RoomSearch {
flex: 1;
border-radius: 20px;
background-color: #fff; // TODO: Variable & theme
background-color: $roomlist2-button-bg-color;
height: 26px;
padding: 2px;