Removed theme selection option in settings + UI improvements

This commit is contained in:
Bofh 2021-01-06 20:30:30 +01:00
parent 4e92d49261
commit 4681c5a3e3
4 changed files with 2 additions and 12 deletions

View File

@ -5,7 +5,7 @@
/>
<style>
:global(.loading-spinner-icon) {
fill: var(--svg-fill);
fill: var(--nav-svg-fill);
}
:global(.loading-spinner-icon.mask-style) {

View File

@ -104,7 +104,7 @@
}
:global(.close-dialog-button-svg) {
padding: 10px;
fill: var(--button-primary-text);
fill: #a49f9f;
width: 24px;
height: 24px;
flex: 1;

View File

@ -93,15 +93,10 @@
</label>
</form>
{#if $isUserLoggedIn }
<h2>{themeTitle}</h2>
<ThemeSettings instanceName={$currentInstance} />
{/if}
</SettingsLayout>
<UISettingsStyles />
<script>
import SettingsLayout from '../../_components/settings/SettingsLayout.html'
import ThemeSettings from '../../_components/settings/instance/ThemeSettings.html'
import { store } from '../../_store/store'
import Tooltip from '../../_components/Tooltip.html'
import UISettingsStyles from '../../_components/settings/UISettingsStyles.html'
@ -110,7 +105,6 @@
export default {
components: {
SettingsLayout,
ThemeSettings,
Tooltip,
UISettingsStyles
},

View File

@ -10,8 +10,6 @@
<NotificationFilterSettings {instanceName} />
<h2>{intl.pushNotifications}</h2>
<PushNotificationSettings {instanceName} />
<h2>{intl.theme}</h2>
<ThemeSettings {instanceName} />
<InstanceActions {instanceName} />
{/if}
@ -30,7 +28,6 @@
import HomeTimelineFilterSettings from '../../../_components/settings/instance/HomeTimelineFilterSettings.html'
import NotificationFilterSettings from '../../../_components/settings/instance/NotificationFilterSettings.html'
import PushNotificationSettings from '../../../_components/settings/instance/PushNotificationSettings.html'
import ThemeSettings from '../../../_components/settings/instance/ThemeSettings.html'
import InstanceActions from '../../../_components/settings/instance/InstanceActions.html'
import { updateVerifyCredentialsForInstance } from '../../../_actions/instances'
@ -48,7 +45,6 @@
SettingsLayout,
InstanceUserProfile,
PushNotificationSettings,
ThemeSettings,
InstanceActions,
HomeTimelineFilterSettings,
NotificationFilterSettings