is an option for notebooks that specifies the color theme to use for displaying notebooks.
NotebookTheme
is an option for notebooks that specifies the color theme to use for displaying notebooks.
Details
- The setting NotebookTheme"name" causes the notebook to use the named theme to resolve and display colors.
- A number of themes are bundled with the notebook front end, including:
-

"Wolfram Default" default theme 
"Cobalt" blue-tinged theme 
"Dracula" a common syntax highlighting theme 
"Monokai" another common syntax highlighting theme 
"Solarized" light mode and dark mode–friendly theme with bright, contrasting colors 
"Stargazer" low-light theme - Themes have both light mode and dark mode variants. The choice of whether to use the light mode or dark mode variant follows the setting of LightDark for the notebook.
- Themes work by changing the resolved values of ThemeColor. Only notebook elements that are drawn with ThemeColor color settings will be directly affected by changes of NotebookTheme.
- Many styles in the default stylesheets use ThemeColor. NotebookTheme might affect every color in use for typical styles in notebooks and for certain styled constructs such as Entity.
- NotebookTheme can be set globally from the Preferences dialog. It can be set on a per-notebook basis using the Notebook Properties sidebar.
- Themes are implemented as an association with a collection of settings. The underlying association in use can be queried using AbsoluteCurrentValue[NotebookTheme].
Examples
Basic Examples (1)
Display a notebook in the Monokai theme:
CreateDocument[{TextCell["head", "Section"], ExpressionCell[Defer[p = Plot[x, {x, 0, 1}]], "Input"]}, NotebookTheme -> "Monokai"]Display the same notebook in the Cobalt2 theme:
CreateDocument[{TextCell["head", "Section"], ExpressionCell[Defer[p = Plot[x, {x, 0, 1}]], "Input"]}, NotebookTheme -> "Cobalt2"]Related Guides
-
▪
- Accessibility ▪
- Colors
History
Text
Wolfram Research (2026), NotebookTheme, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookTheme.html.
CMS
Wolfram Language. 2026. "NotebookTheme." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NotebookTheme.html.
APA
Wolfram Language. (2026). NotebookTheme. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookTheme.html
BibTeX
@misc{reference.wolfram_2026_notebooktheme, author="Wolfram Research", title="{NotebookTheme}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/NotebookTheme.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_notebooktheme, organization={Wolfram Research}, title={NotebookTheme}, year={2026}, url={https://reference.wolfram.com/language/ref/NotebookTheme.html}, note=[Accessed: 12-June-2026]}