jerrykal / hyper-material-box

The most hackable theme for your favorite terminal Hyper
MIT License
30 stars 9 forks source link

ERROR: Cannot read property 'blue' of undefined #5

Closed stoe closed 7 years ago

stoe commented 7 years ago

After installing and reopening/reloading Hyper I get the following error popup.

screenshot 2017-08-03 at 17 23 07

My config is as follows:

module.exports = {
  config: {
    materialBox: {
      scheme: 'material',
      selectedTabFlavor: 'preline',
    }
  },
  plugins: [
    'hyper-material-box'
  ],
  localPlugins: []
};
jerrykal commented 7 years ago

@stoe Add colors: {}, in the config section.

module.exports = {
  config: {
    colors: {},
    materialBox: {
      scheme: 'material',
      selectedTabFlavor: 'preline',
    }
  },
  plugins: [
    'hyper-material-box'
  ],
  localPlugins: []
};

If the problem not solved yet, feel free to reopen it.