Customizable outline contrast (plus high contrast accessibility)
I have been tinkering with customizable outline contrast/intensity value. We currently have a standardized value of `0.20`. Thanks to us using this standardized way, creating a customizable value is not that difficult. First, to modify the color, we can use this contrast slider leftover from Oxygen days: ![image](/uploads/73103d927c169d4bba11c58810062eba/image.png){width=459 height=348} ### Related Merge requests - Add frameContrast endpoint to kcolorscheme https://invent.kde.org/frameworks/kcolorscheme/-/merge_requests/56 - Settings and setup of the value `frameContrast` in `kdeglobals` https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5917 - Standalone visuals update for QtWidgets apps https://invent.kde.org/plasma/breeze/-/merge_requests/558 - Platformtheme updates to read the correct value https://invent.kde.org/frameworks/kirigami/-/merge_requests/1940 - Add `ColorScheme::Frame` and update it on color/frame change https://invent.kde.org/frameworks/ksvg/-/merge_requests/80 - Update the Frame contrast for Plasma visuals https://invent.kde.org/plasma/libplasma/-/merge_requests/1369 - Update the Frame contrast for QtQuick visuals https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/484 - Breeze-gtk updates the frameColors accordingly on change: https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/136 ### TODO - Does `kirigami-addons` need this? ## How it looks like Here's some values, however the value can be set between `0.0` and `1.0`. The value from the colorscheme slider is between `0.1` intervals, but user can modify the value directly to the colorscheme file, such as `0.69`. The default value is `0.2` as it is what we have currently. | Off | Medium | High | | ------ | ------ | ------ | | ![image](/uploads/8288dfe7b2598e1c1ac1d4d9d4e77898/image.png){width=935 height=707} | ![image](/uploads/b41008ded0de30431887a94fc7ba246d/image.png){width=935 height=707} | ![image](/uploads/59a05cdfd0aec26bbd2b3b2ee353adf8/image.png){width=935 height=707} | Currently the only problem is that when the value is changed from the colorscheme, we need to switch between two colorschemes to refresh the value in open apps. KDecoration also may require complete application restart. This allows people also to make high-contrast colorschemes, helping with accessibility. ## Things we still need - [x] Tell this same value to plasma svg files. https://invent.kde.org/plasma/libplasma/-/merge_requests/1369#note_1331445 - [x] Refresh the colors and window outline properly when changing the outline value. --- This issue will supersede any leftover issues: - https://invent.kde.org/teams/vdg/issues/-/issues/33 - https://invent.kde.org/teams/vdg/issues/-/issues/38
issue