Thursday, March 29, 2012

Make Firefox work with dark themes in Gnome/GTK/Unity

Google and stackoverflow like to fuck with the colors for their search boxes.. after fighting with greasemonkey for the whole day I finally gave up and installed Stylish then added this as a global stylesheet:

input, textarea {
    background: #000000 ! important;
    color: #FFFFFF ! important;
}

In conkeror, simply changed everything with a stylesheet in the .conkerorrc file (or folder).
in .conkerorrc/main.js


let (sheet = get_home_directory()) {
    sheet.appendRelativePath(".conkerorrc/stylesheets/input_color_fix-user.css");
    register_user_stylesheet(make_uri(sheet));
}

in .conkerorrc/stylesheet/input_color_fix-user.css


input, textarea {
    background: #000000 ! important;
    color: #FFFFFF ! important;
} 
 

No comments:

Post a Comment