dotfiles/.themes/dracula/gtk-2.0/apps/chrome.rc
2021-08-12 16:13:26 +02:00

50 lines
1.5 KiB
Text
Executable file
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ==============================================================================
# CHROME/-UIM SPECIFIC SETTINGS
# ==============================================================================
# Chromium lets us define some colours and settings for better integration
style "chrome-gtk-frame"
{
ChromeGtkFrame::frame-color = @wm_color
ChromeGtkFrame::inactive-frame-color = @unfocused_wm_color
ChromeGtkFrame::frame-gradient-size = 16
ChromeGtkFrame::frame-gradient-color = shade(1.07, @wm_color)
ChromeGtkFrame::incognito-frame-color = shade(0.85, @wm_color)
ChromeGtkFrame::incognito-inactive-frame-color = @wm_color
ChromeGtkFrame::incognito-frame-gradient-color = @wm_color
ChromeGtkFrame::scrollbar-trough-color = shade(0.912, @wm_color)
ChromeGtkFrame::scrollbar-slider-prelight-color = shade(1.04, @wm_color)
ChromeGtkFrame::scrollbar-slider-normal-color = @wm_color
}
class "ChromeGtkFrame" style "chrome-gtk-frame"
# Chromium uses base as the fill colour of its own entries
# This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg
# That results in Chromium using it for the fill, so we need to handle that
style "chrome_entry" {
base[NORMAL] = @base_color
base[INSENSITIVE] = @base_color
}
widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
# Chrome Menu item background
style "chrome_menu_item"
{
bg[SELECTED] = @wm_color
}
widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"
# Chrome buttons
widget_class "*Chrom*Button*" style "button"