Closed aeimer closed 6 years ago
@webmatze any ideas how to solve this?
Hey @aeimer, I am sorry. I had no time to look into this issue. I will invest some time this weekend.
@aeimer, I think that the problem is that the plugin settings are added to the wrong place. Plugin settings must be added to the config
object, for example like this:
module.exports = {
//...
config: {
//...
hyperBorder: {
borderColors: ['#fd5f00', '#2c2c2c'],
blurredColors: '#333333',
adminBorderColors: ['#ff0000', '#999999'],
},
//...
},
plugins: ['hyperborder'],
//...
};
Ahhh, thanks alot. :)
Hi there, I use the new hyper 2.0, the default values work. But none of the configured values are applied.
I printed out the config property from your index.js, it seems like the API changed and the config are no longer available under window.config?!
I work on win10.
hyper.js:
The Window is still styled in the default colors.
If I alter the index.js => https://github.com/webmatze/hyperborder/blob/master/index.js#L23
It prints out the following: There is no
hyperborder
object in the config. I think the new Hyper-Version offers another way to get the config?! This could be an bug from hyper?!