If I do this
skinparam package {
BackgroundColor LightBlue
ArrowColor Black
BorderColor Blue
BackgroundColor<<stereo>> PaleGreen
}
package test1 {}
package test2 <<stereo>> {}
I get an error on the line package test2 <<stereo>> {}
But if I change it to
package test2 <<stereo>> {
}
There is no error and the stereotype works.