Hello J,
Just suppress the dollar on the sprite System call, as:
@startuml
!define RECTANGLE class
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
' Define a simple sprite with explicit size and graylevel=4
sprite $cloudLogo [8x8/4] {
F F F F F F F F
F F 6 6 6 6 F F
F 6 6 6 6 6 6 F
6 6 6 6 6 6 6 6
6 6 6 6 6 6 6 6
F 6 6 6 6 6 6 F
F F 6 6 6 6 F F
F F F F F F F F
}
' System with the sprite
System(mySystem, "My System", "A sample system", $sprite=cloudLogo)
Person(user, "User", "A system user")
Rel(user, mySystem, "Uses")
SHOW_LEGEND()
@enduml
But it seems there are some other issues...
Enjoy,
Regards,
Th.