Skip to content

Adwaita: Use a mixin for visible focus rings

nana-4 requested to merge nana-4/gtk:theme-focus-ring-mixin into master

The focus-ring() mixin allows we to flexibly style the focus ring for each widget. By using this, we can get rid of the "Outlines" section, which is out of place in the _common.scss file.

This commit also has the following changes:

  • Transition the focus rings on most widgets. For example:

    • checkbuttons-radiobuttons
    • switches
  • Add a missing focus ring to iconview.

  • Move the expander-widget focus ring to its title.

    • image
  • Move the notebook focus ring to its checked tab.

    • image

Closes #2653 (closed)

CC @jimmac @frederik.feichtmeier

Merge request reports