-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic palette selector (updated) (#81)
* Basic palette selector * Minor styling and text updates * Fix lint issues --------- Co-authored-by: Cveinnt <wuws.vincent@gmail.com>
- Loading branch information
Showing
5 changed files
with
237 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
import { persisted } from "svelte-persisted-store"; | ||
import { type ThemeName, defaultTheme } from "./ui/themes"; | ||
|
||
export type SettingsStore = { | ||
name: string; | ||
theme: ThemeName; | ||
}; | ||
|
||
/** A persisted store for settings of the current user. */ | ||
export const settings = persisted<SettingsStore>("sshx-settings-store", { | ||
name: "", | ||
theme: defaultTheme, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters