From 5c6cb9dcccd778a59615bb966864aa49713a0638 Mon Sep 17 00:00:00 2001 From: paxcut <53811119+paxcut@users.noreply.github.com> Date: Fri, 11 Jul 2025 03:42:45 -0700 Subject: [PATCH] fix: issues with two remaining themes. (#420) Both one-dark and nocturne used global-doc-comment instead of the correctly named doc-global-comment. Typos in Nocturned didn't prevent the theme from loading, but left annoying messages in the log. As explained by the author, the base color map must be one of the three that imhex loads by default, dark,light and/or classic. Even if that is not the case, the name given in base must be that of a valid color map that has been loaded prior to the ones that use it as a base. --- themes/Nocturne.json | 6 +++--- themes/one_dark.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/Nocturne.json b/themes/Nocturne.json index 253ea5f..9db4d5b 100644 --- a/themes/Nocturne.json +++ b/themes/Nocturne.json @@ -1,6 +1,6 @@ { - "base": "Nocturne (Dark)", - "name": "Nocture", + "base": "Dark", + "name": "Nocturne", "image_theme": "dark", "authors": "JeanxPereira", "description": "minimal dark theme based on Dracula but more darker", @@ -162,7 +162,7 @@ "default": "#7F7F7FFF", "doc-comment": "#206020FF", "error-marker": "#D83545FF", - "global-doc-comment": "#2B9C89FF", + "doc-global-comment": "#2B9C89FF", "identifier": "#AFAFAFFF", "keyword": "#F87AC4FF", "known-identifier": "#6CF982FF", diff --git a/themes/one_dark.json b/themes/one_dark.json index 545c904..11c16f6 100644 --- a/themes/one_dark.json +++ b/themes/one_dark.json @@ -158,7 +158,7 @@ "default": "#DADADAFF", "doc-comment": "#206858FF", "error-marker": "#C01A2BFF", - "global-doc-comment": "#208070FF", + "doc-global-comment": "#208070FF", "identifier": "#E4E4E4FB", "keyword": "#C46DE6FF", "known-identifier": "#C46DE6FF",