Okay here is the code. This is how to change the color of the scrollbars of the canvas. I found if from here: Changing the color of scroll bars - #2 by freyalupen
They don’t specify a format to save it as. Besides, the Scripter only lets you save the file as a .py python script. I guess I could PM that person how they managed to get Stylesheet loader to load a .py script which seems impossible at the moment.
from krita import *
stylesheet = \
"""
QScrollBar {
background: #00ff00;
}
QScrollBar::handle {
background: #0000ff;
}
"""
qApp.setStyleSheet(stylesheet)