Overview
The MyST Awesome Theme is a modern, responsive documentation theme built with Astro and Web Awesome components. It provides a clean, professional interface for technical documentation with excellent typography, accessibility, and user experience.
Features
The theme includes a comprehensive set of features designed for modern documentation:
- Responsive Design: Works perfectly on desktop, tablet, and mobile devices
- Dark Mode Support: Automatic and manual theme switching
- Multiple Themes: Choose from various Web Awesome themes
- Accessible: WCAG 2.1 AA compliant with keyboard navigation
- Fast Performance: Optimized for speed with Astro's static generation
- Search Integration: Built-in search functionality
Layout System
The theme uses a flexible layout system inspired by Web Awesome's page component, providing multiple slots for content organization:
Customizable header with branding, navigation, and theme controls.
Collapsible navigation menu with search and hierarchical organization.
Main content area optimized for readability and technical documentation.
Automatic table of contents generation with active section highlighting.
Theme Support
The theme leverages Web Awesome's comprehensive theming system, allowing you to choose from multiple pre-built themes or create your own custom theme:
The default theme provides a clean, professional appearance suitable for most documentation needs.
The awesome theme features vibrant colors and modern styling for a more dynamic look.
The shoelace theme offers a familiar interface inspired by the Shoelace design system.
Create your own custom theme by overriding CSS custom properties and Web Awesome design tokens.
Getting Started
Follow these steps to set up the MyST Awesome Theme in your project:
Installation
Install the theme and its dependencies using your preferred package manager:
npm install myst-awesome @awesome.me/webawesome Basic Usage
Import and use the layout components in your Astro pages:
---
import DocsLayout from 'myst-awesome/layouts/DocsLayout.astro';
---
<DocsLayout title="My Documentation">
<h1>Welcome to my docs!</h1>
<p>This is the main content area.</p>
</DocsLayout> Examples
Here are some examples of the theme components in action: