Maps a dashboard element's semantic role to a CSS class string for the active theme. The LiveView markup is identical across themes; only the class strings differ, so there is a single template and no fork.
:standalone(default) returnsbandera--prefixed classes styled by the inlined stylesheet inBandera.Dashboard.Components.styles/1.:daisyuireturns daisyUI component classes plus Tailwind layout utilities, styled by the host application's own asset build (which must include daisyUI and scan Bandera's templates).
Any theme other than :daisyui resolves to the standalone classes.
Summary
Types
@type role() ::
:wrap
| :heading
| :flash
| :search
| :group
| :group_summary
| :count
| :row
| :name
| :editor
| :fieldset
| :legend
| :gate_list
| :gate_item
| :input
| :select
| :primary_button
| :neutral_button
| :danger_button
| :icon_button
| :toggle_on
| :toggle_off
| :summary
@type theme() :: :standalone | :daisyui