Sha256: fd7f14e31b4763621e26cc83e1b3af24def2ca8035f80d53d3a7b846879888fe
Contents?: true
Size: 640 Bytes
Versions: 17
Compression:
Stored size: 640 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module UI module StatsPanel module Item class Component < Ariadne::BaseComponent option :theme, default: proc { :default } option :label style do base { ["text-number-lg-smb"] } variants do theme do default { [] } success { ["ariadne-text-emerald-600", "dark:ariadne-text-emerald-400"] } danger { ["ariadne-text-red-600", "dark:ariadne-text-red-400"] } end end end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems