ep_prefer_color_scheme

0.0.7 • Public • Published

Publish Status Backend Tests Status

Make Etherpad react to your systems default settings

For dark mode the following settings apply:

  const nightColors = {
    toolbar: 'dark',
    background: 'super-dark',
    editor: 'dark',
  }

For light mode:

  const dayColors = {
    toolbar: 'super-light',
    background: 'light',
    editor: 'super-light',
  }

Package Sidebar

Install

npm i ep_prefer_color_scheme

Weekly Downloads

6

Version

0.0.7

License

Apache-2.0 license

Unpacked Size

32.3 kB

Total Files

13

Last publish

Collaborators

  • johnyma22
  • rhansen0
  • gared