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

Add color constants reference to BBCode in RichTextLabel #10069

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion tutorials/ui/bbcode_in_richtextlabel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -812,13 +812,19 @@ Font options
Named colors
~~~~~~~~~~~~

For tags that allow specifying a color by name you can use names of the constants from
For tags that allow specifying a color by name, you can use names of the constants from
the built-in :ref:`class_Color` class. Named classes can be specified in a number of
styles using different casings: ``DARK_RED``, ``DarkRed``, and ``darkred`` will give
the same exact result.

.. _doc_bbcode_in_richtextlabel_hex_colors:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be moved down to above the "Hexadecimal color codes", or the title should be moved up


See this image for a list of color constants:

.. image:: /img/color_constants.png

`View at full size <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/color_constants.png>`__

Hexadecimal color codes
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading