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

<c:color> syntax does not work for color aliases. #44

Open
ghost opened this issue Nov 9, 2023 · 2 comments
Open

<c:color> syntax does not work for color aliases. #44

ghost opened this issue Nov 9, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Nov 9, 2023

Hopefully the title suffices but here's an example below:

<pink>this is pink</pink> <c:pink>and this is...</c>
not pink
<red>this is red</red> <c:red>and this is...</c>
weird bug

image

Styled Chat: 2.2.3+1.20.1
Styled Nicknames: 1.2.1+1.20

@Patbox
Copy link
Owner

Patbox commented Nov 9, 2023

Technically it is intended as <c:X> tag takes only vanilla color values, and color tags are made by hand as proxies

@Patbox Patbox added the enhancement New feature or request label Nov 30, 2023
@sakura-ryoko
Copy link
Contributor

sakura-ryoko commented Jan 19, 2024

the <c:[X]> aka the color:[X] tag is used as follows using the RGB Hash Codes:
<c:#FFFFFF>put your text here</>
Also, red and pink are existing color nodes, where "pink" isn't actually pink, but it is coded as an alias of <light_purple>

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

No branches or pull requests

2 participants