Development has moved to hyper-solarized. The time based switching features are now included there!
One theme to rule them both.
Upon switching from iTerm to Hyper, I missed the ability to easily change the color palette 1) via keyboard shortcut, and 2) based on time of day. This solves #2 (for now), and is halfway to solving #1.
Issue #3 is that all of the Solarized themes on npm broke down while using vim with Ethan Schoonover's vim-colors-solarized; vim was almost unusable due to lack of visibility, due to weird color assignments.
-
Works with the official vim Solarized color scheme. No crazy background color dissonance here.
-
Dark/light variant can be controlled via
exports.config
in.hyper.js
. -
Automatically switch between color variants based on time of day π π π #winning #programming #healthyeyes #thefutureisnow
- Gets along splendidly with a simple vimscript block of the same purpose.
-
Keyboard shortcut may be added in a future release, unless there's already a Hyper extension for toggling settings with the keyboard.
hyper i hyper-solarized-one
The theme defaults to the dark variant. Switch to the light variant by setting this in your .hyper.js
:
solarized: {
'lightTheme': true
}
To set up automatic color variant switching:
solarized: {
lightTheme: true,
light: "08:00",
dark: "18:00",
},
The values must be strings formatted like HH:MM
and use 24-hour time, otherwise unexpected shenanigans may occur.
Problems? Questions, comments, concerns? Open an issue or better yet a pull request!
License: MIT (because npm yells at you for typing in 'steal').
- Bind keyboard shortcut to toggle theme temporarily.
- Change white text in tab bar for light variant.
- Set highlight colors to inverted base colors (use must comment out their own highlight conf).
- Fix fish shell autocomplete highlight color invisible with with dark theme
Praise be to Ethan Schoonover for blessing our eyes with the Solarized.
Thanks @wesbos for helping me quickly assimilate with ES6.
This is a fork of Noskcaj19 / hyper-solarized, which was the only hyper solarized theme I found that didn't ravage vim.