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.

[Feature Request] Card theme sync with GitHub theme

See original GitHub issue

Is your feature request related to a problem? Please describe. The GitHub Stats Card maybe visually incongruous(dark vs light) with the GitHub theme.

Describe the solution you’d like Allow setting 2 different card themes for Github’s “day theme” and “night theme”.

Describe alternatives you’ve considered Maybe a possible solution:

  1. Split the theme option into day_theme and night_theme.
  2. Try to get the current Github theme, and then activate the corresponding card theme.

It would be cool if the card theme can sync with different visitors’ GitHub theme. Thanks in advance. 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
l-zeuchcommented, Sep 24, 2021

That was quite interesting, but it’s not a fix, you know, It’s a hack.

I agree, it is quite hacky.

However, after digging around in GitHub’s documentation, I see no way to check what theme the user viewing is using, which is kind of a bummer. Consider using a balanced colour for the text colour if it’s too hard to read; I’ve found 9f9f9f to be good on all themes. And you’re right, it’s definitely better than nothing. As a rough guideline I’ll include my colour settings, and you’ll see that I’ve completely ditched the theme approach:

&title_color=4F8CC9&text_color=9f9f9f&bg_color=00000000

Kind regards

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing your theme settings - GitHub Docs
You can manage how GitHub looks to you by setting a theme preference that either follows your system settings or always uses a...
Read more >
Shopify GitHub integration for themes
Learn about the Shopify GitHub integration, a tool that lets you make and track changes to theme code using Git.
Read more >
Use report themes in Power BI Desktop - Microsoft Learn
Customize a theme by using the Customize theme dialog. Import a custom theme JSON file. Note. You can only apply themes in Power...
Read more >
hubsite theme sync - CLI for Microsoft 365
URL of the site to apply theme updates from the hub site to. -h, --help: output usage information; --query [query]: JMESPath query string....
Read more >
Quick Start - GitKraken Client Documentation
Check out card features to find how to include additional details such as ... you to connect to GitHub to sync your GitHub...
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