Initial design based off original website, some things still to do
This commit is contained in:
12
src/env.d.ts
vendored
Normal file
12
src/env.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/// <reference types="@astrojs/image/client" />
|
||||
/// <reference types="./types/SiteImage" />
|
||||
|
||||
interface Window {
|
||||
theme: {
|
||||
setTheme: (theme: "auto" | "dark" | "light") => void;
|
||||
getTheme: () => "auto" | "dark" | "light";
|
||||
getSystemTheme: () => "light" | "dark";
|
||||
getDefaultTheme: () => "auto" | "dark" | "light";
|
||||
};
|
||||
navbarDisplay: "normal" | "transparent";
|
||||
}
|
Reference in New Issue
Block a user