File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363
6464{#if toast }
6565 <div
66- class =" bg-base-100 dark:bg-base-200 border-base-400/30 fixed right-0 bottom-0 z-[999] m-4 rounded-sm border text-left shadow-md"
66+ class =" bg-base-100 dark:bg-base-200 border-base-400/30 fixed right-0 bottom-0 z-[999] m-4 rounded-md border text-left shadow-md"
6767 role =" alert"
6868 aria-labelledby =" toast-message" >
6969 <div class =" m-3 mr-10" >
Original file line number Diff line number Diff line change 3939 max-w-[64rem]
4040 min-w-full
4141 -translate-1/2
42- rounded-sm
42+ rounded-md
4343 border
4444 p-0
4545 backdrop:bg-black
Original file line number Diff line number Diff line change 127127 prose-code:bg-base-400
128128 prose-code:py-1
129129 prose-code:px-2
130- prose-code:rounded-sm
130+ prose-code:rounded-md
131131 prose-code:before:content-none
132132 prose-code:after:content-none
133133 prose-code:font-medium
Original file line number Diff line number Diff line change 33 import Modal from " $lib/components/Modal.svelte" ;
44 import Settings from " $lib/components/modals/Settings.svelte" ;
55 import Shortcuts from " $lib/components/modals/Shortcuts.svelte" ;
6- import type { ToolbarItem } from " $lib/types" ;
76 import { CircleHelp , Notebook , SettingsIcon } from " lucide-svelte" ;
87 import { createGlobalHotkeys as hotkeys , editorHotkeys } from " $lib/utils/hotkeys" ;
98 import {
1211 getSettingsModalVisibility ,
1312 setSettingsModalVisibility ,
1413 } from " $lib/components/Editor.svelte.ts" ;
15- import { getEnabledToolbarItems } from " $lib/components/modals/Settings.svelte.ts" ;
16-
17- // const items: ToolbarItem[] = [{ id: 9, enabled: false }];
18-
19- // Get enabled toolbar items from settings
20- let enabledItems = $derived (getEnabledToolbarItems ());
21-
22- // Convert to the format expected by your Editor component
23- let toolbarItems = $derived (
24- enabledItems .map ((item : ToolbarItem ) => ({
25- id: parseInt (item .id ) || 0 ,
26- enabled: item .enabled ,
27- }))
28- );
2914
3015 let shortcutModalVisible = $derived (getShortcutModalVisibility ());
3116 let settingsModalVisible = $derived (getSettingsModalVisibility ());
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ body.dark {
8484
8585@layer utilities {
8686 .btn {
87- @apply flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1 transition-all;
87+ @apply flex cursor-pointer items-center gap-2 rounded-md px-2 py-1 transition-all;
8888 @apply hover:backdrop-brightness-95 dark:hover:backdrop-brightness-150;
8989 @apply aria-pressed:cursor-default aria-pressed:backdrop-brightness-95 dark:aria-pressed:backdrop-brightness-150;
9090 @apply disabled:cursor-default disabled:opacity-50 disabled:hover:backdrop-brightness-100;
You can’t perform that action at this time.
0 commit comments