Sha256: a57dbd7517bf250c2abafe49f59ea42fa4028044067aeac22d549c1d851279b4
Contents?: true
Size: 828 Bytes
Versions: 29
Compression:
Stored size: 828 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module Layout module Narrow class Component < Ariadne::BaseComponent renders_one :footer, Ariadne::BaseComponent::ACCEPT_ANYTHING accepts_html_attributes do |html_attrs| html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([style(:container), html_attrs[:class]].join(" ")) end style(:container) do base do [ "ariadne-bg-background", "dark:ariadne-bg-background-dark", "ariadne-text-content", "dark:ariadne-text-content-dark", "ariadne-grow", "ariadne-h-screen", "ariadne-py-6", "ariadne-px-1", ] end end end end end end
Version data entries
29 entries across 29 versions & 1 rubygems