From d74c5b0f805b46f5aa8e01d3539ca22f05f07f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20V=2E=20Veras?= Date: Mon, 20 Jun 2022 16:48:16 -0300 Subject: [PATCH] feat: show theme number next to name --- gh-pages/index.html | 2 +- gh-pages/js/main.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gh-pages/index.html b/gh-pages/index.html index fa61833..c6b00eb 100644 --- a/gh-pages/index.html +++ b/gh-pages/index.html @@ -1 +1 @@ -Gogh - Color SchemeFork me on GitHub

Gogh

Color Scheme for Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal

Color Schemes For Ubuntu, Linux Mint, Elementary OS and all distributions that use Gnome Terminal, Pantheon Terminal, Tilix, or XFCE4 Terminal; initially inspired by Elementary OS Luna. Also works on iTerm for macOS.

Install

Just copy and paste One line command.

Linux (wget)

bash -c  "$(wget -qO- https://git.io/vQgMr)" 

Mac (curl)

bash -c  "$(curl -sLo- https://git.io/vQgMr)" 
\ No newline at end of file +Gogh - Color SchemeFork me on GitHub

Gogh

Color Scheme for Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal

Color Schemes For Ubuntu, Linux Mint, Elementary OS and all distributions that use Gnome Terminal, Pantheon Terminal, Tilix, or XFCE4 Terminal; initially inspired by Elementary OS Luna. Also works on iTerm for macOS.

Install

Just copy and paste One line command.

Linux (wget)

bash -c  "$(wget -qO- https://git.io/vQgMr)" 

Mac (curl)

bash -c  "$(curl -sLo- https://git.io/vQgMr)" 
\ No newline at end of file diff --git a/gh-pages/js/main.js b/gh-pages/js/main.js index e46d8ae..320b481 100644 --- a/gh-pages/js/main.js +++ b/gh-pages/js/main.js @@ -132,8 +132,9 @@ const $app = { created () { axios.get($getUrl).then((response) => { this.themes = response.data.themes; - this.themes.forEach((v) => { + this.themes.forEach((v, idx) => { v.category = lightOrDark(v.background); + v.name = v.name + ` (${idx + 1})` }); }); },