package bonsai

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file 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
include struct
  [@@@ocaml.warning "-32"]
  let () =
    Inline_css.Private.append
      {|
/* _none_ */

*.title_hash_37b29d1db1 {
 user-select:none;
 cursor:pointer;
 justify-content:flex-start;
 padding-left:0
}

*.no_padding_hash_37b29d1db1 {
 padding:0
}

*.title_open_hash_37b29d1db1 {
 border-bottom:1px solid var(--border_hash_37b29d1db1,black)
}

*.title_closed_hash_37b29d1db1 {
 
}

*.icon-container_hash_37b29d1db1 {
 width:fit-content;
 padding:1ex
}

*.icon_hash_37b29d1db1 {
 transition:transform 0.10s ease-in;
 width:1ex;
 height:1ex;
 border-color:var(--fg-text_hash_37b29d1db1,black);
 border-style:solid;
 border-width:0 0.25ex 0.25ex 0
}

*.accordion-open_hash_37b29d1db1 {
 transform:translate(0,-25%) rotateZ(45deg)
}

*.accordion-closed_hash_37b29d1db1 {
 transform:translate(-25%,0) rotateZ(-45deg)
}|}
  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 :
          ?border:string ->
            ?fg_text:string -> unit -> Virtual_dom.Vdom.Attr.t
      end
      module For_referencing :
      sig
        val accordion_closed : string
        val accordion_open : string
        val border : string
        val fg_text : string
        val icon : string
        val icon_container : string
        val no_padding : string
        val title : string
        val title_closed : string
        val title_open : string
      end
      val accordion_closed : Virtual_dom.Vdom.Attr.t
      val accordion_open : Virtual_dom.Vdom.Attr.t
      val icon : Virtual_dom.Vdom.Attr.t
      val icon_container : Virtual_dom.Vdom.Attr.t
      val no_padding : Virtual_dom.Vdom.Attr.t
      val title : Virtual_dom.Vdom.Attr.t
      val title_closed : Virtual_dom.Vdom.Attr.t
      val title_open : Virtual_dom.Vdom.Attr.t
    end
  type t = (module S)
  module Default : S =
    struct
      module Variables =
        struct
          let set ?border  ?fg_text  () =
            let 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_37b29d1db1|}, ppx_css_value__002_) ::
                  ppx_css_acc__001_ in
            let ppx_css_acc__001_ =
              match fg_text with
              | None -> ppx_css_acc__001_
              | Some ppx_css_value__002_ ->
                  ({|--fg-text_hash_37b29d1db1|}, 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 accordion_closed = {|accordion-closed_hash_37b29d1db1|}
          let title_open = {|title_open_hash_37b29d1db1|}
          let icon_container = {|icon-container_hash_37b29d1db1|}
          let accordion_open = {|accordion-open_hash_37b29d1db1|}
          let title_closed = {|title_closed_hash_37b29d1db1|}
          let title = {|title_hash_37b29d1db1|}
          let no_padding = {|no_padding_hash_37b29d1db1|}
          let icon = {|icon_hash_37b29d1db1|}
          let border = {|--border_hash_37b29d1db1|}
          let fg_text = {|--fg-text_hash_37b29d1db1|}
        end
      let accordion_closed =
        Virtual_dom.Vdom.Attr.class_ {|accordion-closed_hash_37b29d1db1|}
      let title_open =
        Virtual_dom.Vdom.Attr.class_ {|title_open_hash_37b29d1db1|}
      let icon_container =
        Virtual_dom.Vdom.Attr.class_ {|icon-container_hash_37b29d1db1|}
      let accordion_open =
        Virtual_dom.Vdom.Attr.class_ {|accordion-open_hash_37b29d1db1|}
      let title_closed =
        Virtual_dom.Vdom.Attr.class_ {|title_closed_hash_37b29d1db1|}
      let title = Virtual_dom.Vdom.Attr.class_ {|title_hash_37b29d1db1|}
      let no_padding =
        Virtual_dom.Vdom.Attr.class_ {|no_padding_hash_37b29d1db1|}
      let icon = Virtual_dom.Vdom.Attr.class_ {|icon_hash_37b29d1db1|}
    end 
  include Default
  let default : t = (module Default) end
OCaml

Innovation. Community. Security.