Liking cljdoc? Tell your friends :D

fireworks.state


configclj/s

source

config*clj/s

(config*)
source

debug-on-token?clj/s

source

fallbacksclj/s

source

formatting-form-to-be-evaled?clj/s

source

hexa-or-sgrclj/s

(hexa-or-sgr [k v])
source

highlightclj/s

source

highlight-styleclj/s

(highlight-style x)
source

highlight-style*clj/s

(highlight-style* {:keys [style pred]})
source

kv->css2clj/s

(kv->css2 [k v])
source

kv->sgrclj/s

(kv->sgr {:keys [color background-color font-style]})
source

line-height-cssclj/s

(line-height-css)
source

m->sgrclj/s

(m->sgr {fgc* :color bgc* :background-color font-style :font-style :as m})
source

map-valsclj/s

(map-vals f m)
source

merge-theme+clj/s

(merge-theme+ base theme)

Merges a theme (light or dark) with base theme (light or dark).

Hydrates style-maps into maps that are computationally easier for interop. This step removes the font-weight and font-style options for the terminal context, as they are not reliably supported across emulators.

This :constant example would be under [:tokens :classes], in a typical fireworks theme. {... {:constant {:color "#949494" :font-weight :bold :font-style :italic}} ...}

cljs => {... "color:#949494;font-weight:bold;font-style:italic;"}

clj => {... "[38;5;246m"}

Merges a theme (light or dark) with base theme (light or dark).

Hydrates style-maps into maps that are computationally easier
for interop. This step removes the font-weight and font-style
options for the terminal context, as they are not reliably supported
across emulators.

This :constant example would be under [:tokens :classes],
in a typical fireworks theme.
{...
    {:constant {:color       "#949494"
                :font-weight :bold
                :font-style  :italic}}
...}

cljs =>
{... "color:#949494;font-weight:bold;font-style:italic;"}

clj =>
{... ""}
sourceraw docstring

merged-themeclj/s

source

merged-theme*clj/s

(merged-theme*)
(merged-theme* reset)
source

merged-theme-with-unserialized-style-mapsclj/s

source

rainbow-levelclj/s

source

reset-token-debugging!clj/s

(reset-token-debugging! k)
source

sanitize-style-mapclj/s

(sanitize-style-map m)
source

serialize-style-mapsclj/s

(serialize-style-maps merged)
source

stylesclj/s

source

token-debugging-targetclj/s

source

top-level-value-is-sev?clj/s

source

user-configclj/s

source

user-opt-valclj/s

(user-opt-val k)
source

user-optionsclj/s

source

validatedclj/s

(validated k v {:keys [spec default]})
source

with-conformed-colorsclj/s

(with-conformed-colors {:keys [style-map theme-token from-custom-badge-style?]})

If :background-color is :transparent or "transparent", dissoc the entry. If :color or :background-color is named-html-color, convert to hex. If value is not valid named-html-color or hex, dissoc the entry.

If :background-color is :transparent or "transparent", dissoc the entry.
If :color or :background-color is named-html-color, convert to hex.
If value is not valid named-html-color or hex, dissoc the entry.
sourceraw docstring

with-line-heightclj/s

(with-line-height m)
source

x->sgrclj/s

(x->sgr x k)
source

xterm-id->sgrclj/s

(xterm-id->sgr n)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close