question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Org Plugin: Themed Ownership Card

See original GitHub issue

Feature Suggestion

  • Currently the OwnershipCard only uses the default theme colours
  • It would be nice if they matched the theme of the backstage app in which they the component resides
  • Potential drawback: custom themes that don’t cover all the page theme ids will all fallback to the default theme and so the page will look less exciting. (Though will still match the page themes within the app)

Possible Implementation

I had a go at making the change so if this is something that people think belongs in the base plugin I’m happy to submit a PR. (Just need to figure out the changeset and tidy some things up). The theme is already threaded through to the styles so it was simply a case of reading the styles from the theme.

Example (monochrome theme):

Skärmavbild 2021-02-14 kl  02 14 01

Would love to know people’s thoughts on this.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
egnwdcommented, Feb 16, 2021

Happy to open a PR for this, I just didn’t want to conflate the storybook PR with this update. I need to look at seeing if I can get the theme I use for the widget to respond the the light mode/dark mode button in the storybook UI.

0reactions
egnwdcommented, Feb 18, 2021

@freben I had some time to finish that PR hopefully that answers your question/opens the discussion of how to possibly change my implementation 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Equal height of member profile card - WordPress.org
The topic 'Equal height of member profile card' is closed to new replies. Ultimate Member – User Profile, User Registration, Login & Membership...
Read more >
Known plugin and theme conflicts and incompatibilities
Below, however, is a list of known plugin and theme conflicts. Please review this list for the plugin or theme you are wondering...
Read more >
12 Best Free Plugins to Build Custom Registration Form in ...
The easiest free plugins for custom WordPress registration forms that you can create without the need to know how to code.
Read more >
24 Must Have WordPress Plugins for Business Websites in 2022
Looking for the best WordPress plugins to use on your business website? Here's our expert-pick of the must have WordPress plugins for ...
Read more >
How to Submit Plugins to the WordPress.org Repository
Awesome content for WordPress Plugin & Theme developers. The team at Freemius writes some of the best content in the WordPress space. It's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found