Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

No variable for the sidebar font color

Open ArchimedesFM opened this issue 8 years ago • 5 comments

Description:

I cant change the sidebar font color.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.60.2
  • Operating System: Ubuntu LTS 16.04
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: active
  • Node Version: 8.8.1

Steps to Reproduce:

I want to change the main font color for the channel etc. on the left sidebar, but i cant find a functional setting under "Layout" for that.

Expected behavior:

A color change for the text in the left sidebar.

Actual behavior:

No color change possible

image

ArchimedesFM avatar Jan 04 '18 13:01 ArchimedesFM

Just following this.

robbyoconnor avatar Jan 04 '18 14:01 robbyoconnor

Rocketchat 0.62.1 - The issue still persists.

Quick analysis shows that on .sidebar-item class variable for primary font color gets overriden by --sidebar-item-text-color that cannot be set anywhere. screenshot from 2018-03-07 14-44-15

In meanwhile I use custom CSS to sidestep the issue: .sidebar-item { color: red; }

And similar, since --rooms-list-title-color and icons in the navbar also cannot be changed.

rlach avatar Mar 07 '18 13:03 rlach

@rlach yes -- overriding that doesn't quite work -- in fact, it overrides the ability to be notified of new messages since it changes color to gives hints that there are unread messages.

robbyoconnor avatar Mar 07 '18 19:03 robbyoconnor

@robbyoconnor Yes, that's true. If you want those notifications you need to do a bit more:

.sidebar-item {
  color: black;
}

.sidebar-item.sidebar-item--unread {
  color: red;
}

Nonetheless, it's very hacky and I only see it as temporary workaround. It should be configurable from admin panel.

rlach avatar Mar 14 '18 11:03 rlach

@ArchimedesFM Could you test this out with the latest release? I could not reproduce this issue. Also, you can change the color of the text on the sidebar by changing the Primary Light and content variables. Thanks!

MartinSchoeler avatar Nov 06 '19 19:11 MartinSchoeler