Request: Make instance background not hardcoded to an image #97

Open
opened 2018-04-15 16:05:13 +00:00 by andrewzah · 1 comment
Member

Current behavior: static/static/config.json expects an image:

"background": "/static/aurora_borealis.jpg",

Making this nil still adds this markup:

background-image: url("");


New proposed behavior: config.json accepts a css-background property. This would let users pick between an image or a solid background color, etc.

Current behavior: `static/static/config.json` expects an image: `"background": "/static/aurora_borealis.jpg",` Making this nil still adds this markup: `background-image: url("");` --- New proposed behavior: `config.json` accepts a css-background property. This would let users pick between an image or a solid background color, etc.
Member

How about using the background-color from the theme? If "background" is "" the following could be added to the CSS:

div.app-bg-wrapper {
    background-color: var(--bg);
}
How about using the background-color from the theme? If `"background"` is `""` the following could be added to the CSS: ``` css div.app-bg-wrapper { background-color: var(--bg); } ```
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#97
No description provided.