Skip to content

Use font-size variable instead hardcoded number inside unit function#262

Open
AyIong wants to merge 3 commits into
tgstation:mainfrom
AyIong:hardcode-fix
Open

Use font-size variable instead hardcoded number inside unit function#262
AyIong wants to merge 3 commits into
tgstation:mainfrom
AyIong:hardcode-fix

Conversation

@AyIong
Copy link
Copy Markdown
Collaborator

@AyIong AyIong commented May 25, 2026

About the PR

Replaces hardcoded font size value inside unit function, to calculated with css variable font-size value
Also adds function for extraction value from css variable

Why's this needed?

Font size can be changed so we need to take it actual inside functions

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.

1 participant