mirror of
https://github.com/hanzoai/frames.git
synced 2026-09-24 00:08:03 +00:00
@hanzo/frame is taken by the hero video primitive — one full-bleed video element — which has held that name on npm since it shipped. This repo is the video toolchain: a CLI, a renderer, a studio, a player. Plural is what it is, so the CLI publishes as @hanzo/frames and the workspace packages follow it (@hanzo/frames-core, @hanzo/frames-engine, and the rest). The binary stays `frames`, and now actually ships. The manifest mapped it to bin/frames.mjs while the file on disk was bin/hyperframes.mjs, so a global install produced no working command. The paths that name a package to fetch were pointing elsewhere. The update check read registry.npmjs.org/frames, a different author's package, and the npm, bun and pnpm installers would have pulled it over the CLI; the render image installed the upstream hyperframes; scaffolded projects and the docs pinned the unscoped name. All of them now name @hanzo/frames.
68 lines
1.8 KiB
Plaintext
68 lines
1.8 KiB
Plaintext
---
|
||
title: "Dark Modern"
|
||
description: "The default dark theme — clean and contemporary with comfortable contrast."
|
||
---
|
||
|
||
# Dark Modern
|
||
|
||
VS Code workbench with per-character typing animation in the Dark Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.
|
||
|
||
`code` `developer` `showcase` `vscode`
|
||
|
||
<video className="w-full aspect-video rounded-xl object-cover bg-zinc-100 dark:bg-zinc-800" src="/images/catalog/blocks/code-snippet-dark-modern.mp4" poster="/images/catalog/blocks/code-snippet-dark-modern.png" autoPlay muted loop playsInline />
|
||
|
||
## Install
|
||
|
||
<CodeGroup>
|
||
|
||
```bash Terminal
|
||
npx @hanzo/frames add code-snippet-dark-modern
|
||
```
|
||
|
||
</CodeGroup>
|
||
|
||
Install all code snippet themes at once:
|
||
|
||
```bash Terminal
|
||
npx @hanzo/frames add code
|
||
```
|
||
|
||
## Details
|
||
|
||
| Property | Value |
|
||
| --- | --- |
|
||
| Type | Block |
|
||
| Dimensions | 1920×1080 |
|
||
| Duration | 11s |
|
||
|
||
## Files
|
||
|
||
| File | Target | Type |
|
||
| --- | --- | --- |
|
||
| `code-snippet-dark-modern.html` | `compositions/code-snippet-dark-modern.html` | frames:composition |
|
||
| `background.jpeg` | `assets/background.jpeg` | frames:asset |
|
||
|
||
## Usage
|
||
|
||
After installing, add the block to your host composition:
|
||
|
||
```html
|
||
<div
|
||
data-composition-id="code-snippet-dark-modern"
|
||
data-composition-src="compositions/code-snippet-dark-modern.html"
|
||
data-start="0"
|
||
data-duration="11"
|
||
data-track-index="1"
|
||
data-width="1920"
|
||
data-height="1080"
|
||
></div>
|
||
```
|
||
|
||
## Features
|
||
|
||
- Full VS Code workbench recreation — activity bar, sidebar, explorer tree, editor tabs, breadcrumbs, terminal panel, status bar
|
||
- Per-character typing animation with cursor tracking and active line highlight
|
||
- Colors sourced from official `microsoft/vscode` built-in theme JSON
|
||
- 3D perspective tilt at the end of the typing sequence
|
||
- Terminal panel with mock test output
|