starlight-theme-bejamas 0.0.0-canary.0440c77
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 +21 -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 +584 -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,40 @@
|
|
|
1
|
+
declare module "virtual:starlight/components/MobileMenuToggle" {
|
|
2
|
+
const MobileMenuToggle: typeof import("@astrojs/starlight/components/MobileMenuToggle.astro").default;
|
|
3
|
+
export default MobileMenuToggle;
|
|
4
|
+
}
|
|
5
|
+
declare module "virtual:starlight/components/MobileMenuFooter" {
|
|
6
|
+
const MobileMenuFooter: typeof import("@astrojs/starlight/components/MobileMenuFooter.astro").default;
|
|
7
|
+
export default MobileMenuFooter;
|
|
8
|
+
}
|
|
9
|
+
declare module "virtual:starlight/components/EditLink" {
|
|
10
|
+
const EditLink: typeof import("@astrojs/starlight/components/EditLink.astro").default;
|
|
11
|
+
export default EditLink;
|
|
12
|
+
}
|
|
13
|
+
declare module "virtual:starlight/components/LastUpdated" {
|
|
14
|
+
const LastUpdated: typeof import("@astrojs/starlight/components/LastUpdated.astro").default;
|
|
15
|
+
export default LastUpdated;
|
|
16
|
+
}
|
|
17
|
+
declare module "virtual:starlight/components/Pagination" {
|
|
18
|
+
const Pagination: typeof import("@astrojs/starlight/components/Pagination.astro").default;
|
|
19
|
+
export default Pagination;
|
|
20
|
+
}
|
|
21
|
+
declare module "virtual:starlight/components/LanguageSelect" {
|
|
22
|
+
const LanguageSelect: typeof import("@astrojs/starlight/components/LanguageSelect.astro").default;
|
|
23
|
+
export default LanguageSelect;
|
|
24
|
+
}
|
|
25
|
+
declare module "virtual:starlight/components/Search" {
|
|
26
|
+
const Search: typeof import("@astrojs/starlight/components/Search.astro").default;
|
|
27
|
+
export default Search;
|
|
28
|
+
}
|
|
29
|
+
declare module "virtual:starlight/components/SiteTitle" {
|
|
30
|
+
const SiteTitle: typeof import("@astrojs/starlight/components/SiteTitle.astro").default;
|
|
31
|
+
export default SiteTitle;
|
|
32
|
+
}
|
|
33
|
+
declare module "virtual:starlight/components/SocialIcons" {
|
|
34
|
+
const SocialIcons: typeof import("@astrojs/starlight/components/SocialIcons.astro").default;
|
|
35
|
+
export default SocialIcons;
|
|
36
|
+
}
|
|
37
|
+
declare module "virtual:starlight/components/ThemeSelect" {
|
|
38
|
+
const ThemeSelect: typeof import("./overrides/ThemeSelect.astro").default;
|
|
39
|
+
export default ThemeSelect;
|
|
40
|
+
}
|
|
@@ -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
|
+
}
|