aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2017-11-17 17:24:42 +0200
committershpuld <shp@cock.li>2017-11-17 17:24:42 +0200
commit21b31cf599e3dd619694ca7b6b998494b18af770 (patch)
tree622bc742d98442f03f9ba547ac77f7e1ebd0c3c2 /static
parente13c8c3fd292e5afa43f78bfff9e1bdd754c1df9 (diff)
Move custom theming from settings to style-switcher, remove usage of custom .css files, use styles.json instead.
Diffstat (limited to 'static')
-rw-r--r--static/config.json2
-rw-r--r--static/css/base16-pleroma-dark.css2
-rw-r--r--static/styles.json4
3 files changed, 6 insertions, 2 deletions
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" ]
+}