A dark, terminal-native WordPress block theme for cotrim.dev. Child of Twenty Twenty-Five.
The whole site reads as one long-running terminal session: shell chrome at the top, a live status bar at the bottom, ~$ prompts as section headings, and signal-green accents for anything live.
- Dark only.
#0A0C0Fbackground, no theme toggle. - Type. Manrope (sans) + JetBrains Mono (mono), loaded from Google Fonts.
- Palette. Ink, mute, dim, faint on neutrals; green/blue/amber/pink as signal colors.
- No shadows. Hairlines (
--line,--line-bold) and background contrast do the separation. - Live bits. Uptime counter in the footer, pulse dots, blinking caret, scroll-progress bar on posts.
- Home —
~$ whoamihero, recent posts, projects preview - Blog — year-grouped post list with tag filter (
essay,note,link) - Post — reading view with breadcrumbs, meta strip, tags, prev/next
- Projects — card list with HTML-attribute-style metadata (custom page template)
- Now — 2×3 grid of "what I'm up to" cards + uptime block (custom page template)
- 404 — giant
404+cdshortcuts back to safety
- Make sure Twenty Twenty-Five is installed (this is a child theme).
- Upload to
wp-content/themes/cotrim.dev/. - Activate under Appearance → Themes.
- Create two Pages, assign their templates:
/projects→ Template: Projects/now→ Template: Now
- Tag posts with
essay,note, orlinkso the row colors and the blog filter pills work.
Five moving parts — see CLAUDE.md for the full architecture notes:
theme.json— palette, font families, spacing scale, custom template registrations.assets/css/terminal.css— all visual rules, scoped under.cotrimdev-retro-theme.assets/js/console.js— uptime tick, current-path label, active-nav, blog filter, reading progress.functions.php— shortcodes ([con_postlist],[con_archive_list],[con_post_*]) that render the console-specific row layouts the Query Loop block can't express.templates/+parts/— block-theme templates and shell header/footer.
- Uptime since. Change
data-since="2024-06-01T00:00:00Z"inparts/footer.html, and on the Now page. - Copy. The Projects, Now, and 404 pages have copy hard-coded in their templates; posts and the home lede are authored in WP.
- Colors. All palette values live in
theme.json(settings.color.palette) andassets/css/terminal.css(:rootcustom properties). Keep both in sync.
- WordPress 6.4+
- Twenty Twenty-Five parent theme
- PHP 7.4+
GPL v2 or later.
Built by Bernardo Cotrim.