Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Latest commit

 

History

History
60 lines (48 loc) · 1.05 KB

README.md

File metadata and controls

60 lines (48 loc) · 1.05 KB

Hyper Sync Color Scheme

A Hyper plugin to sync your color scheme with your system's appearance.

Installation

Install the plugin with the following command:

hyper i hyper-sync-color-scheme

Then, whenever you change your system's appearance, hard reload Hyper to apply the new color scheme.

Configuration

You can configure the plugin by adding a colorScheme key to your config object in ~/.hyper.js.

config: {
  colorScheme: {
    dark: 'One Dark',
    light: 'One Light'
  },
  profiles: []
}

The colorScheme object should contain two keys: dark and light. The values should be the names of the profiles you want to use when your system is in dark and light mode, respectively.

config: {
  colorScheme: {
    dark: 'One Dark',
    light: 'One Light'
  },
  profiles: [
    {
      name: "One Dark",
      config: {
        colors: {
          // ...
        },
      },
    },
    {
      name: "One Light",
      config: {
        colors: {
          // ...
        },
      },
    },
  ];
}

License

MIT