A card
The text of a card.
Use the theme select at the top right to see this page in Light, Dark, Hyper and Auto.
Body text with a link, strong text, emphasis, inline code and
Ctrl + K.
A block quote. It can hold more than one line of text.
fn main() { println!("Hello, Aurora");}npm install github:colliery-io/starlight-aurora#v0.3.0plugins: [],plugins: [starlightAurora({ hyper: true })],| Theme | Base | Opt in |
|---|---|---|
| Light | light | no |
| Dark | dark | no |
| Hyper | dark | hyper: true |
| Auto | the operating system | no |
npm installangreal docs buildA card
A second card
The first step.
The second step.
The last step.
flowchart LR
A[Aurora tag] -->|vendor:update| B[vendor/aurora]
B --> C[styles/theme.css]
C --> D{Theme}
D --> E[Light]
D --> F[Dark]
D --> G[Hyper]
sequenceDiagram
participant S as Site
participant P as Plugin
participant A as Aurora
S->>P: config:setup
P->>A: read tokens.css
Note over P,A: unedited, at a tag
A-->>P: tokens
P-->>S: customCss
classDiagram
class Theme {
+String name
+bool darkBase
}
class Plugin {
+hyper bool
+customCss()
}
Plugin --> Theme : chooses
stateDiagram-v2
[*] --> Auto
Auto --> Light
Auto --> Dark
Light --> Hyper
Dark --> Hyper
Hyper --> [*]
erDiagram
SITE ||--o{ PAGE : has
PAGE ||--o{ DIAGRAM : shows
SITE {
string title
bool hyper
}
C4Context
title The docs of a Colliery product
Person(reader, "Reader", "Reads the docs")
System(site, "Docs site", "Starlight with starlight-aurora")
System_Ext(pages, "GitHub Pages", "Serves the site")
Rel(reader, site, "Reads")
Rel(pages, site, "Serves")