mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-05 04:07:23 +02:00
Start of theming of achievements
+ default text/SGR styles can now be set for quick customization of colors
This commit is contained in:
parent
3cc905ea84
commit
f56a72e0c3
3 changed files with 61 additions and 28 deletions
|
@ -96,7 +96,7 @@ function loadTheme(themeId, cb) {
|
|||
}
|
||||
|
||||
if(false === _.get(theme, 'info.enabled')) {
|
||||
return cb(Errors.General('Theme is not enalbed', ErrorReasons.ErrNotEnabled));
|
||||
return cb(Errors.General('Theme is not enabled', ErrorReasons.ErrNotEnabled));
|
||||
}
|
||||
|
||||
refreshThemeHelpers(theme);
|
||||
|
@ -131,8 +131,9 @@ function getMergedTheme(menuConfig, promptConfig, theme) {
|
|||
//
|
||||
// Add in data we won't be altering directly from the theme
|
||||
//
|
||||
mergedTheme.info = theme.info;
|
||||
mergedTheme.helpers = theme.helpers;
|
||||
mergedTheme.info = theme.info;
|
||||
mergedTheme.helpers = theme.helpers;
|
||||
mergedTheme.achievements = _.get(theme, 'customization.achievements');
|
||||
|
||||
//
|
||||
// merge customizer to disallow immutable MCI properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue