From 08aa9e29031fb6ba05c9c5c58ffc62731acbaaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 20 May 2019 14:46:25 +0000 Subject: [PATCH] Remove fonts section, make buttons change color on hover/press --- static/themes/mammal.json | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/static/themes/mammal.json b/static/themes/mammal.json index 2f7ef27d..50b8e2f0 100644 --- a/static/themes/mammal.json +++ b/static/themes/mammal.json @@ -2,16 +2,30 @@ "_pleroma_theme_version": 2, "name": "Mammal", "theme": { - "fonts": { - "interface": { "family": "Roboto, sans-serif" }, - "input": { "family": "Roboto, sans-serif" }, - "post": { "family": "Roboto, sans-serif" }, - "postCode": { "family": "Roboto Mono, monospace" } - }, "shadows": { "button": [], - "buttonHover": [], - "buttonPressed": [], + "buttonHover": [ + { + "x": "0", + "y": "0", + "blur": "0", + "spread": 1024, + "color": "#56a7e1", + "alpha": "1", + "inset": true + } + ], + "buttonPressed": [ + { + "x": "0", + "y": "0", + "blur": "0", + "spread": 1024, + "color": "#56a7e1", + "alpha": "1", + "inset": true + } + ], "panel": [], "panelHeader": [], "topBar": []