Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding any custom config to hyperline will break fontSize (and possibly other props, not tested) #184

Open
9oelM opened this issue Jul 31, 2019 · 1 comment

Comments

@9oelM
Copy link

9oelM commented Jul 31, 2019

The problem

I have

module.exports = {
  config: {
    updateChannel: 'stable',
    fontSize: 30,
     ...
   },
   plugins: ['hyperline'],
   ...

and it does not resort to the original fontSize (which I guess is like 12px). Everything is ok:

image

But if I add hyperline config, like this:

   config: {
      updateChannel: 'stable',
      fontSize: 30,
      ...
   },
   plugins: ['hyperline'],
   config: {
    hyperline:{
      plugins: [
        'hostname',
        'ip',
        'memory',
        'cpu',
        'network',
        'battery',
      ]
    }
  },

This will somehow override styles (I mean that fontSize gets somehow reduced down to 12px again. I also suspect some other styles don't work) specified in exports.config.

image

@nick-robo
Copy link

I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants