From c3d7e595f891922d22c02adbd09e4b0d80f1d882 Mon Sep 17 00:00:00 2001
From: Chidambaram Nachiappan
<60850111+thechidambaram@users.noreply.github.com>
Date: Fri, 25 Feb 2022 09:39:21 +0000
Subject: Removed preview suffix from SVGs
---
README.md | 45 ++++++++++++++++----------------
make_preview_image.lua | 2 +-
previews/abyss.svg | 16 ++++++++++++
previews/abyss_preview.svg | 16 ------------
previews/c0mfy.svg | 17 ++++++++++++
previews/c0mfy_preview.svg | 17 ------------
previews/cold_lime.svg | 12 +++++++++
previews/cold_lime_preview.svg | 12 ---------
previews/dracula.svg | 18 +++++++++++++
previews/dracula_preview.svg | 18 -------------
previews/duorand.svg | 12 +++++++++
previews/duorand_preview.svg | 12 ---------
previews/duotone.svg | 14 ++++++++++
previews/duotone_preview.svg | 14 ----------
previews/github.svg | 19 ++++++++++++++
previews/github_preview.svg | 19 --------------
previews/gruvbox_dark.svg | 14 ++++++++++
previews/gruvbox_dark_preview.svg | 14 ----------
previews/gruvbox_light.svg | 14 ++++++++++
previews/gruvbox_light_preview.svg | 14 ----------
previews/liqube.svg | 19 ++++++++++++++
previews/liqube_preview.svg | 19 --------------
previews/mariana.svg | 22 ++++++++++++++++
previews/mariana_preview.svg | 22 ----------------
previews/moe.svg | 18 +++++++++++++
previews/moe_preview.svg | 18 -------------
previews/monodark.svg | 14 ++++++++++
previews/monodark_preview.svg | 14 ----------
previews/monokai-pro-classic.svg | 19 ++++++++++++++
previews/monokai-pro-classic_preview.svg | 19 --------------
previews/monokai.svg | 18 +++++++++++++
previews/monokai_preview.svg | 18 -------------
previews/nord.svg | 18 +++++++++++++
previews/nord_preview.svg | 18 -------------
previews/onedark.svg | 21 +++++++++++++++
previews/onedark_preview.svg | 21 ---------------
previews/only_dark.svg | 27 +++++++++++++++++++
previews/only_dark_preview.svg | 27 -------------------
previews/solarized_light.svg | 15 +++++++++++
previews/solarized_light_preview.svg | 15 -----------
previews/solarobj.svg | 20 ++++++++++++++
previews/solarobj_preview.svg | 20 --------------
previews/vscode-dark.svg | 21 +++++++++++++++
previews/vscode-dark_preview.svg | 21 ---------------
previews/winter.svg | 17 ++++++++++++
previews/winter_preview.svg | 17 ------------
previews/zenburn.svg | 21 +++++++++++++++
previews/zenburn_preview.svg | 21 ---------------
48 files changed, 430 insertions(+), 429 deletions(-)
create mode 100644 previews/abyss.svg
delete mode 100644 previews/abyss_preview.svg
create mode 100644 previews/c0mfy.svg
delete mode 100644 previews/c0mfy_preview.svg
create mode 100644 previews/cold_lime.svg
delete mode 100644 previews/cold_lime_preview.svg
create mode 100644 previews/dracula.svg
delete mode 100644 previews/dracula_preview.svg
create mode 100644 previews/duorand.svg
delete mode 100644 previews/duorand_preview.svg
create mode 100644 previews/duotone.svg
delete mode 100644 previews/duotone_preview.svg
create mode 100644 previews/github.svg
delete mode 100644 previews/github_preview.svg
create mode 100644 previews/gruvbox_dark.svg
delete mode 100644 previews/gruvbox_dark_preview.svg
create mode 100644 previews/gruvbox_light.svg
delete mode 100644 previews/gruvbox_light_preview.svg
create mode 100644 previews/liqube.svg
delete mode 100644 previews/liqube_preview.svg
create mode 100644 previews/mariana.svg
delete mode 100644 previews/mariana_preview.svg
create mode 100644 previews/moe.svg
delete mode 100644 previews/moe_preview.svg
create mode 100644 previews/monodark.svg
delete mode 100644 previews/monodark_preview.svg
create mode 100644 previews/monokai-pro-classic.svg
delete mode 100644 previews/monokai-pro-classic_preview.svg
create mode 100644 previews/monokai.svg
delete mode 100644 previews/monokai_preview.svg
create mode 100644 previews/nord.svg
delete mode 100644 previews/nord_preview.svg
create mode 100644 previews/onedark.svg
delete mode 100644 previews/onedark_preview.svg
create mode 100644 previews/only_dark.svg
delete mode 100644 previews/only_dark_preview.svg
create mode 100644 previews/solarized_light.svg
delete mode 100644 previews/solarized_light_preview.svg
create mode 100644 previews/solarobj.svg
delete mode 100644 previews/solarobj_preview.svg
create mode 100644 previews/vscode-dark.svg
delete mode 100644 previews/vscode-dark_preview.svg
create mode 100644 previews/winter.svg
delete mode 100644 previews/winter_preview.svg
create mode 100644 previews/zenburn.svg
delete mode 100644 previews/zenburn_preview.svg
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.svg b/previews/abyss.svg
new file mode 100644
index 0000000..b6fd9bd
--- /dev/null
+++ b/previews/abyss.svg
@@ -0,0 +1,16 @@
+
\ No newline at end of file
diff --git a/previews/abyss_preview.svg b/previews/abyss_preview.svg
deleted file mode 100644
index b6fd9bd..0000000
--- a/previews/abyss_preview.svg
+++ /dev/null
@@ -1,16 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/c0mfy.svg b/previews/c0mfy.svg
new file mode 100644
index 0000000..3eb687a
--- /dev/null
+++ b/previews/c0mfy.svg
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/previews/c0mfy_preview.svg b/previews/c0mfy_preview.svg
deleted file mode 100644
index 3eb687a..0000000
--- a/previews/c0mfy_preview.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/cold_lime.svg b/previews/cold_lime.svg
new file mode 100644
index 0000000..f3b1217
--- /dev/null
+++ b/previews/cold_lime.svg
@@ -0,0 +1,12 @@
+
\ No newline at end of file
diff --git a/previews/cold_lime_preview.svg b/previews/cold_lime_preview.svg
deleted file mode 100644
index f3b1217..0000000
--- a/previews/cold_lime_preview.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/dracula.svg b/previews/dracula.svg
new file mode 100644
index 0000000..c79d5a4
--- /dev/null
+++ b/previews/dracula.svg
@@ -0,0 +1,18 @@
+
\ No newline at end of file
diff --git a/previews/dracula_preview.svg b/previews/dracula_preview.svg
deleted file mode 100644
index c79d5a4..0000000
--- a/previews/dracula_preview.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/duorand.svg b/previews/duorand.svg
new file mode 100644
index 0000000..c547791
--- /dev/null
+++ b/previews/duorand.svg
@@ -0,0 +1,12 @@
+
\ No newline at end of file
diff --git a/previews/duorand_preview.svg b/previews/duorand_preview.svg
deleted file mode 100644
index c547791..0000000
--- a/previews/duorand_preview.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/duotone.svg b/previews/duotone.svg
new file mode 100644
index 0000000..93877f8
--- /dev/null
+++ b/previews/duotone.svg
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/previews/duotone_preview.svg b/previews/duotone_preview.svg
deleted file mode 100644
index 93877f8..0000000
--- a/previews/duotone_preview.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/github.svg b/previews/github.svg
new file mode 100644
index 0000000..c212aaf
--- /dev/null
+++ b/previews/github.svg
@@ -0,0 +1,19 @@
+
\ No newline at end of file
diff --git a/previews/github_preview.svg b/previews/github_preview.svg
deleted file mode 100644
index c212aaf..0000000
--- a/previews/github_preview.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/gruvbox_dark.svg b/previews/gruvbox_dark.svg
new file mode 100644
index 0000000..451b47b
--- /dev/null
+++ b/previews/gruvbox_dark.svg
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/previews/gruvbox_dark_preview.svg b/previews/gruvbox_dark_preview.svg
deleted file mode 100644
index 451b47b..0000000
--- a/previews/gruvbox_dark_preview.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/gruvbox_light.svg b/previews/gruvbox_light.svg
new file mode 100644
index 0000000..10e5d8f
--- /dev/null
+++ b/previews/gruvbox_light.svg
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/previews/gruvbox_light_preview.svg b/previews/gruvbox_light_preview.svg
deleted file mode 100644
index 10e5d8f..0000000
--- a/previews/gruvbox_light_preview.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/liqube.svg b/previews/liqube.svg
new file mode 100644
index 0000000..459f571
--- /dev/null
+++ b/previews/liqube.svg
@@ -0,0 +1,19 @@
+
\ No newline at end of file
diff --git a/previews/liqube_preview.svg b/previews/liqube_preview.svg
deleted file mode 100644
index 459f571..0000000
--- a/previews/liqube_preview.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/mariana.svg b/previews/mariana.svg
new file mode 100644
index 0000000..c8ca27f
--- /dev/null
+++ b/previews/mariana.svg
@@ -0,0 +1,22 @@
+
\ No newline at end of file
diff --git a/previews/mariana_preview.svg b/previews/mariana_preview.svg
deleted file mode 100644
index c8ca27f..0000000
--- a/previews/mariana_preview.svg
+++ /dev/null
@@ -1,22 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/moe.svg b/previews/moe.svg
new file mode 100644
index 0000000..7c24285
--- /dev/null
+++ b/previews/moe.svg
@@ -0,0 +1,18 @@
+
\ No newline at end of file
diff --git a/previews/moe_preview.svg b/previews/moe_preview.svg
deleted file mode 100644
index 7c24285..0000000
--- a/previews/moe_preview.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/monodark.svg b/previews/monodark.svg
new file mode 100644
index 0000000..9c153a4
--- /dev/null
+++ b/previews/monodark.svg
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/previews/monodark_preview.svg b/previews/monodark_preview.svg
deleted file mode 100644
index 9c153a4..0000000
--- a/previews/monodark_preview.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/monokai-pro-classic.svg b/previews/monokai-pro-classic.svg
new file mode 100644
index 0000000..a87865d
--- /dev/null
+++ b/previews/monokai-pro-classic.svg
@@ -0,0 +1,19 @@
+
\ No newline at end of file
diff --git a/previews/monokai-pro-classic_preview.svg b/previews/monokai-pro-classic_preview.svg
deleted file mode 100644
index a87865d..0000000
--- a/previews/monokai-pro-classic_preview.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/monokai.svg b/previews/monokai.svg
new file mode 100644
index 0000000..5b44f9f
--- /dev/null
+++ b/previews/monokai.svg
@@ -0,0 +1,18 @@
+
\ No newline at end of file
diff --git a/previews/monokai_preview.svg b/previews/monokai_preview.svg
deleted file mode 100644
index 5b44f9f..0000000
--- a/previews/monokai_preview.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/nord.svg b/previews/nord.svg
new file mode 100644
index 0000000..1e77901
--- /dev/null
+++ b/previews/nord.svg
@@ -0,0 +1,18 @@
+
\ No newline at end of file
diff --git a/previews/nord_preview.svg b/previews/nord_preview.svg
deleted file mode 100644
index 1e77901..0000000
--- a/previews/nord_preview.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/onedark.svg b/previews/onedark.svg
new file mode 100644
index 0000000..8dc754d
--- /dev/null
+++ b/previews/onedark.svg
@@ -0,0 +1,21 @@
+
\ No newline at end of file
diff --git a/previews/onedark_preview.svg b/previews/onedark_preview.svg
deleted file mode 100644
index 8dc754d..0000000
--- a/previews/onedark_preview.svg
+++ /dev/null
@@ -1,21 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/only_dark.svg b/previews/only_dark.svg
new file mode 100644
index 0000000..908a542
--- /dev/null
+++ b/previews/only_dark.svg
@@ -0,0 +1,27 @@
+
\ No newline at end of file
diff --git a/previews/only_dark_preview.svg b/previews/only_dark_preview.svg
deleted file mode 100644
index 908a542..0000000
--- a/previews/only_dark_preview.svg
+++ /dev/null
@@ -1,27 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/solarized_light.svg b/previews/solarized_light.svg
new file mode 100644
index 0000000..d01ae7f
--- /dev/null
+++ b/previews/solarized_light.svg
@@ -0,0 +1,15 @@
+
\ No newline at end of file
diff --git a/previews/solarized_light_preview.svg b/previews/solarized_light_preview.svg
deleted file mode 100644
index d01ae7f..0000000
--- a/previews/solarized_light_preview.svg
+++ /dev/null
@@ -1,15 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/solarobj.svg b/previews/solarobj.svg
new file mode 100644
index 0000000..aab02a7
--- /dev/null
+++ b/previews/solarobj.svg
@@ -0,0 +1,20 @@
+
\ No newline at end of file
diff --git a/previews/solarobj_preview.svg b/previews/solarobj_preview.svg
deleted file mode 100644
index aab02a7..0000000
--- a/previews/solarobj_preview.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/vscode-dark.svg b/previews/vscode-dark.svg
new file mode 100644
index 0000000..8a1742e
--- /dev/null
+++ b/previews/vscode-dark.svg
@@ -0,0 +1,21 @@
+
\ No newline at end of file
diff --git a/previews/vscode-dark_preview.svg b/previews/vscode-dark_preview.svg
deleted file mode 100644
index 8a1742e..0000000
--- a/previews/vscode-dark_preview.svg
+++ /dev/null
@@ -1,21 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/winter.svg b/previews/winter.svg
new file mode 100644
index 0000000..c6d23f8
--- /dev/null
+++ b/previews/winter.svg
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/previews/winter_preview.svg b/previews/winter_preview.svg
deleted file mode 100644
index c6d23f8..0000000
--- a/previews/winter_preview.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
\ No newline at end of file
diff --git a/previews/zenburn.svg b/previews/zenburn.svg
new file mode 100644
index 0000000..c2e7913
--- /dev/null
+++ b/previews/zenburn.svg
@@ -0,0 +1,21 @@
+
\ No newline at end of file
diff --git a/previews/zenburn_preview.svg b/previews/zenburn_preview.svg
deleted file mode 100644
index c2e7913..0000000
--- a/previews/zenburn_preview.svg
+++ /dev/null
@@ -1,21 +0,0 @@
-
\ No newline at end of file
--
cgit v1.2.3