nl_tokens: Retrieves an ( inverted ) color from the given theme will fall back to the default theme .
pl_tokens: function getColor ( <mask> , props ) { const t = getThemeOrDefault ( 'colors' , props ) ; if ( props && props . inverted ) { const invertedName = ` ${ name } ` ; if ( invertedName in t ) { const alphaName = ` ${ invertedName } ` ; return createColor ( t [ invertedName ] , t [ alphaName ] || 1 ) ; } } if ( name in t ) { const alphaName = ` ${ name } ` ; return createColor ( t [ name ] , t [ alphaName ] || 1 ) ; } return '#000000' ; }