Description
🚀 feature request
Description
For now it's possible to check only whether the user uses a black-on-white or white-on-black theme with HighContrastModeDetector.getHighContrastMode
method. It would be great to have functionality, which makes possible to get all system colors in code, that are used in the current theme. That's important, because HC mode users may set some custom color theme, and application should still be responsive.
Describe the solution you'd like
Personally I think it's a good point to extend HighContrastModeDetector
with a method, which returns all system colors. Plus add CUSTOM
value to HighContrastMode enum, which is returned from getHighContrastMode
when user doesn't use default theme.
Describe alternatives you've considered
For now it's possible to work with system colors in css, but it would be great to have same functionality in code.