starlight-theme-bejamas 0.0.0-canary.0d34eb2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/package.json +49 -0
- package/src/config.ts +50 -0
- package/src/env.d.ts +16 -0
- package/src/global.d.ts +18 -0
- package/src/index.ts +159 -0
- package/src/lib/utils.ts +6 -0
- package/src/lib/vite.ts +62 -0
- package/src/overrides/Footer.astro +130 -0
- package/src/overrides/Header.astro +153 -0
- package/src/overrides/Hero.astro +175 -0
- package/src/overrides/MobileTableOfContents.astro +275 -0
- package/src/overrides/PageFrame.astro +187 -0
- package/src/overrides/PageTitle.astro +139 -0
- package/src/overrides/Pagination.astro +55 -0
- package/src/overrides/Sidebar.astro +43 -0
- package/src/overrides/SiteTitle.astro +59 -0
- package/src/overrides/TableOfContents/TableOfContentsList.astro +88 -0
- package/src/overrides/TableOfContents/starlight-toc.ts +125 -0
- package/src/overrides/ThemeProvider.astro +106 -0
- package/src/overrides/ThemeSelect.astro +124 -0
- package/src/styles/theme.css +543 -0
- package/src/virtual-internal.d.ts +40 -0
- package/src/virtual-modules.d.ts +28 -0
- package/src/virtual.d.ts +12 -0
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// import type { StarlightConfig } from "@astrojs/starlight";
|
|
2
|
+
|
|
3
|
+
declare module "virtual:starlight/user-config" {
|
|
4
|
+
const Config: import("@astrojs/starlight/types").StarlightConfig;
|
|
5
|
+
export default Config;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module "virtual:starlight/user-images" {
|
|
9
|
+
type ImageMetadata = import("astro").ImageMetadata;
|
|
10
|
+
export const logos: {
|
|
11
|
+
dark?: ImageMetadata;
|
|
12
|
+
light?: ImageMetadata;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module "virtual:starlight-theme-bejamas/user-config" {
|
|
17
|
+
import type { StarlightThemeBejamasConfig } from "./config";
|
|
18
|
+
|
|
19
|
+
const config: StarlightThemeBejamasConfig;
|
|
20
|
+
export default config;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare module "virtual:starlight-theme-bejamas/components/*" {
|
|
24
|
+
const Component: import("astro/runtime/server").AstroComponentFactory;
|
|
25
|
+
export default Component;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export {};
|
package/src/virtual.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare module "virtual:starlight/user-config" {
|
|
2
|
+
const Config: import("@astrojs/starlight/types").StarlightConfig;
|
|
3
|
+
export default Config;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare module "virtual:starlight/user-images" {
|
|
7
|
+
type ImageMetadata = import("astro").ImageMetadata;
|
|
8
|
+
export const logos: {
|
|
9
|
+
dark?: ImageMetadata;
|
|
10
|
+
light?: ImageMetadata;
|
|
11
|
+
};
|
|
12
|
+
}
|