aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChidambaram Nachiappan <60850111+thechidambaram@users.noreply.github.com>2022-02-25 09:39:21 +0000
committerChidambaram Nachiappan <60850111+thechidambaram@users.noreply.github.com>2022-02-26 11:57:35 +0000
commitc3d7e595f891922d22c02adbd09e4b0d80f1d882 (patch)
tree3f51eacc2cae3a275772126d7b23a7eddee3f360
parent2d6082b6640241deaa77b3d511c9aa502893a10f (diff)
downloadlite-xl-colors-c3d7e595f891922d22c02adbd09e4b0d80f1d882.tar.gz
lite-xl-colors-c3d7e595f891922d22c02adbd09e4b0d80f1d882.zip
Removed preview suffix from SVGs
-rw-r--r--README.md45
-rwxr-xr-xmake_preview_image.lua2
-rw-r--r--previews/abyss.svg (renamed from previews/abyss_preview.svg)0
-rw-r--r--previews/c0mfy.svg (renamed from previews/c0mfy_preview.svg)0
-rw-r--r--previews/cold_lime.svg (renamed from previews/cold_lime_preview.svg)0
-rw-r--r--previews/dracula.svg (renamed from previews/dracula_preview.svg)0
-rw-r--r--previews/duorand.svg (renamed from previews/duorand_preview.svg)0
-rw-r--r--previews/duotone.svg (renamed from previews/duotone_preview.svg)0
-rw-r--r--previews/github.svg (renamed from previews/github_preview.svg)0
-rw-r--r--previews/gruvbox_dark.svg (renamed from previews/gruvbox_dark_preview.svg)0
-rw-r--r--previews/gruvbox_light.svg (renamed from previews/gruvbox_light_preview.svg)0
-rw-r--r--previews/liqube.svg (renamed from previews/liqube_preview.svg)0
-rw-r--r--previews/mariana.svg (renamed from previews/mariana_preview.svg)0
-rw-r--r--previews/moe.svg (renamed from previews/moe_preview.svg)0
-rw-r--r--previews/monodark.svg (renamed from previews/monodark_preview.svg)0
-rw-r--r--previews/monokai-pro-classic.svg (renamed from previews/monokai-pro-classic_preview.svg)0
-rw-r--r--previews/monokai.svg (renamed from previews/monokai_preview.svg)0
-rw-r--r--previews/nord.svg (renamed from previews/nord_preview.svg)0
-rw-r--r--previews/onedark.svg (renamed from previews/onedark_preview.svg)0
-rw-r--r--previews/only_dark.svg (renamed from previews/only_dark_preview.svg)0
-rw-r--r--previews/solarized_light.svg (renamed from previews/solarized_light_preview.svg)0
-rw-r--r--previews/solarobj.svg (renamed from previews/solarobj_preview.svg)0
-rw-r--r--previews/vscode-dark.svg (renamed from previews/vscode-dark_preview.svg)0
-rw-r--r--previews/winter.svg (renamed from previews/winter_preview.svg)0
-rw-r--r--previews/zenburn.svg (renamed from previews/zenburn_preview.svg)0
25 files changed, 24 insertions, 23 deletions
diff --git a/README.md b/README.md
index b6c1661..99479a0 100644
--- a/README.md
+++ b/README.md
@@ -11,30 +11,31 @@ embedded in the table.*
Theme | Preview
------|-----------------------------------------
-[`cold_lime`](colors/cold_lime.lua?raw=1) | ![cold_lime_preview](previews/cold_lime_preview.svg)
-[`c0mfy`](colors/c0mfy.lua?raw=1) | ![c0mfy_preview](previews/c0mfy_preview.svg)
-[`dracula`](colors/dracula.lua?raw=1) | ![dracula_preview](previews/dracula_preview.svg)
-[`duorand`](colors/duorand.lua?raw=1) | ![duorand_preview](previews/duorand_preview.svg)
-[`duotone`](colors/duotone.lua?raw=1) | ![duotone_preview](previews/duotone_preview.svg)
-[`gruvbox_dark`](colors/gruvbox_dark.lua?raw=1) | ![gruvbox_dark_preview](previews/gruvbox_dark_preview.svg)
-[`liqube`](colors/liqube.lua?raw=1) | ![liqube_preview](previews/liqube_preview.svg)
-[`mariana`](colors/mariana.lua?raw=1) | ![mariana_preview](previews/mariana_preview.svg)
-[`monodark`](colors/monodark.lua?raw=1) | ![monodark_preview](previews/monodark_preview.svg)
-[`monokai`](colors/monokai.lua?raw=1) | ![monokai_preview](previews/monokai_preview.svg)
-[`monokai-pro-classic`](colors/monokai-pro-classic.lua?raw=1) | ![monokai-pro-classic_preview](previews/monokai-pro-classic_preview.svg)
-[`nord`](colors/nord.lua?raw=1) | ![nord_preview](previews/nord_preview.svg)
-[`onedark`](colors/onedark.lua?raw=1) | ![onedark_preview](previews/onedark_preview.svg)
-[`only_dark`](colors/only_dark.lua?raw=1) | ![only_dark_preview](previews/only_dark_preview.svg)
-[`vscode-dark`](colors/vscode-dark.lua?raw=1) | ![vscode-dark_preview](previews/vscode-dark_preview.svg)
-[`winter`](colors/winter.lua?raw=1) | ![winter_preview](previews/winter_preview.svg)
-[`zenburn`](colors/zenburn.lua?raw=1) | ![zenburn_preview](previews/zenburn_preview.svg)
+[`cold_lime`](colors/cold_lime.lua?raw=1) | ![cold_lime_preview](previews/cold_lime.svg)
+[`c0mfy`](colors/c0mfy.lua?raw=1) | ![c0mfy_preview](previews/c0mfy.svg)
+[`dracula`](colors/dracula.lua?raw=1) | ![dracula_preview](previews/dracula.svg)
+[`duorand`](colors/duorand.lua?raw=1) | ![duorand_preview](previews/duorand.svg)
+[`duotone`](colors/duotone.lua?raw=1) | ![duotone_preview](previews/duotone.svg)
+[`gruvbox_dark`](colors/gruvbox_dark.lua?raw=1) | ![gruvbox_dark_preview](previews/gruvbox_dark.svg)
+[`liqube`](colors/liqube.lua?raw=1) | ![liqube_preview](previews/liqube.svg)
+[`mariana`](colors/mariana.lua?raw=1) | ![mariana_preview](previews/mariana.svg)
+[`monodark`](colors/monodark.lua?raw=1) | ![monodark_preview](previews/monodark.svg)
+[`monokai`](colors/monokai.lua?raw=1) | ![monokai_preview](previews/monokai.svg)
+[`monokai-pro-classic`](colors/monokai-pro-classic.lua?raw=1) | ![monokai-pro-classic_preview](previews/monokai-pro-classic.svg)
+[`nord`](colors/nord.lua?raw=1) | ![nord_preview](previews/nord.svg)
+[`onedark`](colors/onedark.lua?raw=1) | ![onedark_preview](previews/onedark.svg)
+[`only_dark`](colors/only_dark.lua?raw=1) | ![only_dark_preview](previews/only_dark.svg)
+[`vscode-dark`](colors/vscode-dark.lua?raw=1) | ![vscode-dark_preview](previews/vscode-dark.svg)
+[`winter`](colors/winter.lua?raw=1) | ![winter_preview](previews/winter.svg)
+[`zenburn`](colors/zenburn.lua?raw=1) | ![zenburn_preview](previews/zenburn.svg)
## Light
Theme | Preview
------|-----------------------------------------
-[`github`](colors/github.lua?raw=1) | ![github_preview](previews/github_preview.svg)
-[`gruvbox_light`](colors/gruvbox_light.lua?raw=1) | ![gruvbox_light_preview](previews/gruvbox_light_preview.svg)
-[`moe`](colors/moe.lua?raw=1) | ![moe_preview](previews/moe_preview.svg)
-[`solarized_light`](colors/solarized_light.lua?raw=1) | ![solarized_light_preview](previews/solarized_light_preview.svg)
-[`solarobj`](colors/solarobj.lua?raw=1) | ![solarobj_preview](previews/solarobj_preview.svg)
+[`github`](colors/github.lua?raw=1) | ![github_preview](previews/github.svg)
+[`gruvbox_light`](colors/gruvbox_light.lua?raw=1) | ![gruvbox_light_preview](previews/gruvbox_light.svg)
+[`moe`](colors/moe.lua?raw=1) | ![moe_preview](previews/moe.svg)
+[`solarized_light`](colors/solarized_light.lua?raw=1) | ![solarized_light_preview](previews/solarized_light.svg)
+[`solarobj`](colors/solarobj.lua?raw=1) | ![solarobj_preview](previews/solarobj.svg)
+
diff --git a/make_preview_image.lua b/make_preview_image.lua
index b97420a..5addb18 100755
--- a/make_preview_image.lua
+++ b/make_preview_image.lua
@@ -1,7 +1,7 @@
#!/usr/bin/lua
local filename = ...
-local name = filename:match("([^\\/]+)%..*$") .. "_preview"
+local name = filename:match("([^\\/]+)%..*$")
-- get colors
diff --git a/previews/abyss_preview.svg b/previews/abyss.svg
index b6fd9bd..b6fd9bd 100644
--- a/previews/abyss_preview.svg
+++ b/previews/abyss.svg
diff --git a/previews/c0mfy_preview.svg b/previews/c0mfy.svg
index 3eb687a..3eb687a 100644
--- a/previews/c0mfy_preview.svg
+++ b/previews/c0mfy.svg
diff --git a/previews/cold_lime_preview.svg b/previews/cold_lime.svg
index f3b1217..f3b1217 100644
--- a/previews/cold_lime_preview.svg
+++ b/previews/cold_lime.svg
diff --git a/previews/dracula_preview.svg b/previews/dracula.svg
index c79d5a4..c79d5a4 100644
--- a/previews/dracula_preview.svg
+++ b/previews/dracula.svg
diff --git a/previews/duorand_preview.svg b/previews/duorand.svg
index c547791..c547791 100644
--- a/previews/duorand_preview.svg
+++ b/previews/duorand.svg
diff --git a/previews/duotone_preview.svg b/previews/duotone.svg
index 93877f8..93877f8 100644
--- a/previews/duotone_preview.svg
+++ b/previews/duotone.svg
diff --git a/previews/github_preview.svg b/previews/github.svg
index c212aaf..c212aaf 100644
--- a/previews/github_preview.svg
+++ b/previews/github.svg
diff --git a/previews/gruvbox_dark_preview.svg b/previews/gruvbox_dark.svg
index 451b47b..451b47b 100644
--- a/previews/gruvbox_dark_preview.svg
+++ b/previews/gruvbox_dark.svg
diff --git a/previews/gruvbox_light_preview.svg b/previews/gruvbox_light.svg
index 10e5d8f..10e5d8f 100644
--- a/previews/gruvbox_light_preview.svg
+++ b/previews/gruvbox_light.svg
diff --git a/previews/liqube_preview.svg b/previews/liqube.svg
index 459f571..459f571 100644
--- a/previews/liqube_preview.svg
+++ b/previews/liqube.svg
diff --git a/previews/mariana_preview.svg b/previews/mariana.svg
index c8ca27f..c8ca27f 100644
--- a/previews/mariana_preview.svg
+++ b/previews/mariana.svg
diff --git a/previews/moe_preview.svg b/previews/moe.svg
index 7c24285..7c24285 100644
--- a/previews/moe_preview.svg
+++ b/previews/moe.svg
diff --git a/previews/monodark_preview.svg b/previews/monodark.svg
index 9c153a4..9c153a4 100644
--- a/previews/monodark_preview.svg
+++ b/previews/monodark.svg
diff --git a/previews/monokai-pro-classic_preview.svg b/previews/monokai-pro-classic.svg
index a87865d..a87865d 100644
--- a/previews/monokai-pro-classic_preview.svg
+++ b/previews/monokai-pro-classic.svg
diff --git a/previews/monokai_preview.svg b/previews/monokai.svg
index 5b44f9f..5b44f9f 100644
--- a/previews/monokai_preview.svg
+++ b/previews/monokai.svg
diff --git a/previews/nord_preview.svg b/previews/nord.svg
index 1e77901..1e77901 100644
--- a/previews/nord_preview.svg
+++ b/previews/nord.svg
diff --git a/previews/onedark_preview.svg b/previews/onedark.svg
index 8dc754d..8dc754d 100644
--- a/previews/onedark_preview.svg
+++ b/previews/onedark.svg
diff --git a/previews/only_dark_preview.svg b/previews/only_dark.svg
index 908a542..908a542 100644
--- a/previews/only_dark_preview.svg
+++ b/previews/only_dark.svg
diff --git a/previews/solarized_light_preview.svg b/previews/solarized_light.svg
index d01ae7f..d01ae7f 100644
--- a/previews/solarized_light_preview.svg
+++ b/previews/solarized_light.svg
diff --git a/previews/solarobj_preview.svg b/previews/solarobj.svg
index aab02a7..aab02a7 100644
--- a/previews/solarobj_preview.svg
+++ b/previews/solarobj.svg
diff --git a/previews/vscode-dark_preview.svg b/previews/vscode-dark.svg
index 8a1742e..8a1742e 100644
--- a/previews/vscode-dark_preview.svg
+++ b/previews/vscode-dark.svg
diff --git a/previews/winter_preview.svg b/previews/winter.svg
index c6d23f8..c6d23f8 100644
--- a/previews/winter_preview.svg
+++ b/previews/winter.svg
diff --git a/previews/zenburn_preview.svg b/previews/zenburn.svg
index c2e7913..c2e7913 100644
--- a/previews/zenburn_preview.svg
+++ b/previews/zenburn.svg