Skip to content

Commit fa9399c

Browse files
Refresh demo images (#101)
1 parent 88d76fe commit fa9399c

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

Taskfile.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,12 @@ tasks:
7575
preconditions:
7676
- sh: command -v vhs
7777
msg: vhs not installed, see https://github.com/charmbracelet/vhs
78+
79+
- sh: command -v freeze
80+
msg: freeze not installed, see https://github.com/charmbracelet/freeze
7881
cmds:
79-
- vhs ./docs/src/*.tape
80-
- silicon ./docs/src/main.go --output ./docs/img/demo.png --background "#7983FF" --language go --shadow-blur-radius 10 --window-title {{.PACKAGE}} --font 'Geist Mono' --theme Coldark-Dark
82+
- for file in ./docs/src/*.tape; do vhs "$file"; done
83+
- freeze ./docs/src/main.go --config ./docs/src/freeze.json --output ./docs/img/demo.png --show-line-numbers
8184

8285
cov:
8386
desc: Calculate test coverage and render the html

docs/img/demo.gif

1.97 KB
Loading

docs/img/demo.png

236 KB
Loading

docs/src/freeze.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"background": "#171717",
3+
"border": {
4+
"color": "#515151",
5+
"radius": 8,
6+
"width": 1
7+
},
8+
"font": {
9+
"family": "Geist Mono",
10+
"ligatures": true,
11+
"size": 14
12+
},
13+
"line_height": 1.2,
14+
"margin": [
15+
50,
16+
60,
17+
70,
18+
60
19+
],
20+
"padding": [
21+
5,
22+
15,
23+
5,
24+
5
25+
],
26+
"shadow": {
27+
"blur": 24,
28+
"x": 0,
29+
"y": 12
30+
},
31+
"theme": "catppuccin-macchiato",
32+
"window": true
33+
}

0 commit comments

Comments
 (0)