feat: full JS-less theme transition, better transition animation between themes, better light theme colors
This commit is contained in:
parent
da6dd0100b
commit
c0e0266d45
46 changed files with 4031 additions and 2536 deletions
|
|
@ -2,11 +2,11 @@ import { defineCollection, z } from "astro:content";
|
|||
import { glob } from "astro/loaders";
|
||||
|
||||
const guide = defineCollection({
|
||||
loader: glob({ pattern: "**/*.md", base: "src/guide" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
loader: glob({ pattern: "**/*.md", base: "src/guide" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
index: z.number(),
|
||||
}),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { guide };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue