generated from TheOtterlord/starlight-theme-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
2d8d4b7
commit b24688c
Showing
10 changed files
with
78 additions
and
79 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
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,22 +1,22 @@ | ||
{ | ||
"name": "docs", | ||
"type": "module", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "astro dev", | ||
"start": "astro dev", | ||
"build": "astro check && astro build", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "catalog:", | ||
"@astrojs/starlight": "catalog:", | ||
"astro": "catalog:", | ||
"sharp": "catalog:", | ||
"starlight-package-managers": "^0.8.0", | ||
"starlight-theme-template": "workspace:*", | ||
"typescript": "catalog:" | ||
} | ||
} | ||
"name": "docs", | ||
"type": "module", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "astro dev", | ||
"start": "astro dev", | ||
"build": "astro check && astro build", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "catalog:", | ||
"@astrojs/starlight": "catalog:", | ||
"astro": "catalog:", | ||
"sharp": "catalog:", | ||
"starlight-package-managers": "^0.8.0", | ||
"starlight-minimalistic-theme": "workspace:*", | ||
"typescript": "catalog:" | ||
} | ||
} |
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
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,16 +1,16 @@ | ||
{ | ||
"name": "@example/starlight-theme-template", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"ci:publish": "pnpm publish -r", | ||
"ci:version": "pnpm changeset version", | ||
"dev": "pnpm --filter docs dev", | ||
"build": "pnpm --filter docs build" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.9.4", | ||
"@changesets/cli": "^2.27.11" | ||
}, | ||
"packageManager": "[email protected]" | ||
"name": "starlight-minimalistic-theme", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"ci:publish": "pnpm publish -r", | ||
"ci:version": "pnpm changeset version", | ||
"dev": "pnpm --filter docs dev", | ||
"build": "pnpm --filter docs build" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.9.4", | ||
"@changesets/cli": "^2.27.11" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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,33 +1,31 @@ | ||
<h1 align="center"> | ||
Starlight Theme Template | ||
Starlight Minimalistic Theme | ||
</h1> | ||
|
||
 | ||
 | ||
|
||
## Usage | ||
|
||
1. Install the theme package to your project with your preferred package manager: | ||
|
||
```sh | ||
npm install starlight-theme-template | ||
pnpm add starlight-theme-template | ||
yarn add starlight-theme-template | ||
npm install starlight-minimalistic-theme | ||
pnpm add starlight-minimalistic-theme | ||
yarn add starlight-minimalistic-theme | ||
``` | ||
|
||
2. Add the theme to your Starlight config. | ||
|
||
```ts | ||
import theme from "starlight-theme-template"; | ||
import theme from "starlight-minimalistic-theme"; | ||
|
||
export default defineConfig({ | ||
// ... | ||
integrations: [ | ||
starlight({ | ||
// ... | ||
plugins: [ | ||
theme() | ||
] | ||
}) | ||
] | ||
}) | ||
// ... | ||
integrations: [ | ||
starlight({ | ||
// ... | ||
plugins: [theme()], | ||
}), | ||
], | ||
}); | ||
``` |
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,22 +1,23 @@ | ||
{ | ||
"name": "starlight-theme-template", | ||
"private": true, | ||
"name": "starlight-minimalistic-theme", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"license": "MIT", | ||
"exports": { | ||
".": "./index.ts", | ||
"./styles/*": "./styles/*" | ||
}, | ||
"homepage": "https://starlight-theme-template.otterlord.dev/", | ||
"homepage": "https://starlight-minimalistic-theme.trueberryless.org/", | ||
"author": "Reuben Tier <[email protected]>", | ||
"files": [ | ||
"index.ts", | ||
"styles" | ||
], | ||
"keywords": [ | ||
"withastro", | ||
"starlight" | ||
"starlight", | ||
"minimalistic", | ||
"theme" | ||
], | ||
"devDependencies": { | ||
"astro": "catalog:", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.