mirror of
https://github.com/charmbracelet/glow
synced 2024-09-21 08:52:22 +00:00
Rename style previews
This commit is contained in:
parent
f1ee1e5c46
commit
2a3ea0ed0b
|
@ -36,7 +36,7 @@ You can supply a JSON stylesheet with the `-s` flag:
|
|||
|
||||
## Example Output
|
||||
|
||||
![Gold Dark Style](https://github.com/charmbracelet/gold/raw/master/cmd/gold/styles/gold_dark.png)
|
||||
![Gold Dark Style](https://github.com/charmbracelet/gold/raw/master/cmd/gold/styles/dark.png)
|
||||
|
||||
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`
|
||||
|
||||
![Gold Dark Style](https://github.com/charmbracelet/gold/raw/master/cmd/gold/styles/gold_dark.png)
|
||||
![Gold Dark Style](https://github.com/charmbracelet/gold/raw/master/cmd/gold/styles/dark.png)
|
||||
|
||||
## Light
|
||||
|
||||
`gold -s light`
|
||||
|
||||
![Gold Light Style](https://github.com/charmbracelet/gold/raw/master/cmd/gold/styles/gold_light.png)
|
||||
![Gold Light Style](https://github.com/charmbracelet/gold/raw/master/cmd/gold/styles/light.png)
|
||||
|
|
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…
Reference in a new issue