7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/plutonium/ui/display/theme.rb', line 7
def self.theme
super.merge({
base: "",
value_wrapper: "max-h-[300px] overflow-y-auto",
fields_wrapper: "p-6 grid grid-cols-1 md:grid-cols-2 2xl:grid-cols-4 gap-6 gap-y-10 grid-flow-row-dense",
label: "text-base font-bold text-gray-500 dark:text-gray-400 mb-1",
description: "text-sm text-gray-400 dark:text-gray-500",
placeholder: "text-md text-gray-500 dark:text-gray-300 mb-1 italic",
string: "text-md text-gray-900 dark:text-white mb-1 whitespace-pre-line",
text: "text-md text-gray-900 dark:text-white mb-1 whitespace-pre-line",
link: "text-primary-600 dark:text-primary-500 whitespace-pre-line",
color: "flex items-center text-md text-gray-900 dark:text-white mb-1 whitespace-pre-line",
color_indicator: "w-10 h-10 rounded-full mr-2",
email: "flex items-center text-md text-primary-600 dark:text-primary-500 mb-1 whitespace-pre-line",
phone: "flex items-center text-md text-primary-600 dark:text-primary-500 mb-1 whitespace-pre-line",
json: "text-sm text-gray-900 dark:text-white mb-1 whitespace-pre font-mono shadow-inner p-4",
prefixed_icon: "w-8 h-8 mr-2",
markdown: "format dark:format-invert format-primary",
attachment_value_wrapper: "grid grid-cols-[repeat(auto-fill,minmax(0,180px))]",
phlexi_render: :string
})
end
|