feat: migrate project secrets and user-scoped colors
This commit is contained in:
1 parent
f723afa369
commit
07e25a3cf3
13 files changed
+280
-15
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<script>
|
||||
import { Moon, Sun, SunMoon } from '@lucide/svelte';
|
||||
import Button from '$lib/components/ui/button.svelte';
|
||||
import { SettingsDialog as SharedSettingsDialog } from '@gabriel20xx/web-ui';
|
||||
import { PrimaryColorPicker, SettingsDialog as SharedSettingsDialog } from '@gabriel20xx/web-ui';
|
||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '$lib/components/ui/select';
|
||||
import { currentLanguage, languages, setLanguage } from '$lib/language.svelte.js';
|
||||
import { layoutState } from '$lib/layout.svelte.js';
|
||||
@@ -49,6 +49,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<PrimaryColorPicker projectKey="CollabTable" />
|
||||
<label for="settings-language" class="mb-2 block text-sm font-medium">Language</label>
|
||||
<Select type="single" value={currentLanguage()} items={languageItems} onValueChange={(value) => setLanguage(value)}>
|
||||
<SelectTrigger id="settings-language" class="w-full">
|
||||
|
||||
Reference in new issue
Block a user