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> <style>
:global(.loading-spinner-icon) { :global(.loading-spinner-icon) {
fill: var(--svg-fill); fill: var(--nav-svg-fill);
} }
:global(.loading-spinner-icon.mask-style) { :global(.loading-spinner-icon.mask-style) {

View File

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

View File

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

View File

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