Bug 160925 - need proper icon image for "Dark mode" toggle (.uno:ChangeTheme)
Summary: need proper icon image for "Dark mode" toggle (.uno:ChangeTheme)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillDesign, topicDesign
Depends on:
Blocks: Icon-Themes 160349
  Show dependency treegraph
 
Reported: 2024-05-03 15:38 UTC by Justin L
Modified: 2024-08-19 23:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2024-05-03 15:38:24 UTC
For LO 25.2 there will probably be a .uno:ChangeTheme on the notebookbar to allow toggling Dark mode on and off - similar to what MSO has in their view ribbon. See bug 160349.

I have temporarily used the moon icon in my patch, but it doesn't look great. So if we could get a proper icon that would be great.
Comment 1 Heiko Tietze 2024-05-06 14:25:02 UTC
The currently used moon is pretty as it but could be drawn a bit more moonish.

https://opengrok.libreoffice.org/search?project=core&path=lc_symbolshapes.moon.png
Comment 2 Rizal Muttaqin 2024-05-23 09:57:40 UTC
The icon in Office 365 actually have two different appearance:

1. If the paper is dark, the icon is sun
2. If the paper is light, the icon is moon

While LibO icon does not support icon switching capability, I can think of some sort of two of them: sun and moon icon
Comment 3 Rizal Muttaqin 2024-05-23 09:58:41 UTC
Oh, the uno:DarkMode icon is a toggle type. So using moon is sufficient
Comment 4 Justin L 2024-08-19 23:29:42 UTC
I assume that most Operating System themes have a "dark mode" icon. My understanding is that LO icon packs are based on different, popular OS themes. So it would then make sense to copy the OS dark mode icon and use it for LO. (That's why I made this bug report - if I'm wrong, then it makes sense to close it.)