Source file cards_style__generated.ml
1
2
3
4
5
6
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
include struct
[@@@ocaml.warning "-32"]
let () =
Inline_css.Private.append
{|
/* _none_ */
@layer kado.card{
*.container_hash_2bed732cc1 {
border-radius:3px;
background:var(--bg_hash_2bed732cc1);
color:var(--fg_hash_2bed732cc1);
position:relative
}
*.fieldset_container_hash_2bed732cc1 {
padding:0 0.5em 0.25em 0.5em;
border:1px solid var(--border_hash_2bed732cc1)
}
*.fieldset_container_hash_2bed732cc1>legend {
line-height:1em
}
*.title-text_hash_2bed732cc1 {
font-weight:bold;
font-size:0.8em;
padding:0 0.5em;
min-height:1em
}
*:not(.card_legend_hash_2bed732cc1).title-text_hash_2bed732cc1 {
color:var(--title-fg_hash_2bed732cc1)
}
*.card_legend_hash_2bed732cc1.title-text_hash_2bed732cc1 {
color:var(--contrasting-fg-intent-color_hash_2bed732cc1)
}
*:not(.card_legend_hash_2bed732cc1).title-bar_hash_2bed732cc1 {
background:var(--title-bg_hash_2bed732cc1);
border:2px solid var(--title-border_hash_2bed732cc1);
border-top-left-radius:3px;
border-top-right-radius:3px
}
*.content_prominent_hash_2bed732cc1 {
padding:0.25em 0.5em;
border-bottom-left-radius:3px;
border-bottom-right-radius:3px;
border:1px solid var(--border_hash_2bed732cc1)
}
*.content_prominent_hash_2bed732cc1.no-title_hash_2bed732cc1 {
border-top-left-radius:3px;
border-top-right-radius:3px
}
*.content_prominent_hash_2bed732cc1.yes-title_hash_2bed732cc1 {
border-top:0
}
}|}
let (__type_info_for_ppx_css :
?rewrite:(string * string) list ->
?dont_hash:string list ->
?dont_hash_prefixes:string list -> string -> unit)
=
fun ?rewrite:_ ->
fun ?dont_hash:_ -> fun ?dont_hash_prefixes:_ -> fun _ -> ()
module type S =
sig
module Variables :
sig
val set :
?bg:string ->
?border:string ->
?contrasting_fg_intent_color:string ->
?fg:string ->
?title_bg:string ->
?title_border:string ->
?title_fg:string -> unit -> Virtual_dom.Vdom.Attr.t
end
module For_referencing :
sig
val bg : string
val border : string
val card_legend : string
val container : string
val content_prominent : string
val contrasting_fg_intent_color : string
val fg : string
val fieldset_container : string
val no_title : string
val title_bar : string
val title_bg : string
val title_border : string
val title_fg : string
val title_text : string
val yes_title : string
end
val card_legend : Virtual_dom.Vdom.Attr.t
val container : Virtual_dom.Vdom.Attr.t
val content_prominent : Virtual_dom.Vdom.Attr.t
val fieldset_container : Virtual_dom.Vdom.Attr.t
val no_title : Virtual_dom.Vdom.Attr.t
val title_bar : Virtual_dom.Vdom.Attr.t
val title_text : Virtual_dom.Vdom.Attr.t
val yes_title : Virtual_dom.Vdom.Attr.t
end
type t = (module S)
module Default : S =
struct
module Variables =
struct
let set ?bg ?border ?contrasting_fg_intent_color ?fg ?title_bg
?title_border ?title_fg () =
let ppx_css_acc__001_ = [] in
let ppx_css_acc__001_ =
match bg with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--bg_hash_2bed732cc1|}, ppx_css_value__002_) ::
ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match border with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--border_hash_2bed732cc1|}, ppx_css_value__002_) ::
ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match contrasting_fg_intent_color with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--contrasting-fg-intent-color_hash_2bed732cc1|},
ppx_css_value__002_)
:: ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match fg with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--fg_hash_2bed732cc1|}, ppx_css_value__002_) ::
ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match title_bg with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--title-bg_hash_2bed732cc1|}, ppx_css_value__002_) ::
ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match title_border with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--title-border_hash_2bed732cc1|}, ppx_css_value__002_)
:: ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match title_fg with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--title-fg_hash_2bed732cc1|}, ppx_css_value__002_) ::
ppx_css_acc__001_ in
Virtual_dom.Vdom.Attr.__css_vars_no_kebabs ppx_css_acc__001_
end
module For_referencing =
struct
let card_legend = {|card_legend_hash_2bed732cc1|}
let content_prominent = {|content_prominent_hash_2bed732cc1|}
let title_bar = {|title-bar_hash_2bed732cc1|}
let container = {|container_hash_2bed732cc1|}
let yes_title = {|yes-title_hash_2bed732cc1|}
let title_text = {|title-text_hash_2bed732cc1|}
let fieldset_container = {|fieldset_container_hash_2bed732cc1|}
let no_title = {|no-title_hash_2bed732cc1|}
let fg = {|--fg_hash_2bed732cc1|}
let contrasting_fg_intent_color =
{|--contrasting-fg-intent-color_hash_2bed732cc1|}
let bg = {|--bg_hash_2bed732cc1|}
let title_border = {|--title-border_hash_2bed732cc1|}
let border = {|--border_hash_2bed732cc1|}
let title_fg = {|--title-fg_hash_2bed732cc1|}
let title_bg = {|--title-bg_hash_2bed732cc1|}
end
let card_legend =
Virtual_dom.Vdom.Attr.class_ {|card_legend_hash_2bed732cc1|}
let content_prominent =
Virtual_dom.Vdom.Attr.class_ {|content_prominent_hash_2bed732cc1|}
let title_bar =
Virtual_dom.Vdom.Attr.class_ {|title-bar_hash_2bed732cc1|}
let container =
Virtual_dom.Vdom.Attr.class_ {|container_hash_2bed732cc1|}
let yes_title =
Virtual_dom.Vdom.Attr.class_ {|yes-title_hash_2bed732cc1|}
let title_text =
Virtual_dom.Vdom.Attr.class_ {|title-text_hash_2bed732cc1|}
let fieldset_container =
Virtual_dom.Vdom.Attr.class_ {|fieldset_container_hash_2bed732cc1|}
let no_title =
Virtual_dom.Vdom.Attr.class_ {|no-title_hash_2bed732cc1|}
end
include Default
let default : t = (module Default) end