diff --git a/README.md b/README.md index c30a83f..af0f65a 100644 --- a/README.md +++ b/README.md @@ -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)! diff --git a/gallery.sh b/gallery.sh index 0fe0a8d..1b84afc 100755 --- a/gallery.sh +++ b/gallery.sh @@ -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 diff --git a/styles/README.md b/styles/README.md index fe9e8c8..97b746b 100644 --- a/styles/README.md +++ b/styles/README.md @@ -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) diff --git a/styles/dark.png b/styles/dark.png new file mode 100644 index 0000000..aee8706 Binary files /dev/null and b/styles/dark.png differ diff --git a/styles/gold_dark.png b/styles/gold_dark.png deleted file mode 100644 index 86cd4e2..0000000 Binary files a/styles/gold_dark.png and /dev/null differ diff --git a/styles/gold_light.png b/styles/gold_light.png deleted file mode 100644 index ec83a7d..0000000 Binary files a/styles/gold_light.png and /dev/null differ diff --git a/styles/light.png b/styles/light.png new file mode 100644 index 0000000..25a120e Binary files /dev/null and b/styles/light.png differ