mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-09 23:48:20 -07:00
chore: initial public commit
This commit is contained in:
commit
fc9054b78c
250 changed files with 32809 additions and 0 deletions
BIN
docs/src/assets/houston.webp
Normal file
BIN
docs/src/assets/houston.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 96 KiB |
7
docs/src/content.config.ts
Normal file
7
docs/src/content.config.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { defineCollection } from 'astro:content';
|
||||
import { docsLoader } from '@astrojs/starlight/loaders';
|
||||
import { docsSchema } from '@astrojs/starlight/schema';
|
||||
|
||||
export const collections = {
|
||||
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
|
||||
};
|
||||
11
docs/src/content/docs/guides/example.md
Normal file
11
docs/src/content/docs/guides/example.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: Example Guide
|
||||
description: A guide in my new Starlight docs site.
|
||||
---
|
||||
|
||||
Guides lead a user through a specific task they want to accomplish, often with a sequence of steps.
|
||||
Writing a good guide requires thinking about what your users are trying to do.
|
||||
|
||||
## Further reading
|
||||
|
||||
- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework
|
||||
36
docs/src/content/docs/index.mdx
Normal file
36
docs/src/content/docs/index.mdx
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
title: Home
|
||||
description: Get started building your docs site with Starlight.
|
||||
template: splash
|
||||
hero:
|
||||
tagline: Congrats on setting up a new Starlight project!
|
||||
image:
|
||||
file: ../../assets/houston.webp
|
||||
actions:
|
||||
- text: Example Guide
|
||||
link: /guides/example/
|
||||
icon: right-arrow
|
||||
- text: Read the Starlight docs
|
||||
link: https://starlight.astro.build
|
||||
icon: external
|
||||
variant: minimal
|
||||
---
|
||||
|
||||
import { Card, CardGrid } from '@astrojs/starlight/components';
|
||||
|
||||
## Next steps
|
||||
|
||||
<CardGrid>
|
||||
<Card title="Update content" icon="pencil">
|
||||
Edit `src/content/docs/index.mdx` to see this page change.
|
||||
</Card>
|
||||
<Card title="Add new content" icon="add-document">
|
||||
Add Markdown or MDX files to `src/content/docs` to create new pages.
|
||||
</Card>
|
||||
<Card title="Configure your site" icon="setting">
|
||||
Edit your `sidebar` and other config in `astro.config.mjs`.
|
||||
</Card>
|
||||
<Card title="Read the docs" icon="open-book">
|
||||
Learn more in [the Starlight Docs](https://starlight.astro.build/).
|
||||
</Card>
|
||||
</CardGrid>
|
||||
11
docs/src/content/docs/reference/example.md
Normal file
11
docs/src/content/docs/reference/example.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: Example Reference
|
||||
description: A reference page in my new Starlight docs site.
|
||||
---
|
||||
|
||||
Reference pages are ideal for outlining how things work in terse and clear terms.
|
||||
Less concerned with telling a story or addressing a specific use case, they should give a comprehensive outline of what you're documenting.
|
||||
|
||||
## Further reading
|
||||
|
||||
- Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework
|
||||
36
docs/src/styles/global.css
Normal file
36
docs/src/styles/global.css
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
@layer base, starlight, theme, components, utilities;
|
||||
|
||||
@import '@astrojs/starlight-tailwind';
|
||||
@import 'tailwindcss/theme.css' layer(theme);
|
||||
@import 'tailwindcss/utilities.css' layer(utilities);
|
||||
|
||||
@theme {
|
||||
/* Your preferred text font. Starlight uses a system font stack by default. */
|
||||
--font-sans: 'Jost', sans-serif;
|
||||
/* Your preferred code font. Starlight uses system monospace fonts by default. */
|
||||
--font-mono: 'IBM Plex Mono';
|
||||
/* Your preferred accent color. Indigo is closest to Starlight’s defaults. */
|
||||
--color-accent-50: #FABEB4;
|
||||
--color-accent-100: #FA9482;
|
||||
--color-accent-200: #FF826D;
|
||||
--color-accent-300: #FF7961;
|
||||
--color-accent-400: #FF6E55;
|
||||
--color-accent-500: #FF6247;
|
||||
--color-accent-600: #FF573A;
|
||||
--color-accent-700: #E6472B;
|
||||
--color-accent-800: #D0391F;
|
||||
--color-accent-900: #B82F17;
|
||||
--color-accent-950: #8A220F;
|
||||
/* Your preferred gray scale. Zinc is closest to Starlight’s defaults. */
|
||||
--color-gray-50: #FFFDFD;
|
||||
--color-gray-100: #FCF2F0;
|
||||
--color-gray-200: #F1E8E6;
|
||||
--color-gray-300: #E9DFDD;
|
||||
--color-gray-400: #CBB7B3;
|
||||
--color-gray-500: #4F4845;
|
||||
--color-gray-600: #3D3735;
|
||||
--color-gray-700: #2A2524;
|
||||
--color-gray-800: #1E1B19;
|
||||
--color-gray-900: #161312;
|
||||
--color-gray-950: #0C0A09;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue