Sha256: 4f20a6423d9acf9d04856a0cd0c1e16e1684c5e5e754b97986bd54059440a8a1

Contents?: true

Size: 970 Bytes

Versions: 6

Compression:

Stored size: 970 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-bg-foreground",
              "dark:ariadne-bg-foreground-dark",
              "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

6 entries across 6 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.80.3 app/components/ariadne/form/checkbox/component.rb
ariadne_view_components-0.0.79.2 app/components/ariadne/form/checkbox/component.rb
ariadne_view_components-0.0.79.1 app/components/ariadne/form/checkbox/component.rb
ariadne_view_components-0.0.79 app/components/ariadne/form/checkbox/component.rb
ariadne_view_components-0.0.78 app/components/ariadne/form/checkbox/component.rb
ariadne_view_components-0.0.77 app/components/ariadne/form/checkbox/component.rb