Skip to content

Commit 5c6cb9d

Browse files
authored
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.
1 parent 44717e9 commit 5c6cb9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

themes/Nocturne.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"base": "Nocturne (Dark)",
3-
"name": "Nocture",
2+
"base": "Dark",
3+
"name": "Nocturne",
44
"image_theme": "dark",
55
"authors": "JeanxPereira",
66
"description": "minimal dark theme based on Dracula but more darker",
@@ -162,7 +162,7 @@
162162
"default": "#7F7F7FFF",
163163
"doc-comment": "#206020FF",
164164
"error-marker": "#D83545FF",
165-
"global-doc-comment": "#2B9C89FF",
165+
"doc-global-comment": "#2B9C89FF",
166166
"identifier": "#AFAFAFFF",
167167
"keyword": "#F87AC4FF",
168168
"known-identifier": "#6CF982FF",

themes/one_dark.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"default": "#DADADAFF",
159159
"doc-comment": "#206858FF",
160160
"error-marker": "#C01A2BFF",
161-
"global-doc-comment": "#208070FF",
161+
"doc-global-comment": "#208070FF",
162162
"identifier": "#E4E4E4FB",
163163
"keyword": "#C46DE6FF",
164164
"known-identifier": "#C46DE6FF",

0 commit comments

Comments
 (0)