2021-10-20 16:58:27 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`ThemeChoicePanel renders the theme choice UI 1`] = `
|
2022-11-18 10:16:11 +01:00
|
|
|
<DocumentFragment>
|
2022-03-22 11:32:35 +01:00
|
|
|
<div
|
2022-11-18 10:16:11 +01:00
|
|
|
class="mx_SettingsTab_section mx_ThemeChoicePanel"
|
2022-03-22 11:32:35 +01:00
|
|
|
>
|
|
|
|
<span
|
2022-11-18 10:16:11 +01:00
|
|
|
class="mx_SettingsTab_subheading"
|
2022-03-22 11:32:35 +01:00
|
|
|
>
|
|
|
|
Theme
|
|
|
|
</span>
|
2021-10-20 16:58:27 +02:00
|
|
|
<div
|
2022-11-18 10:16:11 +01:00
|
|
|
class="mx_ThemeSelectors"
|
2023-04-06 10:45:55 +02:00
|
|
|
data-testid="theme-choice-panel-selectors"
|
2021-10-20 16:58:27 +02:00
|
|
|
>
|
2022-11-18 10:16:11 +01:00
|
|
|
<label
|
|
|
|
class="mx_StyledRadioButton mx_ThemeSelector_light mx_StyledRadioButton_disabled mx_StyledRadioButton_outlined"
|
2021-10-20 16:58:27 +02:00
|
|
|
>
|
2022-11-18 10:16:11 +01:00
|
|
|
<input
|
|
|
|
disabled=""
|
2022-03-22 11:32:35 +01:00
|
|
|
id="theme-light"
|
2021-10-20 16:58:27 +02:00
|
|
|
name="theme"
|
2022-11-18 10:16:11 +01:00
|
|
|
type="radio"
|
2022-03-22 11:32:35 +01:00
|
|
|
value="light"
|
2022-11-18 10:16:11 +01:00
|
|
|
/>
|
|
|
|
<div>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_content"
|
2021-10-20 16:58:27 +02:00
|
|
|
>
|
2022-11-18 10:16:11 +01:00
|
|
|
Light
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_spacer"
|
|
|
|
/>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="mx_StyledRadioButton mx_ThemeSelector_dark mx_StyledRadioButton_disabled mx_StyledRadioButton_outlined"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
disabled=""
|
2022-03-22 11:32:35 +01:00
|
|
|
id="theme-dark"
|
|
|
|
name="theme"
|
2022-11-18 10:16:11 +01:00
|
|
|
type="radio"
|
2022-03-22 11:32:35 +01:00
|
|
|
value="dark"
|
2022-11-18 10:16:11 +01:00
|
|
|
/>
|
|
|
|
<div>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_content"
|
2022-03-22 11:32:35 +01:00
|
|
|
>
|
2022-11-18 10:16:11 +01:00
|
|
|
Dark
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_spacer"
|
|
|
|
/>
|
|
|
|
</label>
|
2021-10-20 16:58:27 +02:00
|
|
|
</div>
|
2022-03-22 11:32:35 +01:00
|
|
|
</div>
|
2022-11-18 10:16:11 +01:00
|
|
|
</DocumentFragment>
|
2021-10-20 16:58:27 +02:00
|
|
|
`;
|