From c06b94ad9103dc49b3070fb3f7672c8122c79a0f Mon Sep 17 00:00:00 2001 From: Random Penguin <25882519-randompenguin@users.noreply.gitlab.com> Date: Sun, 23 Mar 2025 14:37:48 -0500 Subject: [PATCH] Added list of color options --- README.md | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 21d6639..d3359d6 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ This is a Friendica add-on that adds a stylesheet to the HEAD element to support It does not add any interface for creating Postboxes, but users can still create them with BBcode: -```[class=postbox-red]Wrapped text goes here[/class] - ## Getting started 1. Place the "postbox" folder in your _friendica/addons_ subfolder. @@ -15,9 +13,43 @@ It does not add any interface for creating Postboxes, but users can still create ## Using Zen Postbox 1. Open the message Compose modal or Page -2. Type [class=postbox-red]Wrapped text goes here[/class] (substitute "-red" with any of the available styles) +2. Type `[class=postbox-red]Wrapped text goes here[/class]` (substitute "-red" with any of the available styles) 3. Press the "Preview" tab to see what it will look like. +### Available Postbox styles + +**Solid Color Backgrounds:** + +- .postbox-black +- .postbox-red +- .postbox-green +- .postbox-blue +- .postbox-orange +- .postbox-purple +- .postbox-forest +- .postbox-ocean +- .postbox-pink +- .postbox-salmon + + +**Gradient Backgrounds:** + +- .postbox-darkgray +- .postbox-minty +- .postbox-mintgray +- .postbox-redblue +- .postbox-violets +- .postbox-grayblack +- .postbox-tealblue +- .postbox-greengray +- .postbox-tealgray +- .postbox-bluegray +- .postbox-lavendergray +- .postbox-sunset +- .postbox-sherbert + + + ## Known Issues - Postboxes are not shown on other platforms when your post is shared. @@ -31,7 +63,7 @@ It does not add any interface for creating Postboxes, but users can still create Random Penguin <https://gitlab.com/randompenguin> ## License -Assuming AGPL for add-ons since that's the license Friendica is under +AGPL ## Project status Unsupported by Friendica devs. \ No newline at end of file