跳到主要内容

color-changing-cover

Cover content with a text-color-changing mechanism.

Example: config-methods(cover: utils.color-changing-cover.with(color: gray))

Parameters

color : color    default: gray

The color to apply to text when covered. Default is gray.

fallback-hide : bool    default: true

Whether to hide the content if it does not contain text. Default is true.

transparentize-table : bool    default: false

Whether to transparentize table content. Default is false.

it : content

The content to cover.

Returns: content