class Playbook::PbTextInput::AddOn
def border_css
def border_css border_toggle = border ? "on" : "off" border_to_change = if alignment == "left" "right" else "left" end "border_#{border_to_change}_#{border_toggle}" end
def dark_mode_css
def dark_mode_css dark ? "add-on-card-dark" : nil end
def left_aligned?
def left_aligned? alignment == "left" end