@karaoke-cms/theme-minimal 0.6.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @karaoke-cms/theme-minimal
|
|
2
|
+
|
|
3
|
+
Minimal CSS-only theme for karaoke-cms. Pure typography and spacing — no sidebar, no card grids, no decorative elements.
|
|
4
|
+
|
|
5
|
+
## Where it belongs
|
|
6
|
+
|
|
7
|
+
`packages/theme-minimal/` in the monorepo. Activated via `karaoke.config.ts`:
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
export default {
|
|
11
|
+
vault: KARAOKE_VAULT,
|
|
12
|
+
theme: '@karaoke-cms/theme-minimal',
|
|
13
|
+
};
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## What it does
|
|
17
|
+
|
|
18
|
+
Planned: a stripped-down theme that injects the same routes as `theme-default` (`/`, `/blog`, `/blog/[slug]`, `/docs`, `/docs/[slug]`, `/tags`, `/tags/[tag]`, `/404`) with minimal HTML — a single-column layout, system font stack, and a small CSS file.
|
|
19
|
+
|
|
20
|
+
The defining constraint: no JavaScript, no images, no web fonts. Pages render correctly with CSS disabled.
|
|
21
|
+
|
|
22
|
+
## Status
|
|
23
|
+
|
|
24
|
+
**Not yet implemented.** The package entry point is declared but `src/` is empty.
|
|
25
|
+
|
|
26
|
+
`theme-default` and `theme-blog` are the active themes. `theme-minimal` will be implemented once the theme API is stable.
|
|
27
|
+
|
|
28
|
+
## How it changes the behavior of the system
|
|
29
|
+
|
|
30
|
+
Identical to `theme-default` in routing — replaces all public routes. The difference is purely visual: no sidebar regions, no card layouts, no cover images, smallest possible CSS footprint. Suitable for text-heavy sites or authors who want to style from scratch by overriding the minimal base.
|