Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.5 KiB

  1. # ==============================================================================
  2. # CHROME/-UIM SPECIFIC SETTINGS
  3. # ==============================================================================
  4. # Chromium lets us define some colours and settings for better integration
  5. style "chrome-gtk-frame"
  6. {
  7. ChromeGtkFrame::frame-color = @wm_color
  8. ChromeGtkFrame::inactive-frame-color = @unfocused_wm_color
  9. ChromeGtkFrame::frame-gradient-size = 16
  10. ChromeGtkFrame::frame-gradient-color = shade(1.07, @wm_color)
  11. ChromeGtkFrame::incognito-frame-color = shade(0.85, @wm_color)
  12. ChromeGtkFrame::incognito-inactive-frame-color = @wm_color
  13. ChromeGtkFrame::incognito-frame-gradient-color = @wm_color
  14. ChromeGtkFrame::scrollbar-trough-color = shade(0.912, @wm_color)
  15. ChromeGtkFrame::scrollbar-slider-prelight-color = shade(1.04, @wm_color)
  16. ChromeGtkFrame::scrollbar-slider-normal-color = @wm_color
  17. }
  18. class "ChromeGtkFrame" style "chrome-gtk-frame"
  19. # Chromium uses base as the fill colour of its own entries
  20. # This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg
  21. # That results in Chromium using it for the fill, so we need to handle that
  22. style "chrome_entry" {
  23. base[NORMAL] = @base_color
  24. base[INSENSITIVE] = @base_color
  25. }
  26. widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
  27. # Chrome Menu item background
  28. style "chrome_menu_item"
  29. {
  30. bg[SELECTED] = @wm_color
  31. }
  32. widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"
  33. # Chrome buttons
  34. widget_class "*Chrom*Button*" style "button"