From 458084b0bf9793d7f95936721553323b4c58e38c Mon Sep 17 00:00:00 2001 From: bri <284789+b-@users.noreply.github.com> Date: Mon, 11 Dec 2023 02:04:24 -0500 Subject: [PATCH] fix site --- index.html | 2 +- js/main.js | 7 ++++--- themes.json | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) create mode 120000 themes.json diff --git a/index.html b/index.html index af5a7e41..4c45c662 100644 --- a/index.html +++ b/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/js/main.js b/js/main.js index 209b33d7..2a4b3484 100644 --- a/js/main.js +++ b/js/main.js @@ -117,8 +117,8 @@ function sortColors (colors) { * ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */ -var $getUrl = 'https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes.json'; -// var $getUrl = '../data/themes.json'; + var $getUrl = 'https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes.json'; + // var $getUrl = 'themes.json'; const $app = { data () { @@ -132,7 +132,8 @@ const $app = { created () { axios.get($getUrl).then((response) => { - this.themes = response.data.themes; + //this.themes = response.data.themes; + this.themes = response.data; this.themes.forEach((v) => { v.category = lightOrDark(v.background); }); diff --git a/themes.json b/themes.json new file mode 120000 index 00000000..da720eea --- /dev/null +++ b/themes.json @@ -0,0 +1 @@ +../data/themes.json \ No newline at end of file