Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
[BUGFIX] [!!!][TASK] Remove pageTree.backgroundColor (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf authored Nov 17, 2024
1 parent 851bc6f commit a5d1c88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 39 deletions.
Binary file not shown.
41 changes: 2 additions & 39 deletions Documentation/UserTsconfig/Options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -767,44 +767,6 @@ Properties
options.pageTree.altElementBrowserMountPoints = 34,123
options.pageTree.altElementBrowserMountPoints.append = 1
.. _useroptions-pageTree-backgroundColor:

.. confval:: backgroundColor
:name: useroptions-pageTree-backgroundColor
:type: string
:Path: options.pageTree.backgroundColor

.. deprecated:: 13.1
This setting has been deprecated and will be removed in TYPO3 v14 due to its
lack of accessibility. It is being replaced with a
:ref:`new label system <useroptions-pageTree-label>` for tree nodes.

In TYPO3 v13 the setting will be migrated to the new label system. Since the
use case is unknown, the generated label will be "Color: <value>". This
information will be displayed on all affected nodes.

Set background colors for tree branches.

The color can be any valid CSS color value. The best results can be achieved
by using RGBa values.

Example:

.. code-block:: typoscript
:caption: EXT:site_package/Configuration/user.tsconfig
# The syntax is:
# options.pageTree.backgroundColor.<pageId> = <color>
options.pageTree.backgroundColor.147 = orange
options.pageTree.backgroundColor.148 = #AFAFAF
options.pageTree.backgroundColor.151 = rgba(0, 255, 0, 0.1)
.. figure:: /Images/ManualScreenshots/List/optionsPageTreeBackgroundColor.png
:alt: Tree branches with configured background colors
:class: with-shadow

Tree branches with configured background colors

.. _useroptions-pageTree-doktypesToShowInNewPageDragArea:

.. confval:: doktypesToShowInNewPageDragArea
Expand Down Expand Up @@ -856,7 +818,8 @@ Properties
:Path: options.pageTree.label.<page-id>

.. versionadded:: 13.1
This setting is the successor of :ref:`useroptions-pageTree-backgroundColor`.
This setting is the successor of the removed
:ref:`t3tsconfig/13:useroptions-pageTree-backgroundColor`.

Labels offer customizable color markings for tree nodes and require an
associated label for accessibility.
Expand Down

0 comments on commit a5d1c88

Please sign in to comment.