#Dark mode in Julia?

1 messages · Page 1 of 1 (latest)

ionic plank
#

I am brand new to Julia and would like to use Pluto, but it is so bright my retinas are frying. I would like to use a dark mode feature and found such a package: https://github.com/Pocket-titan/DarkMode

I have followed the instructions and installed the package, but encounter an error:

ArgumentError: Package DarkMode not found in current path.

But indeed https://i.imgur.com/FPgtymj.png shows it as installed.

What gives?

GitHub

Dark mode for Pluto 🎉. Contribute to Pocket-titan/DarkMode development by creating an account on GitHub.

torn canyon
#

could you post the code of how you imported it?

#

Pkg.add can install in several different environments and pluto maybe has it's own path

#

I think you need to Pkg.add within pluto, not in your REPL

ionic plank
#
  1. I installed the package from the Julia commandline using ] add https://github.com/Pocket-titan/DarkMode
torn canyon
#

I think you need to call that inside a pluto notebook as a cell

ionic plank
torn canyon
#
begin 
    import Pkg
    Pkg.add(url="https://github.com/Pocket-titan/DarkMode")
    import DarkMode
    DarkMode.enable()
end
#

I don't actually have pluto to test this so someone else may need to, I'm just guessing

#

I installed pluto and the last code I posted worked for me

ionic plank
#

Thanks, Clementine.

olive quarry
#

You don't actually need the DarkMode package, Pluto has dark mode built in

#

If your browser asks for dark mode, then pluto will theme in dark mode

#

I use qutebrowser, a pretty obscure browser. I don't know how you configure this on other browsers but you can look it up for your browser