fix: neutral preset broken

This commit is contained in:
James Xylight committed 2025-09-06 17:30:51 -07:00
1 parent 13e6baf097
commit e173bd0a68
4 files changed
+12 -9

No files matched your search

@@ -6,14 +6,14 @@
import { t } from '$lib/i18n/translations' import { t } from '$lib/i18n/translations'
import { resumables } from '$lib/lemmy/item' import { resumables } from '$lib/lemmy/item'
import { theme } from '$lib/ui/colors.svelte' import { theme } from '$lib/ui/colors.svelte'
import { fuzzySearch } from '$lib/util.svelte'
import { TextInput } from 'mono-svelte' import { TextInput } from 'mono-svelte'
import { createEventDispatcher, onMount } from 'svelte' import { createEventDispatcher, onMount } from 'svelte'
import { Home, Icon, MagnifyingGlass } from 'svelte-hero-icons' import { Home, Icon, MagnifyingGlass } from 'svelte-hero-icons'
import EndPlaceholder from '../../EndPlaceholder.svelte'
import CommonList from '../../layout/CommonList.svelte'
import { getGroups, type Action, type Group } from './actions.svelte' import { getGroups, type Action, type Group } from './actions.svelte'
import CommandItem from './CommandItem.svelte' import CommandItem from './CommandItem.svelte'
import { fuzzySearch } from '$lib/util.svelte'
import CommonList from '../../layout/CommonList.svelte'
import EndPlaceholder from '../../EndPlaceholder.svelte'
interface Props { interface Props {
open?: boolean open?: boolean
@@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import { t } from '$lib/i18n/translations' import { t } from '$lib/i18n/translations'
import { Modal, Spinner } from 'mono-svelte' import { Modal, TextLoader } from 'mono-svelte'
interface Props { interface Props {
open?: boolean open?: boolean
@@ -25,10 +25,9 @@
<Modal bind:open title={null} class="p-0! gap-0!"> <Modal bind:open title={null} class="p-0! gap-0!">
{#await import('./Commands.svelte')} {#await import('./Commands.svelte')}
<div class="h-128 flex flex-col gap-2 items-center justify-center"> <div class="h-128 flex flex-col gap-2 items-center justify-center">
<Spinner width={32} /> <TextLoader>
<span class="font-medium text-lg">
{$t('nav.commands.downloading')} {$t('nav.commands.downloading')}
</span> </TextLoader>
</div> </div>
{:then { default: Commands }} {:then { default: Commands }}
<Commands bind:open /> <Commands bind:open />
+5 -1
View File
@@ -8,7 +8,11 @@
let { children }: Props = $props() let { children }: Props = $props()
</script> </script>
<div class="text-loader"> <div
class="text-loader font-medium text-lg tracking-tight"
aria-busy="true"
aria-live="polite"
>
{@render children?.()} {@render children?.()}
</div> </div>
+1 -1
View File
@@ -205,7 +205,7 @@ export const presets: Theme[] = [
800: '59 59 59', 800: '59 59 59',
900: '42 42 42', 900: '42 42 42',
925: '34 34 34', 925: '34 34 34',
950: '7 7 7', 950: '29 29 29',
}, },
primary: { primary: {
100: '241 245 249', 100: '241 245 249',