sonph / onehalf Goto Github PK
View Code? Open in Web Editor NEWClean, vibrant and pleasing color schemes for Vim, Sublime Text, iTerm, gnome-terminal and more.
License: MIT License
Clean, vibrant and pleasing color schemes for Vim, Sublime Text, iTerm, gnome-terminal and more.
License: MIT License
I love onehalf color schemes but as I switched over spyder from sublime, how could I use onehalf (lighter version) on spyder ?
Can we have an extension for Google chrome?
I've been lookin for a good light theme for some time... those are hard to find. Onehalf looks great, thanks for publishing it.
Do you plan on supporting Visual Studio Code?
I suggest a port for Atom
Thanks for a great theme. The tools I use most often are Alacritty/iTerm/Linux Terminal, tmux
, neovim
, XCode
and VS Code (code
). Nice to have 80% of them covered. Mind implementing your theme for VS Code?
It would be nice to have support for italic fonts (comments, keywords, etc). There are currently a few themes that support it.
Would love to see a theme matching for tmux - there is one that's close, but doesn't quite do it for me. I'd be happy to take it on as well.
I know it's a big burden for you, my sir.
But I have yet to find any color-scheme as great as your in any editor I've used.
Despite I ported OneHalf to St terminal, Bspwm, i3wm.
Spacemacs most certainly is beyond my capable!
Please, please...do me this favor!
Gudday!
OneHalf ports:
https://imgur.com/sdPxFkC
Hi, I would like to setup my terminal according to your screenshot, but I can't figure out what kind of font you're using.
Thanks
doing an incremental search for a string or having search highlighting on and doing a search and replace in vim is really cumbersome due to current highlighting colors being used.
when you invoke search in vim all matches for the search pattern are highlighted, then the currently active match is usually highlighted in a different color. In OneHalf however this is not the case:
This results in the following behaviour:
here we can't determine what highlighted instance would be replaced if I press yes.
The next screenshot shows what the behaviour is if IncSearch has a different highlighting then default Search:
In this case I simply hijack the highlighting groups that are defined in the onehalf colorscheme file by linking Search to Pmenu and IncSearch to PMenuSel.
like this:
hi! link Search PMenu
hi! link IncSearch PMenuSel
as you can see the current active item is highlighted with a blue background and the others are highlighted with gray.
This is just a hack in my own vim configuration file however, I'm not sure what colors we want to use here. Just putting this out to see how we can fix this.
Would you consider creating a theme for Lightline?
It works perfectly fine in Sublime, and I love the colour scheme so I'm bummed out that I can't get this to work, but in Vim the background is this sort of dark brown colour and I can't for the life of me figure out why. What I'dl like is to have it mimic this screenshot. I've followed all the instructions in the readme and searched the web for the past few hours to see if it was a more general Vim issue, and can't get it looking like that. I'm using the OneHalfDark.terminal colour scheme found in this repo. It's possible I've configured something wrong but I can't figure out what. Relevant vim settings are all in that screenshot.
I write colors in conf file, for kitty terminal. Just create a file in
~/.config/kitty/onehalf.conf
with
# Onehalf Colorscheme for Kitty
# Based on https://github.com/sonph/onehalf
foreground #dcdfe4
background #282c34
selection_foreground #000000
selection_background #FFFACD
url_color #0087BD
# black
color0 #282c34
color8 #282c36
# red
color1 #e06c75
color9 #e06c75
# green
color2 #98c379
color10 #98c379
# yellow
color3 #e5c07b
color11 #e5c07b
# blue
color4 #61afef
color12 #61afef
# magenta
color5 #c678dd
color13 #c678dd
# cyan
color6 #56b6c2
color14 #56b6c2
# white
color7 #dcdfe4
color15 #dcdfe4
and add the line to principal configuration file ~/.config/kitty/kitty.conf
include onehalf.conf
Just pasted your colors into ST colorscheme!
Replace with this code all color scheme in config.h
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
[0] = "#282c34", /* black */
[1] = "#e06c75", /* red */
[2] = "#98c379", /* green */
[3] = "#e5c07b", /* yellow */
[4] = "#61afef", /* blue */
[5] = "#c678dd", /* magenta */
[6] = "#56b6c2", /* cyan */
[7] = "#dcdfe4", /* white */
/* 8 bright colors */
[8] = "#485187", /* black */
[9] = "#e06c75", /* red */
[10] = "#c3f49f", /* green */
[11] = "#ffdb99", /* yellow */
[12] = "#7cc4ff", /* blue */
[13] = "#eba8ff", /* magenta */
[14] = "#e06c75", /* cyan */
[15] = "#f7f8f9", /* white */
/* special colors */
[256] = "#282c34", /* background */
[257] = "#dcdfe4", /* foreground */
};
/*
* Default colors (colorname index)
* foreground, background, cursor, cursor
*/
unsigned int defaultfg = 257;
unsigned int defaultbg = 256;
unsigned int defaultcs = 257;
unsigned int defaultrcs = 257;
This theme is used by default in bat as of sharkdp/bat@67ec5fe, and this should be reflected when talking about all the editors this theme supports.
Hi,
First off, thanks a lot for this color scheme and the accompanying install scripts. My new favorite!
I tried to install the scheme for gnome-terminal, following the relevant readme:
https://github.com/sonph/onehalf/tree/master/gnome-terminal
It resulted in all existing gnome terminal profiles being deleted, only default remaining. No One Half profile added.
Seems to be a common issue with Gnome Terminal 3.22.2 on Debian 9. See similar thread over at Gogh:
Gogh-Co/Gogh#63
The open source Visual Studio Code seems like a nice free alternative do Sublime Text. It would be great if your color scheme could also be used in it.
Can instructions be added on how to set this theme up on Bash on Ubuntu on Windows?
Hi,
Please port to VS Code.
This theme greatly helped my spring-cleaning-color-needs!
I really like your work, thank you ❤️
I want to ask you to add a solution for vifm
docs:
examples:
P.S. excellent ligament: terminal
-> vifm
-> vim
Using the light Konsole theme causes an invisible "visual line" marking in Vim.
Reproduce:
You should the the marked lines but you see nothing.
I really love the colors of this theme. Chrome theme will be awesome.
Please add one :')
Instead of 2 color schemes, the vim integration should be one. The distinction between light and dark should be made via the 'background'
setting, which can be either light or dark.
This is particularly useful for plugins such as https://github.com/amdt/sunset
Theoretically re-opening this one here.
I would like to match the colors between VIM and iTerm as well.
Played a bit around and found inside "../../onehalf/vim/colors/onehalfdark.vim"
let s:black = { "gui": "#282c34", "cterm": "236" }
I changed it to
let s:black = { "gui": "#000000", "cterm": "0" }
and it seems to work. Might not be the correct color like defined for iterm colors, but would be lovely to see it match by default.
Appreciate your great efforts in that project and really like the theme. Thanks
Hi, it would be great if you could make one half for VS Code.
I use the zsh-autosuggestions plugin on iterm2. When typing a command in iterm, a suggestion is displayed in a lighter font color like so:
However, this lighter colored text doesn't show up when using the dark theme in a neovim terminal tab:
The images aren't so great but, the difference is very noticeable to the eye.
The text does show up when using the onehalflight version, but it's just plain back. I presume that this is what's happening with the onehalfdark theme, it's just that it doesn't show up due to the similarity of color with the background.
for
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.