t9md / atom-theme-switch

Switch theme quickly
https://atom.io/packages/theme-switch
MIT License
9 stars 3 forks source link
atom

theme-switch

Switch theme(ui and syntax pair).

gif

Commands

Keymap

No keymap by default.
Keymap example is here.

'atom-workspace:not([mini])':
  'cmd-shift-up': 'theme-switch:prev'
  'cmd-shift-down': 'theme-switch:next'

Configuration

Set "ui and syntax theme pair" as member of each theme-set. You can add currently active "ui and syntax theme" to each profile by add-to-profiles, add-to-dark-profiles and add-to-light-profiles. Technically "ui and syntax theme pair" can be built by atom.config.get('core.themes').join(" ").

e.g.

"theme-switch":
  profiles: [
    "atom-dark-ui spacegray-dark-syntax"
    "atom-dark-ui atom-dark-syntax"
    "atom-light-ui atom-light-syntax"
  ],
  darkProfiles: [
    "atom-dark-ui atom-dark-syntax"
    "one-dark-ui one-dark-syntax"
  ],
  lightProfiles: [
    "atom-light-ui atom-light-syntax"
    "one-light-ui one-light-syntax"
  ]