mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-11-25 15:29:54 +00:00
Add type definition for all props
This commit is contained in:
1 parent
4cb107e168
commit
2743dee9aa
3 files changed
+21
-6
No files matched your search
Vendored
+17
-2
@@ -135,9 +135,24 @@ export interface ThemeConfig {
|
||||
defaultTheme: string;
|
||||
|
||||
/**
|
||||
* Snippet Version
|
||||
* Hides the switch in the navbar
|
||||
*/
|
||||
snippetVersion: number;
|
||||
disableSwitch: boolean;
|
||||
|
||||
/**
|
||||
* Should use the prefers-color-scheme media-query
|
||||
*/
|
||||
respectPrefersColorScheme: boolean;
|
||||
|
||||
/**
|
||||
* Available themes
|
||||
*/
|
||||
themes: Array<string>;
|
||||
|
||||
/**
|
||||
* Custom theme
|
||||
*/
|
||||
customTheme: object;
|
||||
}
|
||||
|
||||
export interface Config {
|
||||
|
||||
Reference in new issue
Block a user