Wolfram Research

Function Repository Resource:

DarkMode

Source Notebook

Restyle notebooks into dark mode

Contributed by: Michael Sollami

ResourceFunction["DarkMode"][]

restyles the current evaluation notebook into dark mode.

ResourceFunction["DarkMode"][notebook]

restyles the notebook object into dark mode.

Details and Options

ResourceFunction["DarkMode"] offers an alternative to the ReverseColor stylesheet (which has usability issues).
In particular, ResourceFunction["DarkMode"] supports code cells and datasets.
To revert to default styling, use ResourceFunction["DarkMode"][False].

Examples

Basic Examples (2) 

Open a sample notebook:

In[1]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/ae35f0b2-ef72-47dc-b1f4-fdf3a8d1b29b"]
Out[1]=

Enable dark mode:

In[2]:=
ResourceFunction["DarkMode"][obj];

Call DarkMode from within any notebook to restyle it:

In[3]:=
ResourceFunction["DarkMode"][]

Resource History

Related Resources

License Information