Skip to content

Implement text outlines for UIElements#1449

Open
ThunderEdge73 wants to merge 3 commits into
Steamodded:mainfrom
ThunderEdge73:text_outline
Open

Implement text outlines for UIElements#1449
ThunderEdge73 wants to merge 3 commits into
Steamodded:mainfrom
ThunderEdge73:text_outline

Conversation

@ThunderEdge73

Copy link
Copy Markdown
Contributor

Implements text outlines for UIElements. Partially addresses [#1446], as this PR does not cover outlines for DynaText objects. Set text_outline = colour in the config table of a UI node, where colour is a valid colour table, to add an outline to the given text node.
image
Additionally, in localization, use O:loc_colour to set the colour of the outline of description text. This text styling modifier will have no effect if the E: text styling modifier is present or if used within a name.
image

Additional Info:

  • I didn't modify api's or I've made a PR to the wiki repo.
  • I didn't modify api's or I've updated lsp definitions.
  • I didn't make new lovely files or all new lovely files have appropriate priority.

@ThunderEdge73

Copy link
Copy Markdown
Contributor Author

(also i do realize this is not the most performant way to do this, if anyone knows how to optimize this, please do)

@Aurelius7309

Copy link
Copy Markdown
Member

The O: modifier will need a variable colour counterpart as well. Will need to look at what it can be

@Eremel

Eremel commented Jul 12, 2026

Copy link
Copy Markdown
Member

The O: modifier will need a variable colour counterpart as well. Will need to look at what it can be

In that regard, underlining needs one too. Perhaps there could be a better way of doing it rather than just using an alternative key

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.

3 participants