Skip to content

Instantly share code, notes, and snippets.

@mgedmin
Created October 31, 2014 14:03
Show Gist options
  • Save mgedmin/2e1922348958513ac144 to your computer and use it in GitHub Desktop.
Save mgedmin/2e1922348958513ac144 to your computer and use it in GitHub Desktop.
style "menu_item"
{
xthickness = 2
ythickness = 4
# HACK: Gtk doesn't actually read this value
# while rendering the menu items, but Libreoffice
# does; setting this value equal to the one in
# fg[PRELIGHT] ensures a code path in the LO theming code
# that falls back to a dark text color for menu item text
# highlight. The price to pay is black text on menus as well,
# but at least it's readable.
# See https://bugs.freedesktop.org/show_bug.cgi?id=38038
bg[SELECTED] = @selected_fg_color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment