7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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-8 grid grid-cols-1 md:grid-cols-2 2xl:grid-cols-4 gap-x-8 gap-y-8 grid-flow-row-dense",
label: "text-sm font-semibold uppercase tracking-wide text-[var(--pu-text-muted)] mb-2",
description: "text-sm text-[var(--pu-text-subtle)]",
placeholder: "text-lg text-[var(--pu-text-subtle)] italic",
string: "text-lg text-[var(--pu-text)] whitespace-pre-line leading-relaxed",
text: "text-lg text-[var(--pu-text)] whitespace-pre-line leading-relaxed",
link: "text-lg text-primary-600 dark:text-primary-400 hover:text-primary-500 dark:hover:text-primary-300 whitespace-pre-line transition-colors",
color: "flex items-center text-lg text-[var(--pu-text)] whitespace-pre-line",
color_indicator: "w-10 h-10 rounded-lg mr-3 shadow-sm border border-[var(--pu-border)]",
email: "flex items-center gap-2 text-lg text-primary-600 dark:text-primary-400 hover:text-primary-500 transition-colors",
phone: "flex items-center gap-2 text-lg text-primary-600 dark:text-primary-400 hover:text-primary-500 transition-colors",
json: "text-sm text-[var(--pu-text)] whitespace-pre font-mono bg-[var(--pu-surface-alt)] border border-[var(--pu-border-muted)] rounded-[var(--pu-radius-md)] p-4 overflow-x-auto",
prefixed_icon: "w-6 h-6 mr-2 text-[var(--pu-text-muted)]",
markdown: "format dark:format-invert format-primary max-w-none",
attachment_value_wrapper: "grid grid-cols-[repeat(auto-fill,minmax(0,200px))] gap-4",
phlexi_render: :string
})
end
|