{{- /* Outputs message about dark mode component variants being deprecated in v5.0. */ -}} {{- $component := .Get 0 -}}
Heads up! Dark variants for components were deprecated in v5.0.0 with the introduction of color modes. Instead of adding .{{ $component }}-dark
, set data-coreui-theme="dark"
on the root element, a parent wrapper, or the component itself.