Commit 1e95a079 authored by HJ's avatar HJ 🐼

paper theme, updated todo, lol

parent 3b3a31b4
......@@ -270,7 +270,7 @@ export const generateShadows = (input, colors) => {
rules: {
shadows: Object
.entries(shadows)
// TODO for v2.1: if shadow doesn't have non-inset shadows with spread > 0 - optionally
// TODO for v2.2: if shadow doesn't have non-inset shadows with spread > 0 - optionally
// convert all non-inset shadows into filter: drop-shadow() to boost performance
.map(([k, v]) => [
`--${k}Shadow: ${getCssShadow(v)}`,
......
......@@ -13,5 +13,5 @@
"breezy-dark": "/static/themes/breezy-dark.json",
"breezy-light": "/static/themes/breezy-light.json",
"mammal": "/static/themes/mammal.json",
"kenomo": "/static/themes/kenomo.json"
"paper": "/static/themes/paper.json"
}
{
"_pleroma_theme_version": 2,
"name": "Kenomo",
"source": {
"themeEngineVersion": 3,
"fonts": {},
"shadows": {
"panel": [],
"topBar": [],
"button": [
{
"x": 0,
"y": 1,
"blur": 0,
"spread": 0,
"color": "#FFFFFF",
"alpha": 0.2,
"inset": true
},
{
"x": 0,
"y": -1,
"blur": 0,
"spread": 0,
"color": "#000000",
"alpha": 0.2,
"inset": true
}
],
"input": [
{
"x": 0,
"y": "0",
"blur": 0,
"spread": "1",
"color": "#576574",
"alpha": "1",
"inset": true
}
]
},
"opacity": {
"underlay": "1",
"border": "0"
},
"colors": {
"bg": "#ffffff",
"fg": "#f6f6f6",
"text": "#494949",
"underlay": "#ffffff",
"link": "#818181",
"accent": "#818181",
"cBlue": "#2e86de",
"cRed": "#c96248",
"cGreen": "#0fa00f",
"cOrange": "#aa7623",
"postLink": "#2e86de",
"border": "#ffffff",
"icon": "#8a8a8a",
"panel": "transparent",
"topBarText": "#4b4b4b",
"tab": "--btn,-30",
"btn": "#576574"
},
"radii": {
"panel": "0",
"avatar": "6",
"avatarAlt": "6"
}
}
}
{
"_pleroma_theme_version": 2,
"name": "Paper",
"source": {
"themeEngineVersion": 3,
"fonts": {},
"shadows": {
"panel": [
{
"x": "0",
"y": "2",
"blur": "9",
"spread": 0,
"inset": false,
"color": "#668bb2",
"alpha": "0.1"
},
{
"x": "0",
"y": "1",
"blur": "2",
"spread": "-1",
"inset": false,
"color": "#668bb2",
"alpha": "0.1"
}
],
"topBar": [
{
"x": 0,
"y": "3",
"blur": "8",
"spread": 0,
"inset": false,
"color": "#3e618e",
"alpha": "0.1"
},
{
"x": 0,
"y": "1",
"blur": "4",
"spread": 0,
"inset": false,
"color": "#3e618e",
"alpha": "0.1"
}
],
"button": [
{
"x": 0,
"y": "2",
"blur": "5",
"spread": 0,
"color": "#463f78",
"alpha": "0.1",
"inset": false
}
],
"input": [
{
"x": 0,
"y": "1",
"blur": "2",
"spread": 0,
"inset": true,
"color": "#6277b7",
"alpha": "0.1"
}
],
"buttonHover": [
{
"x": 0,
"y": "2",
"blur": "5",
"spread": 0,
"color": "#494949",
"alpha": "0.1"
},
{
"x": 0,
"y": "2",
"blur": "0",
"spread": "20",
"color": "#ffffff",
"alpha": "1",
"inset": true
}
],
"buttonPressed": [
{
"x": 0,
"y": 0,
"blur": "4",
"spread": "0",
"color": "#494949",
"alpha": "0.8",
"inset": false
}
],
"avatarStatus": [
{
"x": "0",
"y": "2",
"blur": "4",
"spread": "0",
"inset": false,
"color": "#3e618e",
"alpha": "0.1"
}
],
"avatar": [
{
"x": 0,
"y": "2",
"blur": "5",
"spread": "0",
"color": "#3e618e",
"alpha": "0.9"
}
],
"popup": [
{
"x": "0",
"y": "3",
"blur": "11",
"spread": 0,
"color": "#668bb2",
"alpha": "0.2"
},
{
"x": "0",
"y": "2",
"blur": "3",
"spread": "-1",
"color": "#668bb2",
"alpha": "0.2"
}
]
},
"opacity": {
"underlay": "1",
"border": "0"
},
"colors": {
"bg": "#ffffff",
"fg": "#f6f6f6",
"text": "#494949",
"underlay": "#ffffff",
"link": "#788ca1",
"accent": "#97a0aa",
"cBlue": "#788ca1",
"cRed": "#eed7ce",
"cGreen": "#788ca1",
"cOrange": "#788ca1",
"postLink": "#788ca1",
"border": "#ffffff",
"icon": "#b6c9c4",
"panel": "#ffffff",
"topBarText": "#4b4b4b"
},
"radii": {
"btn": "0",
"input": "0",
"checkbox": "0",
"panel": "0",
"avatar": "2",
"avatarAlt": "2",
"tooltip": "0",
"attachment": "0"
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment