Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Iterate space panel colours to match Figma
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Nov 22, 2021
1 parent 7a3914f commit 691daa7
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions res/css/structures/_SpacePanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $gutterSize: 16px;
$activeBorderTransparentGap: 1px;

$activeBackgroundColor: $panel-actions;
$activeBorderColor: $secondary-content;
$activeBorderColor: $primary-content;

.mx_SpacePanel {
background-color: $groupFilterPanel-bg-color;
Expand Down Expand Up @@ -194,10 +194,10 @@ $activeBorderColor: $secondary-content;
&.mx_SpaceButton_people,
&.mx_SpaceButton_orphans {
.mx_SpaceButton_icon {
background-color: #ffffff;
background-color: $panel-actions;

&::before {
background-color: #3f3d3d;
background-color: $secondary-content;
}
}
}
Expand Down Expand Up @@ -259,6 +259,30 @@ $activeBorderColor: $secondary-content;
}
}

.mx_SpaceTreeLevel {
.mx_BaseAvatar_initial {
color: $secondary-content;
width: 32px;
height: 32px;
border-radius: 8px;
background-color: $panel-actions;
font-size: $font-15px !important; // override inline style
font-weight: $font-semi-bold;
line-height: $font-18px;

& + .mx_BaseAvatar_image {
visibility: hidden;
}
}

.mx_SpaceTreeLevel {
.mx_BaseAvatar_initial {
width: 24px;
height: 24px;
}
}
}

.mx_SpaceButton_avatarWrapper {
position: relative;
}
Expand Down

0 comments on commit 691daa7

Please sign in to comment.