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.

My plugin requires dynamic theme at run-time

See original GitHub issue

Is your feature request related to a problem? Please describe. I’m writing a plugin that could change Hyper theme dynamically and automatically based on some criteria. But those themes are not belong to my dependencies, so they need to be preinstalled when Hyper is reloaded or trigged updating plugins.

Describe the solution you’d like I have tried to add a preinstall npm scripts to read the config and inject those dependencies name & version into my own plugin package.json. Similar to this method, but it seems that Hyper ignored that scripts.

Describe alternatives you’ve considered Maybe allow some ways for localPlugins using npm scripts.

Additional context I’m using latest canary branch to developing & testing my plugin.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
LabhanshAgrawalcommented, May 9, 2021

I know ideally it should work on the release as people are using that but it’s so old at this point that I don’t really want to dig and debug it hopefully we’ll have a newer release soon.

0reactions
ng-haicommented, Mar 3, 2022

I think this issue won’t be possible to deal with for now. Close it since I have successful implemented my dynamic theme plugin.

For detail: https://github.com/ng-hai/hyper-rose-pine-next

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ant Design Runtime Theme Update · Issue #10007 - GitHub
I have a Project using Sass and Ant Design and I am using antd-scss-theme-plugin plugin to override ant design default variables. Any suggestion ......
Read more >
Dynamic site title & tagline plugin - WordPress.org
I have a site logo with site title in the banner, plus I am using the theme tagline for site description. The problem...
Read more >
Dynamically loading TinyMCE - wrong plugin, theme paths
The only solution I could come up with is to copy and rename the theme.min.js, and plugin.min.js files to theme.js and plugin.js and...
Read more >
Creating dynamic themes with React & TailwindCSS
We're going to look at a way of creating your own dynamic themes using the awesome CSS Variables , which we will be...
Read more >
Dynamic Plugins | IntelliJ Platform Plugin SDK
If a plugin requires restart (e.g., due to using native libraries) specify require-restart="true" for <idea-plugin> root tag in plugin.xml.
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