package bonsai
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library for building dynamic webapps, using Js_of_ocaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/src/bonsai.web_ui_view/card_style__generated.ml.html
Source file card_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 155include struct let () = Inline_css.Private.append {| /* _none_ */ @layer view.card{ *.container_hash_ced1df649c { border-radius:2px; border:1px solid var(--extreme-fg_hash_ced1df649c) } *.content_common_hash_ced1df649c { padding-left:0.25em; padding-right:0.25em; background:var(--extreme-bg_hash_ced1df649c); color:var(--extreme-fg_hash_ced1df649c) } *:not(.card_legend_hash_ced1df649c).title-text_hash_ced1df649c { color:var(--intent-fg_hash_ced1df649c); padding-left:0.5em; padding-right:0.25em } *.card_legend_hash_ced1df649c.title-text_hash_ced1df649c { color:var(--intent-fg_hash_ced1df649c); margin-left:0.25em } *:not(.card_legend_hash_ced1df649c).title-bar_hash_ced1df649c { background:var(--intent-bg_hash_ced1df649c); border-radius:2px } *.fieldset_container_hash_ced1df649c { padding:0 0.5em 0.25em 0.5em; border-radius:2px; border:1px solid var(--extreme-fg_hash_ced1df649c); padding-left:0px; padding-right:0px } *.fieldset_container_hash_ced1df649c>legend { line-height:1em } }|} [@@@ocaml.warning "-32"] 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 : ?extreme_bg:string -> ?extreme_fg:string -> ?intent_bg:string -> ?intent_fg:string -> unit -> Virtual_dom.Vdom.Attr.t val set_all : extreme_bg:string -> extreme_fg:string -> intent_bg:string -> intent_fg:string -> Virtual_dom.Vdom.Attr.t end module For_referencing : sig val card_legend : string val container : string val content_common : string val extreme_bg : string val extreme_fg : string val fieldset_container : string val intent_bg : string val intent_fg : string val title_bar : string val title_text : string end val card_legend : Virtual_dom.Vdom.Attr.t val container : Virtual_dom.Vdom.Attr.t val content_common : Virtual_dom.Vdom.Attr.t val fieldset_container : Virtual_dom.Vdom.Attr.t val title_bar : Virtual_dom.Vdom.Attr.t val title_text : Virtual_dom.Vdom.Attr.t end type t = (module S) module Default : S = struct module Variables = struct let ppx_css_variable_set__003_ ?extreme_bg ?extreme_fg ?intent_bg ?intent_fg () = let ppx_css_acc__001_ = [] in let ppx_css_acc__001_ = match extreme_bg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--extreme-bg_hash_ced1df649c|}, ppx_css_value__002_) :: ppx_css_acc__001_ in let ppx_css_acc__001_ = match extreme_fg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--extreme-fg_hash_ced1df649c|}, ppx_css_value__002_) :: ppx_css_acc__001_ in let ppx_css_acc__001_ = match intent_bg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--intent-bg_hash_ced1df649c|}, ppx_css_value__002_) :: ppx_css_acc__001_ in let ppx_css_acc__001_ = match intent_fg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--intent-fg_hash_ced1df649c|}, ppx_css_value__002_) :: ppx_css_acc__001_ in Virtual_dom.Vdom.Attr.__css_vars_no_kebabs ppx_css_acc__001_ let set = ppx_css_variable_set__003_ let set_all ~extreme_bg ~extreme_fg ~intent_bg ~intent_fg = ppx_css_variable_set__003_ () ~extreme_bg ~extreme_fg ~intent_bg ~intent_fg end module For_referencing = struct let card_legend = {|card_legend_hash_ced1df649c|} let content_common = {|content_common_hash_ced1df649c|} let title_bar = {|title-bar_hash_ced1df649c|} let container = {|container_hash_ced1df649c|} let title_text = {|title-text_hash_ced1df649c|} let fieldset_container = {|fieldset_container_hash_ced1df649c|} let intent_bg = {|--intent-bg_hash_ced1df649c|} let extreme_fg = {|--extreme-fg_hash_ced1df649c|} let extreme_bg = {|--extreme-bg_hash_ced1df649c|} let intent_fg = {|--intent-fg_hash_ced1df649c|} end let card_legend = Virtual_dom.Vdom.Attr.class_ {|card_legend_hash_ced1df649c|} let content_common = Virtual_dom.Vdom.Attr.class_ {|content_common_hash_ced1df649c|} let title_bar = Virtual_dom.Vdom.Attr.class_ {|title-bar_hash_ced1df649c|} let container = Virtual_dom.Vdom.Attr.class_ {|container_hash_ced1df649c|} let title_text = Virtual_dom.Vdom.Attr.class_ {|title-text_hash_ced1df649c|} let fieldset_container = Virtual_dom.Vdom.Attr.class_ {|fieldset_container_hash_ced1df649c|} end include Default let default : t = (module Default) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>