elaboration and spacing

appearance-tab
Henry Jameson 2 months ago
parent 2928959138
commit f4544f0742

@ -9,6 +9,7 @@
> >
<slot /> <slot />
</label> </label>
{{ ' ' }}
<input <input
:id="path" :id="path"
class="input number-input" class="input number-input"

@ -1,5 +1,5 @@
<template> <template>
<div :label="$t('settings.general')"> <div class="appearance-tab" :label="$t('settings.general')">
<div class="setting-item"> <div class="setting-item">
<h2>{{ $t('settings.theme') }}</h2> <h2>{{ $t('settings.theme') }}</h2>
<ul <ul
@ -34,6 +34,9 @@
</button> </button>
</ul> </ul>
</div> </div>
<div class="alert neutral theme-notice">
{{ $t("settings.style.appearance_tab_note") }}
</div>
<div class="setting-item"> <div class="setting-item">
<h2>{{ $t('settings.scale_and_layout') }}</h2> <h2>{{ $t('settings.scale_and_layout') }}</h2>
<ul class="setting-list"> <ul class="setting-list">
@ -254,6 +257,12 @@
<script src="./appearance_tab.js"></script> <script src="./appearance_tab.js"></script>
<style lang="scss"> <style lang="scss">
.appearance-tab {
.theme-notice {
padding: 0.5em;
margin: 1em;
}
.column-settings { .column-settings {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
@ -300,4 +309,5 @@
} }
} }
} }
}
</style> </style>

@ -1,4 +1,9 @@
.theme-tab { .theme-tab {
.deprecation-warning {
padding: 0.5em;
margin: 2em;
}
padding-bottom: 2em; padding-bottom: 2em;
.preset-switcher { .preset-switcher {

@ -1,6 +1,6 @@
<template> <template>
<div class="theme-tab"> <div class="theme-tab">
<div class="alert warning"> <div class="alert warning deprecation-warning">
{{ $t("settings.style.themes2_outdated") }} {{ $t("settings.style.themes2_outdated") }}
</div> </div>
<div class="presets-container"> <div class="presets-container">

@ -741,7 +741,8 @@
"more_settings": "More settings", "more_settings": "More settings",
"style": { "style": {
"custom_theme_used": "(Custom theme)", "custom_theme_used": "(Custom theme)",
"themes2_outdated": "Editor for Themes V2 is no longer supported and presented here for sake of legacy.", "themes2_outdated": "Editor for Themes V2 is being phased out and will eventually be replaced with a new one that takes advantage of new Themes V3 engine. It should still work but experience might be degraded and inconsistent.",
"appearance_tab_note": "Changes on this tab do not affect the theme used",
"update_preview": "Update preview", "update_preview": "Update preview",
"themes3": { "themes3": {
"define": "Override", "define": "Override",

Loading…
Cancel
Save