impeccable (#18)
first pass with impeccable Reviewed-on: #18 Reviewed-by: xtul <mpiasecki720@protonmail.com> Co-authored-by: vickydotbat <vickydotbat@tutamail.com> Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
This commit was merged in pull request #18.
This commit is contained in:
@@ -177,3 +177,17 @@ library.filterMiddlewareRenderHeader = async function (hookData) {
|
||||
hookData.templateData.bootswatchSkinOptions = await meta.css.getSkinSwitcherOptions(hookData.req.uid);
|
||||
return hookData;
|
||||
};
|
||||
|
||||
// generated avatars stay in the court's palette instead of core's material-design brights;
|
||||
// core deterministically remaps any stored color not in this list (src/user/data.js)
|
||||
library.getIconBackgrounds = async function (data) {
|
||||
data.iconBackgrounds = [
|
||||
'#2a1222', // bruised plum
|
||||
'#3a1830', // plum bloom
|
||||
'#4a2433', // plum-red blend
|
||||
'#8e3438', // dried blood
|
||||
'#5a4a1a', // dark gold plate
|
||||
'#201924', // velvet panel raised
|
||||
];
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user