这是indexloc提供的服务,不要输入任何密码
Skip to content

Add UTC #3530

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add UTC #3530

wants to merge 3 commits into from

Conversation

yofukashino
Copy link

Adds UTC (Universal Theming Classes) that appends stable class names [For example utc_xyz] to elements, so theme devs don’t have to worry about class rerolls, only structural changes.
Helps with theming by removing the need for wildcard selectors, which also improves performance.

The idea is to get it adopted across other client mods too, to make theming easier and consistent. Already PR'ed at replugged

@sadan4
Copy link
Contributor

sadan4 commented Jun 30, 2025

this should probably be a part of themeattributes instead

@yofukashino
Copy link
Author

yofukashino commented Jun 30, 2025

sure, the only thing that matters is utc prefix on classes, so that CSS would work out of the box on other clients as well.

so should I change location or wait for someone else to review first?

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

Successfully merging this pull request may close these issues.

2 participants