supervisor icon indicating copy to clipboard operation
supervisor copied to clipboard

Add support for dark_icon and dark_logo

Open ludeeus opened this issue 2 years ago • 2 comments

Proposed change

Allow add-on authors to add a dark_[icon|logo].png file that will be requested when the user has dark mode enabled in the frontend.

If that file does not exist it will fallback to the regular [icon|logo].png file

Type of change

  • [ ] Dependency upgrade
  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (which adds functionality to the supervisor)
  • [ ] Breaking change (fix/feature causing existing functionality to break)
  • [ ] Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request: https://github.com/home-assistant/developers.home-assistant/pull/1359
  • Link to cli pull request:

Checklist

  • [ ] The code change is tested and works locally.
  • [ ] Local tests pass. Your PR cannot be merged unless tests pass
  • [ ] There is no commented out code in this PR.
  • [ ] I have followed the development checklist
  • [ ] The code has been formatted using Black (black --fast supervisor tests)
  • [ ] Tests have been added to verify that the new code works.

If API endpoints of add-on configuration are added/changed:

ludeeus avatar Jun 10 '22 07:06 ludeeus

Have to wait until https://github.com/home-assistant/supervisor/pull/3623 is merged because the endpoints moved

pvizeli avatar Jun 10 '22 11:06 pvizeli

Not usable without a core and a frontend change anyway

ludeeus avatar Jun 10 '22 11:06 ludeeus

Sad to see this one closed to be honest :(

frenck avatar Aug 30 '22 15:08 frenck