From 63963f59a3cc93750563766842ade0dc22870bf6 Mon Sep 17 00:00:00 2001 From: vis Date: Sat, 28 Sep 2024 15:30:17 -0500 Subject: [PATCH] adding themes --- config/local.example.json | 4 - package.json | 3 +- static/themes/questing-beast.json | 533 ++++++++++++++++++++++++++++++ 3 files changed, 535 insertions(+), 5 deletions(-) delete mode 100644 config/local.example.json create mode 100644 static/themes/questing-beast.json diff --git a/config/local.example.json b/config/local.example.json deleted file mode 100644 index 43ebd649..00000000 --- a/config/local.example.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "target": "https://otp.akkoma.dev/", - "staticConfigPreference": false -} diff --git a/package.json b/package.json index 51ee4830..ce6d67f0 100644 --- a/package.json +++ b/package.json @@ -130,5 +130,6 @@ "engines": { "node": ">= 16.0.0", "npm": ">= 3.0.0" - } + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" } diff --git a/static/themes/questing-beast.json b/static/themes/questing-beast.json new file mode 100644 index 00000000..c993345b --- /dev/null +++ b/static/themes/questing-beast.json @@ -0,0 +1,533 @@ +{ + "_pleroma_theme_version": 2, + "theme": { + "themeEngineVersion": 3, + "shadows": { + "panel": [ + { + "color": "#000000", + "x": "1", + "y": "2", + "blur": "6", + "spread": 0, + "alpha": 0.6 + } + ], + "topBar": [ + { + "x": 0, + "y": 0, + "blur": 4, + "spread": 0, + "color": "#000000", + "alpha": 0.6 + } + ], + "popup": [ + { + "x": 2, + "y": 2, + "blur": 3, + "spread": 0, + "color": "#000000", + "alpha": 0.5 + } + ], + "avatar": [ + { + "x": 0, + "y": 1, + "blur": 8, + "spread": 0, + "color": "#000000", + "alpha": 0.7 + } + ], + "avatarStatus": [], + "panelHeader": [ + { + "color": "#ffffff", + "x": 0, + "y": "40", + "blur": "40", + "spread": "-40", + "inset": true, + "alpha": "0.1" + } + ], + "button": [ + { + "color": "#ffffff", + "x": 0, + "y": "0", + "blur": "0", + "spread": "1", + "alpha": "0.15", + "inset": true + }, + { + "color": "#000000", + "x": "1", + "y": "1", + "blur": "1", + "spread": 0, + "alpha": "0.3", + "inset": false + } + ], + "buttonHover": [ + { + "color": "#79d994", + "x": 0, + "y": "0", + "blur": 0, + "spread": "1", + "alpha": 1, + "inset": true + }, + { + "color": "#000000", + "x": "1", + "y": "1", + "blur": "1", + "spread": 0, + "alpha": "0.3", + "inset": false + } + ], + "buttonPressed": [ + { + "color": "#bebebe", + "x": 0, + "y": 0, + "blur": "0", + "spread": "50", + "alpha": 0.5, + "inset": true + }, + { + "color": "#ffffff", + "x": 0, + "y": "0", + "blur": 0, + "spread": "1", + "alpha": 0.2, + "inset": true + }, + { + "color": "#000000", + "x": "1", + "y": "1", + "blur": 0, + "spread": 0, + "alpha": "0.3", + "inset": false + } + ], + "input": [ + { + "color": "#FFFFFF", + "x": 0, + "y": "0", + "blur": 0, + "spread": "1", + "alpha": "0.2", + "inset": true + } + ] + }, + "colors": { + "underlay": "#000000", + "bg": "#030a01", + "fg": "#31363b", + "cRed": "#c42d38", + "cGreen": "#22b325", + "cOrange": "#d7d720", + "cBlue": "#ffffff", + "accent": "#79d994", + "link": "#79d994", + "text": "#bebebe", + "badgeNotification": "#31492d", + "badgeNotificationText": "#ffffff", + "alertNeutral": "#bebebe", + "alertNeutralText": "#ffffff", + "alertPopupNeutral": "#bebebe", + "alertPopupNeutralText": "#000000", + "alertSuccess": "#22b325", + "alertSuccessText": "#ffffff", + "alertPopupSuccess": "#22b325", + "alertPopupSuccessText": "#000000", + "alertWarning": "#d7d720", + "alertWarningText": "#ffffff", + "alertPopupWarning": "#d7d720", + "alertPopupWarningText": "#000000", + "alertError": "#d6560b", + "alertErrorText": "#bebebe", + "alertPopupError": "#d6560b", + "alertPopupErrorText": "#ffffff", + "panel": "#1c3018", + "panelText": "#bebebe", + "alertNeutralPanelText": "#ffffff", + "alertSuccessPanelText": "#ffffff", + "alertWarningPanelText": "#ffffff", + "alertErrorPanelText": "#bebebe", + "fgText": "#bebebe", + "topBar": "#1c3018", + "topBarText": "#bebebe", + "input": "#1b1d1f", + "inputTopbarText": "#bebebe", + "inputPanelText": "#bebebe", + "inputText": "#bebebe", + "btn": "#1b1d1f", + "btnText": "#bebebe", + "btnTopBarText": "#bebebe", + "btnDisabled": "#0c121c", + "btnDisabledTopBarText": "#393d45", + "btnPanelText": "#bebebe", + "btnDisabledPanelText": "#393d45", + "btnDisabledText": "#393d45", + "btnToggled": "#1b1d1f", + "btnToggledTopBarText": "#bebebe", + "btnToggledPanelText": "#bebebe", + "btnToggledText": "#bebebe", + "btnPressed": "#1b1d1f", + "btnPressedTopBarText": "#bebebe", + "btnPressedTopBar": "#1b1d1f", + "btnPressedPanelText": "#bebebe", + "btnPressedPanel": "#1b1d1f", + "btnPressedText": "#bebebe", + "tabActiveText": "#bebebe", + "tabText": "#bebebe", + "tab": "#1b1d1f", + "fgLink": "#79d994", + "topBarLink": "#bebebe", + "panelLink": "#79d994", + "panelFaint": "#bebebe", + "icon": "#63666d", + "poll": "#0b1509", + "pollText": "#bebebe", + "border": "#363c41", + "postCyantext": "#ffffff", + "postGreentext": "#22b325", + "postLink": "#79d994", + "lightText": "#f2f2f2", + "popover": "#070e1b", + "selectedMenuPopover": "#0d1930", + "highlight": "#0b1509", + "highlightText": "#bebebe", + "selectedMenu": "#0b1509", + "selectedMenuText": "#bebebe", + "selectedMenuPopoverIcon": "#666c77", + "highlightLink": "#79d994", + "selectedMenuLink": "#79d994", + "selectedMenuPopoverLink": "#3daee9", + "selectedMenuPopoverText": "#bebebe", + "faintLink": "#79d994", + "highlightFaintLink": "#3daee9", + "selectedMenuFaintLink": "#3daee9", + "selectedMenuPopoverFaintLink": "#3daee9", + "faint": "#bebebe", + "highlightFaintText": "#bebebe", + "selectedMenuFaintText": "#bebebe", + "selectedMenuPopoverFaintText": "#bebebe", + "highlightLightText": "#f2f2f2", + "selectedMenuLightText": "#f2f2f2", + "selectedMenuPopoverLightText": "#f2f2f2", + "selectedMenuIcon": "#666c77", + "selectedPost": "#0b1509", + "selectedPostText": "#bebebe", + "selectedPostIcon": "#666c77", + "selectedPostLink": "#79d994", + "selectedPostFaintLink": "#3daee9", + "highlightPostLink": "#3daee9", + "selectedPostPostLink": "#3daee9", + "selectedPostLightText": "#f2f2f2", + "selectedPostFaintText": "#bebebe", + "popoverText": "#bebebe", + "popoverIcon": "#63666d", + "popoverLink": "#79d994", + "postFaintLink": "#3daee9", + "popoverPostFaintLink": "#3daee9", + "popoverFaintLink": "#3daee9", + "popoverFaintText": "#bebebe", + "popoverPostLink": "#3daee9", + "popoverLightText": "#f2f2f2", + "highlightIcon": "#666c77", + "highlightPostFaintLink": "#3daee9", + "profileTint": "#030a01", + "profileBg": "#010500", + "wallpaper": "#010101" + }, + "opacity": { + "underlay": 0.15, + "bg": 0.99, + "alert": 0.5, + "alertPopup": 0.95, + "panel": 0.75, + "input": 0.9, + "btn": 0.9, + "faint": 0.5, + "border": 0.55, + "popover": 1, + "profileTint": 0.5 + }, + "radii": { + "btn": "4", + "input": "4", + "checkbox": "1", + "panel": "9", + "avatar": "3", + "avatarAlt": "4", + "tooltip": "7", + "attachment": "3" + }, + "fonts": { + "interface": { + "family": "Tiresias PCFont" + }, + "input": { + "family": "inherit" + }, + "post": { + "family": "inherit" + }, + "postCode": { + "family": "monospace" + } + } + }, + "source": { + "themeEngineVersion": 3, + "fonts": { + "interface": { + "family": "Tiresias PCFont" + } + }, + "shadows": { + "panel": [ + { + "x": "1", + "y": "2", + "blur": "6", + "spread": 0, + "color": "#000000", + "alpha": 0.6 + } + ], + "button": [ + { + "x": 0, + "y": "0", + "blur": "0", + "spread": "1", + "color": "#ffffff", + "alpha": "0.15", + "inset": true + }, + { + "x": "1", + "y": "1", + "blur": "1", + "spread": 0, + "color": "#000000", + "alpha": "0.3", + "inset": false + } + ], + "panelHeader": [ + { + "x": 0, + "y": "40", + "blur": "40", + "spread": "-40", + "inset": true, + "color": "#ffffff", + "alpha": "0.1" + } + ], + "buttonHover": [ + { + "x": 0, + "y": "0", + "blur": 0, + "spread": "1", + "color": "--link", + "alpha": 1, + "inset": true + }, + { + "x": "1", + "y": "1", + "blur": "1", + "spread": 0, + "color": "#000000", + "alpha": "0.3", + "inset": false + } + ], + "buttonPressed": [ + { + "x": 0, + "y": 0, + "blur": "0", + "spread": "50", + "color": "--faint", + "alpha": 0.5, + "inset": true + }, + { + "x": 0, + "y": "0", + "blur": 0, + "spread": "1", + "color": "#ffffff", + "alpha": 0.2, + "inset": true + }, + { + "x": "1", + "y": "1", + "blur": 0, + "spread": 0, + "color": "#000000", + "alpha": "0.3", + "inset": false + } + ], + "input": [ + { + "x": 0, + "y": "0", + "blur": 0, + "spread": "1", + "color": "#FFFFFF", + "alpha": "0.2", + "inset": true + } + ] + }, + "opacity": { + "bg": "0.99", + "border": "0.55", + "panel": "0.75", + "btn": "0.9", + "input": "0.9" + }, + "colors": { + "bg": "#030a01", + "fg": "#31363b", + "text": "#bebebe", + "underlay": "#000000", + "link": "#79d994", + "accent": "#79d994", + "faint": "#bebebe", + "faintLink": "#79d994", + "postFaintLink": "#3daee9", + "cBlue": "#ffffff", + "cRed": "#c42d38", + "cGreen": "#22b325", + "cOrange": "#d7d720", + "highlight": "#0b1509", + "highlightLightText": "#f2f2f2", + "highlightPostLink": "#3daee9", + "highlightFaintText": "#bebebe", + "highlightFaintLink": "#3daee9", + "highlightPostFaintLink": "#3daee9", + "highlightText": "#bebebe", + "highlightLink": "#79d994", + "highlightIcon": "#666c77", + "popover": "#070e1b", + "popoverLightText": "#f2f2f2", + "popoverPostLink": "#3daee9", + "popoverFaintText": "#bebebe", + "popoverFaintLink": "#3daee9", + "popoverPostFaintLink": "#3daee9", + "popoverText": "#bebebe", + "popoverLink": "#79d994", + "popoverIcon": "#63666d", + "selectedPost": "#0b1509", + "selectedPostFaintText": "#bebebe", + "selectedPostLightText": "#f2f2f2", + "selectedPostPostLink": "#3daee9", + "selectedPostFaintLink": "#3daee9", + "selectedPostText": "#bebebe", + "selectedPostLink": "#79d994", + "selectedPostIcon": "#666c77", + "selectedMenu": "#0b1509", + "selectedMenuLightText": "#f2f2f2", + "selectedMenuFaintText": "#bebebe", + "selectedMenuFaintLink": "#3daee9", + "selectedMenuText": "#bebebe", + "selectedMenuLink": "#79d994", + "selectedMenuIcon": "#666c77", + "selectedMenuPopover": "#0d1930", + "selectedMenuPopoverLightText": "#f2f2f2", + "selectedMenuPopoverFaintText": "#bebebe", + "selectedMenuPopoverFaintLink": "#3daee9", + "selectedMenuPopoverText": "#bebebe", + "selectedMenuPopoverLink": "#3daee9", + "selectedMenuPopoverIcon": "#666c77", + "lightText": "#f2f2f2", + "postLink": "#79d994", + "border": "#363c41", + "poll": "#0b1509", + "pollText": "#bebebe", + "icon": "#63666d", + "fgText": "#bebebe", + "fgLink": "#79d994", + "panel": "#1c3018", + "panelText": "#bebebe", + "panelFaint": "#bebebe", + "panelLink": "#79d994", + "topBar": "#1c3018", + "topBarText": "#bebebe", + "topBarLink": "#bebebe", + "tab": "#1b1d1f", + "tabText": "#bebebe", + "tabActiveText": "#bebebe", + "btn": "#1b1d1f", + "btnText": "#bebebe", + "btnPanelText": "#bebebe", + "btnTopBarText": "#bebebe", + "btnPressed": "#1b1d1f", + "btnPressedText": "#bebebe", + "btnPressedPanel": "#1b1d1f", + "btnPressedPanelText": "#bebebe", + "btnPressedTopBar": "#1b1d1f", + "btnPressedTopBarText": "#bebebe", + "btnToggled": "#1b1d1f", + "btnToggledText": "#bebebe", + "btnToggledPanelText": "#bebebe", + "btnToggledTopBarText": "#bebebe", + "btnDisabled": "#0c121c", + "btnDisabledText": "#393d45", + "btnDisabledPanelText": "#393d45", + "btnDisabledTopBarText": "#393d45", + "input": "#1b1d1f", + "inputText": "#bebebe", + "inputPanelText": "#bebebe", + "inputTopbarText": "#bebebe", + "alertError": "#d6560b", + "alertErrorText": "#bebebe", + "alertErrorPanelText": "#bebebe", + "alertWarning": "#d7d720", + "alertWarningText": "#ffffff", + "alertWarningPanelText": "#ffffff", + "alertNeutral": "#bebebe", + "alertNeutralText": "#ffffff", + "alertNeutralPanelText": "#ffffff", + "badgeNotification": "#31492d", + "badgeNotificationText": "#ffffff" + }, + "radii": { + "btn": "4", + "input": "4", + "checkbox": "1", + "panel": "9", + "avatar": "3", + "avatarAlt": "4", + "tooltip": "7", + "attachment": "3" + } + } +} \ No newline at end of file