My plugin requires dynamic theme at run-time
See original GitHub issueIs 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:
- Created 2 years ago
- Comments:17 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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