Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom colors in info panel #2644

Open
3 tasks done
mtrezza opened this issue Jan 30, 2025 · 1 comment
Open
3 tasks done

Custom colors in info panel #2644

mtrezza opened this issue Jan 30, 2025 · 1 comment
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature

Comments

@mtrezza
Copy link
Member

mtrezza commented Jan 30, 2025

New Feature / Enhancement Checklist

Current Limitation

The panel uses a fixed set of colors for fonts and backgrounds.

Feature / Enhancement Description

Allow to set custom font and background color per item.

Example Use Case

The feature allows to visually highlight values that require attention, for example:

{
  "panel": {
    "segments": [
      {
        "title": "Accounts",
        "titleFontColor": "#ffffff",
        "titleBackgroundColor": "#000000"
        "items": [
          {
            "type": "keyValue",
            "key": "Checking Account",
            "value": "USD -1.00",
            "fontColor": "#ffffff",
            "backgroundColor": "#ff0000"
          },
          {
            "type": "keyValue",
            "key": "Savings Account",
            "value": "USD 1.00"
          }
        }
      ]
    }
  }

Should be displayed like this:

Image
Copy link

parse-github-assistant bot commented Jan 30, 2025

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added type:feature New feature or improvement of existing feature bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

1 participant