Open fz0000 opened 4 months ago
When I go to https://<onlyoffice.mydomain.com>/controlpanel/rebranding/, I found that the description text of dark theme logo is "light":
https://<onlyoffice.mydomain.com>/controlpanel/rebranding/
That's because they use the same variable LogoDarkAbout. https://github.com/ONLYOFFICE/ControlPanel/blob/99248d6b77e6f2fef87c59f7423bfce7a350476b/web/www/views/rebrandingPartial.pug#L14 https://github.com/ONLYOFFICE/ControlPanel/blob/99248d6b77e6f2fef87c59f7423bfce7a350476b/web/www/views/rebrandingPartial.pug#L29
LogoDarkAbout
By the way, you may have noticed that the text of LogoDarkAbout is "light". The root cause is the incorrect text in the resource file:
https://github.com/ONLYOFFICE/ControlPanel/blob/99248d6b77e6f2fef87c59f7423bfce7a350476b/web/www/public/resources/CPWhiteLabelResource.json#L6-L9
Maybe a lot of Dark/Light related variables also have to be swapped, to resolve this issue completely...
Hello @fz0000 yes you are right. We will fix this in future releases.
When I go to
https://<onlyoffice.mydomain.com>/controlpanel/rebranding/
, I found that the description text of dark theme logo is "light":That's because they use the same variable
LogoDarkAbout
. https://github.com/ONLYOFFICE/ControlPanel/blob/99248d6b77e6f2fef87c59f7423bfce7a350476b/web/www/views/rebrandingPartial.pug#L14 https://github.com/ONLYOFFICE/ControlPanel/blob/99248d6b77e6f2fef87c59f7423bfce7a350476b/web/www/views/rebrandingPartial.pug#L29By the way, you may have noticed that the text of
LogoDarkAbout
is "light". The root cause is the incorrect text in the resource file:https://github.com/ONLYOFFICE/ControlPanel/blob/99248d6b77e6f2fef87c59f7423bfce7a350476b/web/www/public/resources/CPWhiteLabelResource.json#L6-L9
Maybe a lot of Dark/Light related variables also have to be swapped, to resolve this issue completely...