gnome-control-center/shell
Ian Santopietro 3493b50be9 Use @theme_fg_color for .drag-handle
Instead of using @borders for drag handles, we use @theme_fg_color at 40% opacity. Because these are widgets intended to be interacted with by users instead of drawing borders, we should use a semantically appropriate color which updates according to whether a user has a dark theme selected or not. This ensures that the drag handles contrast with the background no matter what stylesheet the user is using.

This improves the contrast of these widgets in the light theme from 1.7:1 to 2.9:1, which is still rather low, but greatly improves the usability of these widgets without having too large an impact on the look of the widgets in-situ. The contrast ratio is unchanged in the HighContrast style (4.0:1).

This also improves the situation if we eventually adopt a dark style preference for users, and improves the portability of the application.
2019-10-15 18:54:30 +00:00
..
appdata appdata: Update contact info 2019-01-17 21:44:45 +00:00
completions window: Remove remaining overview mentions 2018-05-28 22:07:49 -03:00
cc-application.c shell: Add global CSS stylesheet 2019-07-16 22:34:26 +00:00
cc-application.h window: Delegate model creation to CcApplication 2018-05-29 16:09:49 -03:00
cc-debug.h.in debug: Fix copy-pasta mistake 2018-04-07 18:49:39 -03:00
cc-log.c shell: Use g_autofree for strings 2019-10-02 17:04:15 +00:00
cc-log.h log: Reimplement logging and debugging 2018-04-06 23:18:26 -03:00
cc-object-storage.c object-cache: Fix function documentation name 2018-09-25 21:02:11 -03:00
cc-object-storage.h object-storage: Introduce CcObjectStorage 2018-04-06 22:23:38 -03:00
cc-panel-list.c shell: Use g_autofree for strings 2019-10-02 17:04:15 +00:00
cc-panel-list.h window: Disable selection when panel list is folded 2019-08-27 13:26:21 +00:00
cc-panel-list.ui panel-list: Simplify placeholder widget setup 2019-04-01 22:27:51 +00:00
cc-panel-loader.c Initialize autoptr values to NULL. 2019-10-03 10:58:38 +13:00
cc-panel-loader.h panel-loader: Allow overriding panel vtable 2018-11-11 23:42:00 -02:00
cc-panel.c panel: Add the sidebar-activated signal 2019-01-21 21:53:21 +00:00
cc-panel.h trivial: Update code style 2018-11-16 15:19:08 -02:00
cc-shell-model.c shell: Use g_autofree for strings 2019-10-02 17:04:15 +00:00
cc-shell-model.h model: Add visibility field 2018-05-29 16:09:51 -03:00
cc-shell.c shell: Add position to cc_shell_embed_widget_in_header() 2019-05-21 12:59:36 -03:00
cc-shell.h shell: Add position to cc_shell_embed_widget_in_header() 2019-05-21 12:59:36 -03:00
cc-window.c shell: Use a meson option to determine that we're in a sandbox 2019-10-14 20:25:39 +00:00
cc-window.h window: Delegate model creation to CcApplication 2018-05-29 16:09:49 -03:00
cc-window.ui window: Connect signals in swapped form 2019-09-23 14:00:42 +00:00
gnome-control-center.desktop.in.in gnome-control-center.desktop: Use the "Settings" category 2019-09-13 13:57:30 +00:00
gnome-control-center.gresource.xml shell: Add global CSS stylesheet 2019-07-16 22:34:26 +00:00
help-overlay.ui window: Remove remaining overview mentions 2018-05-28 22:07:49 -03:00
list-panel.sh shell: Ensure completion is sorted by default 2013-02-11 09:37:55 +01:00
main.c shell: Fix warning by marking initialize_dependencies static 2019-01-07 15:28:38 +01:00
meson.build build: Include generated sources in declared dependencies 2019-08-25 09:42:22 +00:00
org.gnome.ControlCenter.gschema.xml window: Warn about development builds 2018-05-14 18:24:03 -03:00
org.gnome.ControlCenter.service.in shell: Expose panel launching with DBus-activation 2013-04-03 18:09:15 +02:00
style.css Use @theme_fg_color for .drag-handle 2019-10-15 18:54:30 +00:00