Skip to content

Commit 041ae61

Browse files
authored
[VarDumper] Add documentation for light theme
1 parent d460894 commit 041ae61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/var_dumper/advanced.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ method. They also typically implement the
179179
them from re-implementing the logic required to walk through a
180180
:class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object's internal structure.
181181

182+
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` is by default using a dark theme.
183+
To use a light theme use the method :method:`$htmlDumper->setTheme('light') <Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper::setTheme>`.
184+
182185
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` limits string
183186
length and nesting depth of the output to make it more readable. These options
184187
can be overriden by the third optional parameter of the

0 commit comments

Comments
 (0)