Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Missing style classes for .own and code-colors #6

Open
Krophil opened this issue Nov 19, 2020 · 0 comments
Open

Missing style classes for .own and code-colors #6

Krophil opened this issue Nov 19, 2020 · 0 comments

Comments

@Krophil
Copy link

Krophil commented Nov 19, 2020

Thank you for this ! It's really useful to avoid complete white page in Rocket Chat.

However, there was some classes missing which were quiet useful in my case (I don't know which rocket version my company uses so I'm not sure it's for everyone).

For code-colors, I added this to have a darker color on highlighted words

.hljs-keyword, .hljs-selector-tag, .hljs-subst {
    color: #777;
    font-weight: 700;
}

For .own messages, I added this because every message of my own was light :

.own, .own .body {
    background-color: var(--color-dark);
}

And for tags:

.message .title .role-tag {
    background-color: var(--color-light);
}

I didn't make a PR because I think this is not the best colors to change.

Thank you !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant