Theme

Event-driven architecture

We chose the event-driven architecture to decouple services.

Styles and colors

Use marker, underline, or double. Colors are yellow, blue, mint, amber, pink, lavender, and gray. The text color stays unchanged.

API reference: <cad-highlight>

tonetoneCadHighlightTone'yellow'variantvariantCadHighlightVariant'marker'toneCadHighlightTonetoneyesvariantCadHighlightVariantvariantyes(default)Highlighted text.baseNative mark element.--cad-highlight-colorPer-instance marker color.--cad-highlight-strokePer-instance underline color.

Accessibility

Uses a native <mark>. Keep phrases short. Use Alert or Badge for status and errors.

Back to top