Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to change client name color? #4

Open
CryRocks opened this issue Jun 30, 2023 · 15 comments
Open

is it possible to change client name color? #4

CryRocks opened this issue Jun 30, 2023 · 15 comments

Comments

@CryRocks
Copy link

Hi,

i wanna know if i can change the textcolor from client names somehow?
since i changed the background and made it to show in channel tree and in some places its white text on white/bright background.

I did some testing but couldn't figure out a way to do it. Would appreciate the help! :)

@qeinz
Copy link

qeinz commented Jun 30, 2023

could you provide a screenshot?

@CryRocks
Copy link
Author

CryRocks commented Jun 30, 2023

sure, on the third user, you can see it the most

grafik

@qeinz
Copy link

qeinz commented Jun 30, 2023

ahh i see, i think the best way is, if you go into debug mode and look into ur browser, than look for the element name, so you can change the color on the code

@CryRocks
Copy link
Author

yeah thats what i already tried, but didn't really found a way to do it

@qeinz
Copy link

qeinz commented Jun 30, 2023

  look into the css file 

--name-color: var(--white) !important;

image

@qeinz
Copy link

qeinz commented Jun 30, 2023

change the --white color i think

@CryRocks
Copy link
Author

yeah, i already changed that to red for example but it doesn't change the name color
not sure why

@qeinz
Copy link

qeinz commented Jun 30, 2023

/* name color */
.ts-server-tree-item-leaf.client, .ts-server-tree-item-leaf.client.self {
    color: var(--name-color) !important;
}

look for this

@qeinz
Copy link

qeinz commented Jun 30, 2023

im using the darkNue.css

@CryRocks
Copy link
Author

CryRocks commented Jun 30, 2023

and it changes the client name color for you if you edit them?
since i changed it directly to a color and it doesn't change anything, tried the var nothing happens
the client names are still white

i guess this:
grafik
is overwriting them or something else idk

@qeinz
Copy link

qeinz commented Jun 30, 2023

yea i think you have to change this, lets have a look in debug console in browser, there you can see more info, got no time rn

@CryRocks
Copy link
Author

so i have to deactivate the first color stuff, wich i showed in my last message
and then i also have to deactivate --text-color to even get the --name-color to work on only names

weird

@qeinz
Copy link

qeinz commented Jun 30, 2023

yes, unfortunately the code behind is written a bit "funny"....

@CryRocks
Copy link
Author

CryRocks commented Jun 30, 2023

yeah i see it

got it to work now, thanks! now i just have to find a good color wich is readable and stays that way on darker/brighter background.. and match the purple theme i guess

(i also had to edit a couple of other elements, since some had a weird color after i removed both text and the option above, like text sender in chat had a green name, every normal white color was gray etc.)

grafik
even got it to work with a nice little glow effekt, now its readable :D

@qeinz
Copy link

qeinz commented Jun 30, 2023

great work!

hope we will see an update on this theme soon.... there are so many bugs....

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

No branches or pull requests

2 participants