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.
This commit is contained in:
paxcut
2025-07-11 03:42:45 -07:00
committed by GitHub
parent 44717e9b19
commit 5c6cb9dccc
2 changed files with 4 additions and 4 deletions

View File

@@ -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",

View File

@@ -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",