-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
286c33d
commit 907dab4
Showing
5 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ | |
"tailwindcss": "^3.3.3", | ||
"typescript": "5.2.2" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { defineCollection } from 'astro:content'; | ||
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'; | ||
import { defineCollection } from "astro:content"; | ||
import { docsSchema, i18nSchema } from "@astrojs/starlight/schema"; | ||
|
||
export const collections = { | ||
docs: defineCollection({ schema: docsSchema() }), | ||
i18n: defineCollection({ type: 'data', schema: i18nSchema() }), | ||
docs: defineCollection({ schema: docsSchema() }), | ||
i18n: defineCollection({ type: "data", schema: i18nSchema() }), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import colors from 'tailwindcss/colors'; | ||
import starlightPlugin from '@astrojs/starlight-tailwind'; | ||
import colors from "tailwindcss/colors"; | ||
import starlightPlugin from "@astrojs/starlight-tailwind"; | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], | ||
theme: { | ||
extend: { | ||
colors: { | ||
// Your preferred accent color. Indigo is closest to Starlight’s defaults. | ||
accent: colors.indigo, | ||
// Your preferred gray scale. Zinc is closest to Starlight’s defaults. | ||
gray: colors.zinc, | ||
}, | ||
}, | ||
}, | ||
plugins: [starlightPlugin()], | ||
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], | ||
theme: { | ||
extend: { | ||
colors: { | ||
// Your preferred accent color. Indigo is closest to Starlight’s defaults. | ||
accent: colors.indigo, | ||
// Your preferred gray scale. Zinc is closest to Starlight’s defaults. | ||
gray: colors.zinc, | ||
}, | ||
}, | ||
}, | ||
plugins: [starlightPlugin()], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "astro/tsconfigs/strict" | ||
} | ||
} |