Blog theme for Astro with search and comments built-in. Zero frameworks.
Astro Micro is a theme designed to be easily accessible for Astro users. It is a fork of the popular Astro Nano theme created by Mark Horn. Astro Micro comes with additional features like Pagefind for search, Giscus for comments, and more. Despite these additions, Astro Micro retains all the key elements that made Astro Nano great, such as full type safety, a sitemap, an RSS feed, and support for Markdown + MDX. The theme is styled using TailwindCSS and is preconfigured with system, light, and dark themes.
To install Astro Micro theme, follow these steps:
Add the theme to your Astro project by running the following command:
npm install astro-theme-micro
Update your Astro config file to include the theme. Add the following line to astro.config.mjs
:
import { Micro } from 'astro-theme-micro';
Configure your Astro project to use the Micro theme by updating your layout component:
export default function Layout({ children }) {
return (
<Micro>
{children}
</Micro>
);
}
You can now start using Astro Micro theme in your project.
Astro Micro is a user-friendly theme based on Astro Nano with added features like Pagefind for search, Giscus for comments, and support for Markdown and MDX. It retains key elements of Astro Nano like full type safety, sitemap, and RSS feed while offering a modern design with TailwindCSS styling and multiple theme options. To install Astro Micro, simply add it to your project, configure your Astro config file, and update your layout component to start using this accessible and feature-rich theme.