Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onadrog/cmd_theme
"Cmd Theme" for astro
https://github.com/onadrog/cmd_theme
astro astro-theme astro-themes
Last synced: about 1 month ago
JSON representation
"Cmd Theme" for astro
- Host: GitHub
- URL: https://github.com/onadrog/cmd_theme
- Owner: onadrog
- License: mit
- Created: 2022-12-18T11:39:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T07:53:32.000Z (11 months ago)
- Last Synced: 2024-10-09T10:08:04.265Z (2 months ago)
- Topics: astro, astro-theme, astro-themes
- Language: Astro
- Homepage:
- Size: 804 KB
- Stars: 62
- Watchers: 1
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Cmd Theme
A theme for astro.
![home page](_imgs/cmd_1.png)
![blog posts list](_imgs/cmd_2.png)
![about page](_imgs/cmd_3.png)[Live Preview](https://onadrog.github.io/)
## Feat
- Use Sass
- Blog post pagination
- Semantic / A11y ready## Usage
### requirements
- [Pnpm](https://pnpm.io/https://pnpm.io/)
```bash
$ mv .env.example .env # set your site URL and base
$ pnpm install # install dependencies
$ pnpm run dev # run the dev env
$ pnpm run build # check astro and ts files and build your site
$ pnpm run build:prev # build the site without check and run the preview command
```## Site data
You must set the variables in the .env file ( rename .env.example to .env if
you haven't already do that)
You can modify default values in data/site.ts file.## Astroadd cli
You can use [Astroadd-cli](https://github.com/onadrog/astroadd-cli) to create markdown files with auto generate frontmatter.
## A11y / Semantics Resources
[style guide](https://a11y-style-guide.com/style-guide/)
[W3C](https://www.w3.org/WAI/tutorials/)
## License [Mit](LICENSE)