Change chalk color in RISE chalkboard

937 Views Asked by At

I am using RISE in a jupyter notebook with python and enjoying the chalkboard feature. But when using a dark theme the default blue color is hard to see.

I have been trying many (even weird) things and I only could change the color to black (that is even worse with dark themes) editing the Notebook Metadata this way:

  "rise": {
    "chalkboard": {
      "color": "rgb(250, 250, 250)"
    },
    "enable_chalkboard": true
  }

It does not matter what numbers you choose inside the rgb(), it always produces black. It behaves like reveal.js is trying to change the color, but looks like it is having issues while parsing.

Thanks in advance!

1

There are 1 best solutions below

1
On BEST ANSWER

RISE is using v1.0.0 of reveal.js-chalkboard

This version has color option informed as an array of colors where the first color gives pen color and the second color gives board drawings color.

For example,

  "rise": {
    "chalkboard": {
      "color": ["rgb(250, 250, 250)", "rgb(250, 250, 250)"]
    },
    "enable_chalkboard": true
  }