Merge branch 'plain-bg' into 'develop'

Solid color wallpaper support

See merge request pleroma/pleroma-fe!1314
This commit is contained in:
HJ 2020-12-18 08:37:01 +00:00
commit 8d9bf3efc8
15 changed files with 54 additions and 14 deletions

View file

@ -84,6 +84,10 @@ export const SLOT_INHERITANCE = {
opacity: 'bg',
priority: 1
},
wallpaper: {
depends: ['bg'],
color: (mod, bg) => brightness(-2 * mod, bg).rgb
},
fg: {
depends: [],
priority: 1