From 21b31cf599e3dd619694ca7b6b998494b18af770 Mon Sep 17 00:00:00 2001 From: shpuld Date: Fri, 17 Nov 2017 17:24:42 +0200 Subject: Move custom theming from settings to style-switcher, remove usage of custom .css files, use styles.json instead. --- static/config.json | 2 +- static/css/base16-pleroma-dark.css | 2 +- static/styles.json | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 static/styles.json (limited to 'static') diff --git a/static/config.json b/static/config.json index 195ee046..8b596992 100644 --- a/static/config.json +++ b/static/config.json @@ -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 diff --git a/static/css/base16-pleroma-dark.css b/static/css/base16-pleroma-dark.css index 8190d2a7..e1d46f92 100644 --- a/static/css/base16-pleroma-dark.css +++ b/static/css/base16-pleroma-dark.css @@ -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; } diff --git a/static/styles.json b/static/styles.json new file mode 100644 index 00000000..229cde39 --- /dev/null +++ b/static/styles.json @@ -0,0 +1,4 @@ +{ + "pleroma-dark": [ "Pleroma Dark", "#121a24", "#182230", "#b9b9ba", "#d8a070" ], + "pleroma-light": [ "Pleroma Light", "#f2f4f6", "#d0d6db", "#304055", "#e46f0f" ] +} -- cgit v1.2.3-70-g09d2