Skip to content

Commit

Permalink
docs(noti): migrate docs page to Svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
vnphanquang committed Jun 12, 2024
1 parent eb68654 commit a2d0532
Show file tree
Hide file tree
Showing 12 changed files with 817 additions and 1 deletion.
1 change: 1 addition & 0 deletions sites/docs/src/lib/assets/images/svg/phosphor/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sites/docs/src/lib/contexts/settings.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function getPreferredColorScheme() {
}

export class SettingsContext {
static KEY = 'settings';
static KEY = 'app:settings';

colorScheme: App.ColorScheme = $state(DEFAULT_SETTINGS.colorScheme);
preferredColorScheme = $derived.by(() => {
Expand Down
1 change: 1 addition & 0 deletions sites/docs/src/preprocess-inline-svg.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ declare module 'svelte/elements' {
| 'phosphor/moon-stars'
| 'phosphor/sliders-horizontal'
| 'phosphor/sun'
| 'phosphor/x'
| 'simpleicon/cloudflare'
| 'simpleicon/github'
| 'simpleicon/tailwindcss';
Expand Down
Loading

0 comments on commit a2d0532

Please sign in to comment.