Move custom theming from settings to style-switcher, remove usage of custom .css files, use styles.json instead.

This commit is contained in:
shpuld 2017-11-17 17:24:42 +02:00
parent e13c8c3fd2
commit 21b31cf599
9 changed files with 220 additions and 166 deletions

View file

@ -1,6 +1,6 @@
{
"name": "Pleroma FE",
"theme": "base16-pleroma-dark.css",
"theme": "pleroma-dark",
"background": "/static/bg.jpg",
"logo": "/static/logo.png",
"registrationOpen": false

View file

@ -17,7 +17,7 @@
.base00 { color: #161c20; }
.base01 { color: #282e32; }
.base02 { color: #36393e; }
.base02 { color: #343a3f; }
.base03 { color: #4e5256; }
.base04 { color: #ababab; }
.base05 { color: #b9b9b9; }

4
static/styles.json Normal file
View file

@ -0,0 +1,4 @@
{
"pleroma-dark": [ "Pleroma Dark", "#121a24", "#182230", "#b9b9ba", "#d8a070" ],
"pleroma-light": [ "Pleroma Light", "#f2f4f6", "#d0d6db", "#304055", "#e46f0f" ]
}