package bonsai

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

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

@layer kado.devbar{
 *.devbar_hash_0875daaefa {
  --c1_hash_0875daaefa:var(--fst_hash_0875daaefa,#343434);
  --c2_hash_0875daaefa:var(--snd_hash_0875daaefa,#ff5700)
 }
 
 *.devbar_hash_0875daaefa.dark_hash_0875daaefa {
  --c1_hash_0875daaefa:var(--fst_hash_0875daaefa,#343434);
  --c2_hash_0875daaefa:var(--snd_hash_0875daaefa,rgb(254 88 88))
 }
 
 *.devbar_hash_0875daaefa {
  background:var(--c1_hash_0875daaefa);
  width:100%;
  max-width:100%;
  overflow:hidden;
  user-select:none
 }
 
 *.devbar_hash_0875daaefa div.background_hash_0875daaefa {
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:100%;
  background:repeating-linear-gradient(90deg,var(--c1_hash_0875daaefa),var(--c2_hash_0875daaefa) 0.5px,var(--c2_hash_0875daaefa) 4em,var(--c1_hash_0875daaefa) calc(4em + 0.5px),var(--c1_hash_0875daaefa) 8em);
  z-index:-1;
  transform:skew(30deg)
 }
 
 *.devbar_hash_0875daaefa div.container_hash_0875daaefa {
  width:max-content;
  display:flex;
  animation:marquee 5s linear infinite
 }
 
 *.devbar_hash_0875daaefa span {
  display:inline-flex;
  justify-content:center;
  min-width:4em;
  width:4em;
  font-weight:bold;
  letter-spacing:1px
 }
 
 *.devbar_hash_0875daaefa span {
  color:var(--c2_hash_0875daaefa)
 }
 
 *.devbar_hash_0875daaefa span:nth-child(even) {
  color:var(--c1_hash_0875daaefa)
 }
 
 @keyframes marquee{
  from {
   transform:translateX(0)
  }
  
  to {
   transform:translateX(-8em)
  }
  
 }
 
 
 *.devbar_hash_0875daaefa {
  font-size:0.7em
 }
 
}|}
  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 :
          ?c1:string ->
            ?c2:string ->
              ?fst:string -> ?snd:string -> unit -> Virtual_dom.Vdom.Attr.t
      end
      module For_referencing :
      sig
        val background : string
        val c1 : string
        val c2 : string
        val container : string
        val dark : string
        val devbar : string
        val fst : string
        val snd : string
      end
      val background : Virtual_dom.Vdom.Attr.t
      val container : Virtual_dom.Vdom.Attr.t
      val dark : Virtual_dom.Vdom.Attr.t
      val devbar : Virtual_dom.Vdom.Attr.t
    end
  type t = (module S)
  module Default : S =
    struct
      module Variables =
        struct
          let set ?c1  ?c2  ?fst  ?snd  () =
            let ppx_css_acc__001_ = [] in
            let ppx_css_acc__001_ =
              match c1 with
              | None -> ppx_css_acc__001_
              | Some ppx_css_value__002_ ->
                  ({|--c1_hash_0875daaefa|}, ppx_css_value__002_) ::
                  ppx_css_acc__001_ in
            let ppx_css_acc__001_ =
              match c2 with
              | None -> ppx_css_acc__001_
              | Some ppx_css_value__002_ ->
                  ({|--c2_hash_0875daaefa|}, ppx_css_value__002_) ::
                  ppx_css_acc__001_ in
            let ppx_css_acc__001_ =
              match fst with
              | None -> ppx_css_acc__001_
              | Some ppx_css_value__002_ ->
                  ({|--fst_hash_0875daaefa|}, ppx_css_value__002_) ::
                  ppx_css_acc__001_ in
            let ppx_css_acc__001_ =
              match snd with
              | None -> ppx_css_acc__001_
              | Some ppx_css_value__002_ ->
                  ({|--snd_hash_0875daaefa|}, 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 dark = {|dark_hash_0875daaefa|}
          let background = {|background_hash_0875daaefa|}
          let devbar = {|devbar_hash_0875daaefa|}
          let container = {|container_hash_0875daaefa|}
          let c1 = {|--c1_hash_0875daaefa|}
          let fst = {|--fst_hash_0875daaefa|}
          let c2 = {|--c2_hash_0875daaefa|}
          let snd = {|--snd_hash_0875daaefa|}
        end
      let dark = Virtual_dom.Vdom.Attr.class_ {|dark_hash_0875daaefa|}
      let background =
        Virtual_dom.Vdom.Attr.class_ {|background_hash_0875daaefa|}
      let devbar = Virtual_dom.Vdom.Attr.class_ {|devbar_hash_0875daaefa|}
      let container =
        Virtual_dom.Vdom.Attr.class_ {|container_hash_0875daaefa|}
    end 
  include Default
  let default : t = (module Default) end
OCaml

Innovation. Community. Security.