Oh My ZSH theme not matching colors - zsh

I'm trying to make this zsh theme work: https://gist.github.com/3712874
I've made some small changes to it but there is still one problem. It seems that the right triangle glyph doesn't get the same color as the text background. See this image:
Any ideas why this might happen, and how to fix it?

I made it look pretty good. I had to go change the opacity of my colors. Instead of 100% I had to fiddle a bit and set them around 76-81% depending on what color it was.

I believe I switched to iTerm2 to fix this issue in the end.

Solution
On Linux using Terminal I had to change the Profile Preferences->Colors. For example, I wanted to use the theme dpoggi. I downloaded the theme image, then used the dropper tool to match the "red" "green", "cyan", and "magenta" that are used in the dpoggi source code.
dpoggi theme
Terminal Profile Preferences->Colors

I found that playing with the "Cursor guide" transparency in Preferences > Profiles worked for me. It can also be disabled.

Related

Changing invisible (white font) output in RStudio theme `Cobalt`

I'm using R Studio's Cobalt theme, and I have found one case where in-line output in Rmd files is invisible (i.e. font is white on a white background). I would like to edit that font colour to anything visible.
Reproducible example below:
First set Editor Theme to Cobalt:
Then, a simple example of using str_view() from Hadley's R4DS, in an Rmd file:
x <- c("apple", "banana", "pear")
stringr::str_view(x, "an")
The output will render to visible HTML no problem, and the Viewer window also shows visible output:
But when if you run it as an in-line chunk (i.e. how a lot of my debugging takes place), we get some of the output as a white font on white background:
How can I edit that font colour for that particular output, so that it is visible?
I have already tried editing Cobalt here:
https://tmtheme-editor.herokuapp.com/#!/editor/theme/Cobalt
Following the advice from here:
https://towardsdatascience.com/customize-your-rstudio-theme-914cca8b04b1
Maybe it's late but i've a solution with same problem.You need to change foreground color of your preferred theme(or change html background)
Here is you can edit your preferred theme : https://tmtheme-editor.herokuapp.com
As you wrote upward,in most of dark themes foregrounds are whitish . Where you can edit in general tab .You should choose a bit darker foreground (for ex:#BEC0C2).
or
i couldn't find how to change html background in Cobalt theme but some other (ex: Material) theme allow us to change colors of popup Css
Sorry for my photo edits :D
Hopefully it will work ...
For anyone looking at this question, I've tried a lot of things, and honestly the easiest answer was to move the output of chunks out of the inline document, and move it to the console. Everything works after that:

wxpython button background color to default

I am looking to change the background color of a button in my GUI application to default.After searching online, i saw that
button1.SetBackgroundColour(wx.NullColor) does not seem to work. I am using python 2.7.
Is there any other way I could set it to default color with out using system colors
A little late, but maybe someone else has the same problem.
Did you try
button1.SetBackgroundColour(wx.NullColour)
So, write "Colour" instead of "Color", the non-American writing. This worked for me.
If wx.NullColour doesn't work, a solution is to decode the RGB code for the colour you seek and apply it to your background.
E.g. the background color on my wx GUI is the light grey from Windows, its RGB code is R=240, G=240, B=240 (you can measure this using Paint for instance).
Then this should work:
button1.SetBackgroundColour(wx.Colour(240, 240, 240))
Of course if you want your GUI to be portable on other systems this isn't the best option since this light grey is only the default colour in Windows.
With Python 2.7.17 and wxPython 3.0.2.0 the following seems to work:
button1.SetBackgroundColour('')
I think that the solutions do not work because wxPython works with a style system. I was able to change foreground & background colours with the SetStyle method.
I was styling a wx.TextCtrl where I needed to highlight the text I search for.
First, I stored the existing colours to variables.
bc = self.te.GetBackgroundColour()
fc = self.te.GetForegroundColour()
self.bcol = wx.Colour(bc[0], bc[1], bc[2], bc[3])
self.fcol = wx.Colour(fc[0], fc[1], fc[2], fc[3])
Change the colours with SetStyle
self.te.SetStyle(x, y, wx.TextAttr(wx.BLACK, wx.LIGHT_GREY))
And reset it back to the original colours:
self.te.SetStyle(0, -1, wx.TextAttr(self.fcol, self.bcol))

oh-my-zsh: change background color of current line

I recently discovered oh-my-zsh and want to use a custom skin.
I found a good one (crunch) and want to change just one thing. Unfortunately I can't find any documentation about how to write a theme.
I am looking for a way to change the background color only of the line I enter my command into. Kind of like here:
I even found the code for the picture.
How can I change the background color in this one single line?

Urxvt - powerline wrong color

after quite a hard time I actually get powerline work in urxvt.
There is only one problem left:
http://i57.tinypic.com/nnk4g9.png
Does sombody know how I switch the bg-color of the command-number?
It's impossible for me to set the color correctly...
Thank you in advance!
I solved it:
There is a option to set colors for each element in powerline oh-my-zsh-theme:
POWERLEVEL_HISTORY_BACKGROUND = "black"

How do I get the hexadecimal code of a color on my webpage?

I have a web page which has a picture. That picture has a color.
I need the hex code of the color in that picture. How can I get it?
Get Firefox. Get the ColorZilla plugin. Click on ColorZilla. Move over the color you want. Voila! You have the hexadecimal codes.
Another program to use is ColorPic.
ColorSchemer ColorPix is another good option. Light weight, and it gives you (among others) the RGB as well as the Hex for a given color.
The Internet Explorer developer toolbar (F12 in Internet Explorer 8) has a colour picker in the Tools menu that should help you.
Firefox has a few add-ons available that do the same thing.
If you want to do this in software, rather than manually, you could use a canvas element in supported browsers - draw the image on the canvas, then extract the colour information of the desired pixel. See this related question for how.
You can try Pixie from Nattyware. That is free and they also have a portable version.
Take a screenshot and open it in a regular or sophisticated paint application to get the color. Or better: download the picture and open it in a paint application.
Take a screenshot of the page, open it in Adobe Photoshop and select that color with the dropper tool.
The Color dialog will show you the hexadecimal code, the RGB color and the CYMK color code for that. You can do the same in GIMP if you don’t have Photoshop.

Resources