LightDark

LightDark

is an option for notebooks that specifies whether to display notebook contents in light or dark mode.

Details

  • LightDark can take the following settings:
  • "Dark"display notebook contents in dark mode
    "Light"display notebook contents in light mode
    Automaticdisplay notebook contents in the mode set globally in your operating system

Examples

Basic Examples  (2)

Query the mode of the current notebook:

Create a dark mode notebook:

Wolfram Research (2025), LightDark, Wolfram Language function, https://reference.wolfram.com/language/ref/LightDark.html.

Text

Wolfram Research (2025), LightDark, Wolfram Language function, https://reference.wolfram.com/language/ref/LightDark.html.

CMS

Wolfram Language. 2025. "LightDark." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LightDark.html.

APA

Wolfram Language. (2025). LightDark. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LightDark.html

BibTeX

@misc{reference.wolfram_2024_lightdark, author="Wolfram Research", title="{LightDark}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/LightDark.html}", note=[Accessed: 15-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_lightdark, organization={Wolfram Research}, title={LightDark}, year={2025}, url={https://reference.wolfram.com/language/ref/LightDark.html}, note=[Accessed: 15-January-2025 ]}