Skip to content

Add formspec box color documentation to style section - #16438

Merged
sfan5 merged 1 commit into
luanti-org:masterfrom
cx384:formspec_box_style_doc
Sep 6, 2025
Merged

Add formspec box color documentation to style section#16438
sfan5 merged 1 commit into
luanti-org:masterfrom
cx384:formspec_box_style_doc

Conversation

@cx384

@cx384 cx384 commented Aug 24, 2025

Copy link
Copy Markdown
Member

When you use styling for a box element, you may miss that you have to remove the color specification, if you only read the documentation about styling, and not for the element itself.

So with this PR it is documented at two places such that people don't miss it that easily anymore.

The first existing one is here:

its style. If the color is specified, all styling options will be ignored.

(IMO, documenting it in the styling section is more important, but it doesn't hurt to have it two times, I think.)

This is actually a problem, see here: https://forum.luanti.org/viewtopic.php?t=31937

To do

This PR is Ready for Review.

How to test

Read

@cx384 cx384 added @ Documentation Improvements or additions to documentation Formspec labels Aug 24, 2025
@Zughy Zughy added the Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines label Aug 24, 2025
@sfan5
sfan5 merged commit c7d45fe into luanti-org:master Sep 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@ Documentation Improvements or additions to documentation Formspec Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants