mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 21:36:00 +00:00
theme plugins info
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import FormStyledButton from '../buttons/FormStyledButton.svelte';
|
import FormStyledButton from '../buttons/FormStyledButton.svelte';
|
||||||
|
import Link from '../elements/Link.svelte';
|
||||||
import TabControl from '../elements/TabControl.svelte';
|
import TabControl from '../elements/TabControl.svelte';
|
||||||
|
|
||||||
import FormCheckboxField from '../forms/FormCheckboxField.svelte';
|
import FormCheckboxField from '../forms/FormCheckboxField.svelte';
|
||||||
@@ -16,7 +17,7 @@
|
|||||||
import { closeCurrentModal } from '../modals/modalTools';
|
import { closeCurrentModal } from '../modals/modalTools';
|
||||||
import { EDITOR_THEMES, FONT_SIZES } from '../query/AceEditor.svelte';
|
import { EDITOR_THEMES, FONT_SIZES } from '../query/AceEditor.svelte';
|
||||||
import SqlEditor from '../query/SqlEditor.svelte';
|
import SqlEditor from '../query/SqlEditor.svelte';
|
||||||
import { currentEditorFontSize, currentEditorTheme, extensions } from '../stores';
|
import { currentEditorFontSize, currentEditorTheme, extensions, selectedWidget } from '../stores';
|
||||||
import getElectron from '../utility/getElectron';
|
import getElectron from '../utility/getElectron';
|
||||||
import ThemeSkeleton from './ThemeSkeleton.svelte';
|
import ThemeSkeleton from './ThemeSkeleton.svelte';
|
||||||
|
|
||||||
@@ -40,6 +41,11 @@ GROUP BY
|
|||||||
ORDER BY
|
ORDER BY
|
||||||
Artist.Name ASC
|
Artist.Name ASC
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
function openThemePlugins() {
|
||||||
|
closeCurrentModal();
|
||||||
|
$selectedWidget = 'plugins';
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<SettingsFormProvider>
|
<SettingsFormProvider>
|
||||||
@@ -104,6 +110,12 @@ ORDER BY
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="m-5">
|
||||||
|
More themes are available as <Link onClick={openThemePlugins}>plugins</Link>
|
||||||
|
<br />
|
||||||
|
After installing theme plugin (try search "theme" in available extensions) new themes will be available here.
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="heading">Editor theme</div>
|
<div class="heading">Editor theme</div>
|
||||||
|
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
|
|||||||
Reference in New Issue
Block a user