themify contact section on leftPane

This commit is contained in:
Audric Ackermann 2020-08-24 14:41:37 +10:00
parent 5bede47608
commit ea808bf41b
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4
3 changed files with 16 additions and 14 deletions

View File

@ -423,12 +423,6 @@ $session-compose-margin: 20px;
flex: 1;
.module-conversation-list-item {
background-color: $session-shade-4;
&--is-selected {
background-color: $session-shade-5;
}
&__header__date,
&__message {
display: none;
@ -448,10 +442,6 @@ $session-compose-margin: 20px;
}
}
&-content {
@include session-dark-background-lighter;
}
&-bottom-buttons {
@include bottom-buttons();
@ -552,7 +542,9 @@ $session-compose-margin: 20px;
margin: 50px 0 50px;
.panel-text-divider-line {
border-bottom: 1px solid $session-color-dark-grey;
@include themify($themes) {
border-bottom: 1px solid themed('pillDividerColor');
}
line-height: 0.1em;
flex-grow: 1;
height: 1px;
@ -562,8 +554,10 @@ $session-compose-margin: 20px;
span {
padding: 5px 10px;
border-radius: 50px;
color: $session-color-light-grey;
border: 1px solid $session-color-dark-grey;
@include themify($themes) {
color: themed('pillDividerTextColor');
border: 1px solid themed('pillDividerColor');
}
font-family: $session-font-default;
font-size: $session-font-sm;
}

View File

@ -269,7 +269,9 @@
outline: 0;
border: none;
background: transparent;
color: #fff;
@include themify($themes) {
color: themed('textColor');
}
font-size: 15px;
line-height: 18px;
text-align: center;

View File

@ -44,6 +44,9 @@ $themes: (
// scrollbars
scrollBarTrack: #fcfcfc,
scrollBarThumb: #474646,
// pill divider:
pillDividerColor: #0000001a,
pillDividerTextColor: #555,
),
dark: (
accent: #00f782,
@ -88,6 +91,9 @@ $themes: (
// scrollbars
scrollBarTrack: #1b1b1b,
scrollBarThumb: #474646,
// pill divider:
pillDividerColor: #353535,
pillDividerTextColor: #a0a0a0,
),
);