Can't declare a slatebrush variable

If I remove the SlateBrush-line everthing works perfectly fine. Is there any other way to declare it?