diff --git a/pkg/interface/src/logic/lib/sigil.js b/pkg/interface/src/logic/lib/sigil.js index 9a5ca3583a..8e5066eec7 100644 --- a/pkg/interface/src/logic/lib/sigil.js +++ b/pkg/interface/src/logic/lib/sigil.js @@ -13,7 +13,7 @@ export const foregroundFromBackground = (background) => { return ((whiteBrightness - brightness) < 50) ? 'black' : 'white'; } -export const Sigil = memo(({ classes = '', color, ship, size }) => { +export const Sigil = memo(({ classes = '', color, ship, size, svgClass = '' }) => { return ship.length > 14 ? (
{ color, foregroundFromBackground(color) ], - class: classes + class: svgClass })}
) })