Sha256: 60824c67442ea9df066992a27bc725eb3cd59ca59ecd9c8863bceac07394cfbe

Contents?: true

Size: 677 Bytes

Versions: 4

Compression:

Stored size: 677 Bytes

Contents

# frozen_string_literal: true

module Plutonium
  module UI
    module Table
      class DisplayTheme < Phlexi::Table::DisplayTheme
        def self.theme
          super.merge({
            string: "max-h-[150px] overflow-y-auto",
            prefixed_icon: "w-4 h-4 mr-1",
            link: "text-primary-600 dark:text-primary-500",
            color: "flex items-center",
            color_indicator: "w-10 h-10 rounded-full mr-2",
            email: "flex items-center text-primary-600 dark:text-primary-500 whitespace-nowrap",
            json: "max-h-[150px] overflow-y-auto whitespace-pre font-mono shadow-inner p-4"
          })
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutonium-0.15.0 lib/plutonium/ui/table/display_theme.rb
plutonium-0.15.0.pre.rc3 lib/plutonium/ui/table/display_theme.rb
plutonium-0.15.0.pre.rc2 lib/plutonium/ui/table/display_theme.rb
plutonium-0.15.0.pre.rc1 lib/plutonium/ui/table/display_theme.rb