package styled-ppx

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type styleEncoding
type renderer = Js.Json.t
val injectRaw : string -> unit
val renderRaw : 'a -> string -> unit
val injectRawRules : Js.Json.t -> unit
val injectRules : Js.Json.t -> unit
val renderRules : 'a -> Js.Dict.key -> Js.Json.t -> unit
val mergeStyles : styleEncoding array -> styleEncoding
val make : Js.Json.t -> string
val makeAnimation : Js.Json.t Js.Dict.t -> string
val makeKeyframes : Js.Json.t Js.Dict.t -> string
val insertRule : string -> unit
val renderRule : 'a -> string -> unit
val global : Rule.rule array -> unit
val renderGlobal : 'a -> Js.Dict.key -> Rule.rule array -> unit
val style : Rule.rule array -> string
val merge : styleEncoding array -> styleEncoding
val framesToDict : (int * Rule.rule array) array -> Js.Json.t Js.Dict.t
val keyframes : (int * Rule.rule array) array -> Css_types.AnimationName.t
val renderKeyframes : 'a -> (int * Rule.rule array) array -> string
val fontFace : fontFamily:string -> src:[< `local of string | `url of string ] array -> ?fontStyle: [< `inherit_ | `initial | `italic | `normal | `oblique | `revert | `revertLayer | `unset | `var of string | `varDefault of string * string ] -> ?fontWeight: [< `black | `bold | `bolder | `extraBold | `extraLight | `inherit_ | `initial | `light | `lighter | `medium | `normal | `num of int | `revert | `revertLayer | `semiBold | `thin | `unset | `var of string | `varDefault of string * string ] -> ?fontDisplay: [< `auto | `block | `fallback | `inherit_ | `initial | `optional | `revert | `revertLayer | `swap | `unset | `var of string | `varDefault of string * string ] -> ?sizeAdjust:[< `percent of float ] -> unit -> string
OCaml

Innovation. Community. Security.