GithubHelp home page GithubHelp logo

sh78 / hyper-solarized-one Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noskcaj19/hyper-solarized

3.0 2.0 0.0 2.15 MB

A 2-for-1 Solarized theme for the Hyper Terminal. It knows what πŸ•it is...

Home Page: https://www.npmjs.com/package/hyper-solarized-one

JavaScript 100.00%

hyper-solarized-one's Introduction

Hyper > Solarized One πŸ•

🚨 Deprecated! 🚨

Development has moved to hyper-solarized. The time based switching features are now included there!

One theme to rule them both.

sample.gif

light

dark

Background 🎨

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.

Features βœ…

  • 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

  • Keyboard shortcut may be added in a future release, unless there's already a Hyper extension for toggling settings with the keyboard.

Getting Started πŸ₯‡

Installation πŸ–₯

hyper i hyper-solarized-one

Configuration βš™οΈ

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.

Contributing πŸ‘₯

Problems? Questions, comments, concerns? Open an issue or better yet a pull request!

License: MIT (because npm yells at you for typing in 'steal').

TODO: 🚨

  • 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

Credits πŸ‘πŸ½

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.

hyper-solarized-one's People

Contributors

noskcaj19 avatar sh78 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.