Skip to content

Commit

Permalink
DDMsgReader: Added default color definitions for indexed reader mode …
Browse files Browse the repository at this point in the history
…in case they aren't specified in the theme .cfg file
  • Loading branch information
FlyingToaster committed Apr 5, 2023
1 parent 2d0a946 commit 99c2468
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions xtrn/DDMsgReader/DDMsgReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -16194,7 +16194,7 @@ function getDefaultColors()
msgListFromUserTimeColor: "\x01h\x01b",

// Message list highlight colors
msgListHighlightBkgColor: "\x01" + "4", // Background
msgListHighlightBkgColor: "\x014", // Background
msgListMsgNumHighlightColor: "\x01h\x01y",
msgListFromHighlightColor: "\x01h\x01c",
msgListToHighlightColor: "\x01h\x01c",
Expand All @@ -16204,7 +16204,7 @@ function getDefaultColors()
msgListTimeHighlightColor: "\x01h\x01w",

// Lightbar message list help line colors
lightbarMsgListHelpLineBkgColor: "\x01" + "7", // Background
lightbarMsgListHelpLineBkgColor: "\x017", // Background
lightbarMsgListHelpLineGeneralColor: "\x01b",
lightbarMsgListHelpLineHotkeyColor: "\x01r",
lightbarMsgListHelpLineParenColor: "\x01m",
Expand Down Expand Up @@ -16236,14 +16236,14 @@ function getDefaultColors()
areaChooserMsgAreaLatestDateColor: "\x01n\x01g",
areaChooserMsgAreaLatestTimeColor: "\x01n\x01m",
// Highlighted colors (for lightbar mode)
areaChooserMsgAreaBkgHighlightColor: "\x01" + "4", // Blue background
areaChooserMsgAreaBkgHighlightColor: "\x014", // Blue background
areaChooserMsgAreaNumHighlightColor: "\x01w\x01h",
areaChooserMsgAreaDescHighlightColor: "\x01c",
areaChooserMsgAreaDateHighlightColor: "\x01w\x01h",
areaChooserMsgAreaTimeHighlightColor: "\x01w\x01h",
areaChooserMsgAreaNumItemsHighlightColor: "\x01w\x01h",
// Lightbar area chooser help line
lightbarAreaChooserHelpLineBkgColor: "\x01" + "7", // Background
lightbarAreaChooserHelpLineBkgColor: "\x017", // Background
lightbarAreaChooserHelpLineGeneralColor: "\x01b",
lightbarAreaChooserHelpLineHotkeyColor: "\x01r",
lightbarAreaChooserHelpLineParenColor: "\x01m",
Expand All @@ -16256,7 +16256,7 @@ function getDefaultColors()
// area in the enhanced reader mode before a prompt
enhReaderPromptSepLineColor: "\x01n\x01h\x01g",
// Colors for the enhanced reader help line
enhReaderHelpLineBkgColor: "\x01" + "7",
enhReaderHelpLineBkgColor: "\x017",
enhReaderHelpLineGeneralColor: "\x01b",
enhReaderHelpLineHotkeyColor: "\x01r",
enhReaderHelpLineParenColor: "\x01m",
Expand All @@ -16266,7 +16266,29 @@ function getDefaultColors()
hdrLineValueColor: "\x01n\x01b\x01h",

// Selected message marker color
selectedMsgMarkColor: "\x01n\x01w\x01h"
selectedMsgMarkColor: "\x01n\x01w\x01h",

// Colors for the indexed mode sub-board menu:
indexMenuDesc: "\x01n\x01w",
indexMenuTotalMsgs: "\x01n\x01w",
indexMenuNumNewMsgs: "\x01n\x01w",
indexMenuLastPostDate: "\x01b\x01h",
// Highlighted/selected:
indexMenuHighlightBkg: "\x014",
indexMenuDescHighlight: "\x01w\x01h",
indexMenuTotalMsgsHighlight: "\x01w\x01h",
indexMenuNumNewMsgsHighlight: "\x01w\x01h",
indexMenuLastPostDateHighlight: "\x01w\x01h",

// Colors for the indexed mode help line text:
// Background
lightbarIndexedModeHelpLineBkgColor: "\x017",
// Hotkey color
lightbarIndexedModeHelpLineHotkeyColor: "\x01r",
// General text
lightbarIndexedModeHelpLineGeneralColor: "\x01b",
// For ) separating the hotkeys from general text
lightbarIndexedModeHelpLineParenColor: "\x01m"
};
}

Expand Down

0 comments on commit 99c2468

Please sign in to comment.