neomutt email white color when sending emails - mutt

We I try to send mail neomutt compose edit is all white. I know it is probray not my text editor because when ever I open neovim it looks fine and is not all white. It is only when I am in neomutt.
My code is:
# Default index colors:
color index yellow default '.*'
color index_author red default '.*'
color index_number blue default
color index_subject cyan default '.*'
# New mail is boldened:
color index brightyellow black "~N"
color index_author brightred black "~N"
color index_subject brightcyan black "~N"
# Tagged mail is highlighted:
color index brightyellow blue "~T"
color index_author brightred blue "~T"
color index_subject brightcyan blue "~T"
# Other colors and aesthetic settings:
mono bold bold
mono underline underline
mono indicator reverse
mono error bold
color normal default default
color indicator brightblack white
color sidebar_highlight red default
color sidebar_divider brightblack black
color sidebar_flagged red black
color sidebar_new green black
color normal brightyellow default
color error red default
color tilde black default
color message cyan default
color markers red white
color attachment white default
color search brightmagenta default
color status brightyellow black
color hdrdefault brightgreen default
color quoted green default
color quoted1 blue default
color quoted2 cyan default
color quoted3 yellow default
color quoted4 red default
color quoted5 brightred default
color signature brightgreen default
color bold black default
color underline black default
color normal default default
# Regex highlighting:
color header brightmagenta default "^From"
color header brightcyan default "^Subject"
color header brightwhite default "^(CC|BCC)"
color header blue default ".*"
color body brightred default "[\-\.+_a-zA-Z0-9]+#[\-\.a-zA-Z0-9]+" # Email addresses
color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
color body green default "\`[^\`]*\`" # Green text between ` and `
color body brightblue default "^# \.*" # Headings as bold blue
color body brightcyan default "^## \.*" # Subheadings as bold cyan
color body brightgreen default "^### \.*" # Subsubheadings as bold green
color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
color body brightcyan default "[;:][-o][)/(|]" # emoticons
color body brightcyan default "[;:][)(|]" # emoticons
color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
color body red default "(BAD signature)"
color body cyan default "(Good signature)"
color body brightblack default "^gpg: Good signature .*"
color body brightyellow default "^gpg: "
color body brightyellow red "^gpg: BAD signature from.*"
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"`
Can any one help me?
I have tried change all of the colors and the color is still there.

Related

How to change the theme color with SwiftUI?

I need to change the title of all the navigationlinks to a different color other than blue, like a custom green. Don't know where to begin.
Example
Use accent color like the following
NavigationView {
// content here
}.accentColor(Color.green)

I'm trying to draw text on my image but it's not showing up

I'm making a function that adds a border on a picture than applies text at a certain position but the text is not showing. I have the ttf font in my worker directory.
from PIL import Image, ImageDraw, ImageOps, ImageFont
def framemaker1(original_image,percentwth,color,text,textcolor,textsize):
img=Image.open(original_image)
width,height=img.size
thefont=ImageFont.truetype('BROADW.ttf',textsize)
framewth=int(width*percentwth)
framedimg=ImageOps.expand(img,border=framewth,fill=color)
draw=ImageDraw.Draw(framedimg)
draw.text=((framewth,height+framewth+0.25*framewth),text,thefont)
framedimg.save('framed'+original_image)
framedimg.show()
print img.size
I wanted to have the text at the bottom right corner but no text appears.

Forcing screen layout with Zurb-Foundation

Is there a way I can force the layout to change from landscape to vertical while it is being viewed on a mobile divice? I have a page with a large table that cuts the table off when viewed on a mobile divice. I want it to automatically lock in a vertical orientation while on a mobile divice so that the table displays properly.
I know I can detect the screen size and also do my own media queries, but how can I force the layout to shift?
From the Official Docs:
http://foundation.zurb.com/docs/media-queries.html
CSS:
/* Apply styles to screens in landscape orientation */
#media only screen and (orientation: landscape) {}
/* Apply styles to screens in portrait orientation */
#media only screen and (orientation: portrait) {}
Sass/SCSS:
/* Apply styles to screens in landscape orientation */
#media #{$landscape} { }
/* Apply styles to screens in portrait orientation */
#media #{$portrait} { }

Change highlight color in QWebView

I want to change to color in which text is highlighted when the findText() method is used. This color has nothing to do with user selected text. I have tried CSS as well as setting a QPalette. All occurences are always highlighted in yellow.
I've been searching for this as well, and it seems like it's hardcoded deep inside WebKit:
Color RenderTheme::platformInactiveTextSearchHighlightColor() const
{
return Color(255, 255, 0); // Yellow.
}
I really have the same problem. But the good news: Setting the style sheet helps at least to change the fg/bk color.
m_browser->setStyleSheet("QWebView {
selection-background-color: blue; selection-color: white; }");
But this is not the whole truth because it only changes the fg/bk color of the currently found text. No idea how to change the fg/bk color of all occurences.
Axel

QToolButton and color

I'm trying to make a simple design to select a color and I'm using a QToolButton to open a QColorDialog.
My problem is that I would like the QToolButton to be of the selected color but I've only suceeded to set the background color, which is not what I want.
Here is a picture:
My code:
QColor color = QColorDialog::getColor(m_couleur);
if (color.isValid()) m_couleur=color;
m_labelCouleur->setPalette(QPalette(m_couleur));
m_labelCouleur->setAutoFillBackground(true);
m_buttonCouleur->setPalette(QPalette(m_couleur));
m_buttonCouleur->setAutoFillBackground(true);
Basically I would like the QToolButton to look something like this:
edit: Can anyone explain to me why the website won't let me add "Hi everybody" at the beginning?
QColor color = QColorDialog::getColor(m_couleur);
QPixmap px(20, 20);
px.fill(color);
m_buttonCouleur->setIcon(px);
No CSS involved in this case is (for me ofcourse) big pro
Use the setStylesheet function in order to change the background color of your button
m_buttonCouleur->setStyleSheet(QString("QToolButton{ background: %1; }").arg(m_couleur.name()));
I've done exactly that by using a QPushButton and setting its style sheet to the result from the color picker. I guess a tool button should probably be the same.
button->setStyleSheet(QString("background-color: %1; "
"border: 1px; "
"border-color: black; "
"border-style: outset;").arg(color.name()));