Module: StimulusPlumbers::Themes::Tailwind::OrderedList

Included in:
StimulusPlumbers::Themes::TailwindTheme
Defined in:
lib/stimulus_plumbers/themes/tailwind/ordered_list.rb

Constant Summary collapse

ITEM_BASE =

── Item ──────────────────────────────────────────────────────────────

[
  *Control::BASE,
  "flex items-center gap-(--sp-space-2) w-full",
  "px-(--sp-space-2) py-(--sp-space-1)",
  "rounded-(--sp-radius-sm) text-(length:--sp-text-sm)",
  "text-(--sp-color-fg)",
  "focus-visible:ring-(--sp-color-primary-ring)",
  "aria-[current]:bg-(--sp-color-primary)/10 aria-[current]:text-(--sp-color-primary)"
].freeze
HANDLE_BASE =
%w[
  flex items-center justify-center shrink-0
  stroke-current
  text-(--sp-color-muted-fg)
  cursor-grab active:cursor-grabbing
  touch-none
].freeze
CONTENT_BASE =
%w[
  flex flex-col flex-1 min-w-0
].freeze
TITLE_BASE =
%w[
  text-(length:--sp-text-sm) font-medium text-(--sp-color-fg)
].freeze
DESCRIPTION_BASE =
%w[
  text-(length:--sp-text-xs) text-(--sp-color-muted-fg)
].freeze