From fd1d318540820931fe467ada3df8df13d0f86053 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 20 May 2019 15:29:02 +0200 Subject: Make mammal theme look more like gargsite Signed-off-by: = <=> --- static/themes/mammal.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 static/themes/mammal.json (limited to 'static/themes') diff --git a/static/themes/mammal.json b/static/themes/mammal.json new file mode 100644 index 00000000..2f7ef27d --- /dev/null +++ b/static/themes/mammal.json @@ -0,0 +1,43 @@ +{ + "_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": [], + "panel": [], + "panelHeader": [], + "topBar": [] + }, + "opacity": { "input": "1" }, + "colors": { + "bg": "#282c37", + "text": "#f8f8f8", + "link": "#9bacc8", + "fg": "#444b5d", + "input": "#FFFFFF", + "inputText": "#282c37", + "btn": "#2b90d9", + "btnText": "#FFFFFF", + "cRed": "#7f3142", + "cBlue": "#2b90d9", + "cGreen": "#2bd850", + "cOrange": "#ca8f04" + }, + "radii": { + "btn": 4, + "input": 4, + "panel": "0", + "avatar": "4", + "avatarAlt": "4", + "attachment": "4" + } + } +} -- cgit v1.2.3-70-g09d2 From 08aa9e29031fb6ba05c9c5c58ffc62731acbaaf1 Mon Sep 17 00:00:00 2001 From: marcin mikołajczak Date: Mon, 20 May 2019 14:46:25 +0000 Subject: Remove fonts section, make buttons change color on hover/press --- static/themes/mammal.json | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'static/themes') 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": [] -- cgit v1.2.3-70-g09d2