UX: Fix date input icon display issues (PR #14369)

Fixes a regression where icon was missing in Chrome but also refactors icon display to:

  • show it in Safari
  • display the same icon across browsers
  • use the theme’s color scheme (fixes icon display in dark mode themes especially)

Sadly this doesn’t apply to Firefox at all (no change for Firefox).

Before (Chrome on macOS)

image image

After (also Chrome on macOS)

image image

Before (Safari desktop)

image

After (Safari desktop)

image

Before (IE 93 Windows 10)

image

After (IE 93 Windows 10)

image

GitHub