Sha256: d7a66f0848298f90acdbe8ea18422c5069b5a1a22a4295ed11933c4bc21a6039

Contents?: true

Size: 961 Bytes

Versions: 3

Compression:

Stored size: 961 Bytes

Contents

# typed: false
# frozen_string_literal: true

module Ariadne
  module Form
    module Checkbox
      class Component < Ariadne::Form::BaseInputComponent
        style do
          base do
            [
              "ariadne-h-4",
              "ariadne-w-4",
              "ariadne-p-px",
              "ariadne-inline-flex",
              "ariadne-justify-center",
              "ariadne-rounded",
              "ariadne-border",
              "ariadne-border-solid",
              "ariadne-border-zinc-300",
              "dark:ariadne-border-zinc-700",
              "peer-checked:ariadne-border-transparent",
              "ariadne-background",
              "dark:ariadne-bg-slate-950",
              "ariadne-text-transparent",
              "peer-checked:ariadne-text-white",
              "peer-checked:ariadne-bg-indigo-600",
              "peer-checked:dark:ariadne-bg-indigo-500",
            ]
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.76.1 app/components/ariadne/form/checkbox/component.rb
ariadne_view_components-0.0.76 app/components/ariadne/form/checkbox/component.rb
ariadne_view_components-0.0.75 app/components/ariadne/form/checkbox/component.rb