mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-21 23:54:17 +02:00
Rename style previews
This commit is contained in:
parent
f1ee1e5c46
commit
2a3ea0ed0b
7 changed files with 4 additions and 4 deletions
|
|
@ -36,7 +36,7 @@ You can supply a JSON stylesheet with the `-s` flag:
|
|||
|
||||
## Example Output
|
||||
|
||||

|
||||

|
||||
|
||||
Check out the [Gold Style Gallery](https://github.com/charmbracelet/gold/blob/master/cmd/gold/styles/README.md)!
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
for style in ./styles/*.json; do
|
||||
echo "Generating screenshot for ${style}"
|
||||
filename="gold_`basename -s .json ${style}`.png"
|
||||
filename="`basename -s .json ${style}`.png"
|
||||
|
||||
light=""
|
||||
if [[ $style == *"light"* ]]; then
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
`gold -s dark`
|
||||
|
||||

|
||||

|
||||
|
||||
## Light
|
||||
|
||||
`gold -s light`
|
||||
|
||||

|
||||

|
||||
|
|
|
|||
BIN
styles/dark.png
Normal file
BIN
styles/dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB |
BIN
styles/light.png
Normal file
BIN
styles/light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
Loading…
Add table
Add a link
Reference in a new issue