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

Commit 183c7b9

Browse files
committed
Remove old ThemChoicePanel
1 parent 130b213 commit 183c7b9

File tree

4 files changed

+320
-653
lines changed

4 files changed

+320
-653
lines changed

res/css/views/settings/_ThemeChoicePanel.pcss

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -14,52 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
.mx_ThemeChoicePanel_themeSelectors {
18-
color: $primary-content;
19-
display: flex;
20-
flex-direction: row;
21-
flex-wrap: wrap;
22-
23-
> .mx_StyledRadioButton {
24-
align-items: center;
25-
padding: $font-16px;
26-
box-sizing: border-box;
27-
border-radius: 10px;
28-
width: 180px;
29-
30-
background: $accent-200;
31-
opacity: 0.4;
32-
33-
flex-shrink: 1;
34-
flex-grow: 0;
35-
36-
margin-right: 15px;
37-
margin-top: 10px;
38-
39-
font-weight: var(--cpd-font-weight-semibold);
40-
41-
> span {
42-
justify-content: center;
43-
}
44-
}
45-
46-
> .mx_StyledRadioButton_enabled {
47-
opacity: 1;
48-
49-
/* These colors need to be hardcoded because they don't change with the theme */
50-
&.mx_ThemeSelector_light {
51-
background-color: #f3f8fd;
52-
color: #2e2f32;
53-
}
54-
55-
&.mx_ThemeSelector_dark {
56-
/* 5% lightened version of 181b21 */
57-
background-color: #25282e;
58-
color: #f3f8fd;
59-
}
60-
}
61-
}
62-
6317
.mx_ThemeChoicePanel_ThemeSelectors {
6418
display: flex;
6519
flex-wrap: wrap;

0 commit comments

Comments
 (0)