Liking cljdoc? Tell your friends :D

fireworks.state


*debug-tagging?clj/s

source

*formatting-meta-levelclj/s

source

?sgrclj/s

(?sgr s)

For debugging of sgr code printing.

Prints the value with escaped sgr codes so you can read them in terminal emulators (otherwise text would just get colored).

Returns the value.

For debugging of sgr code printing.

Prints the value with escaped sgr codes so you can read them in terminal
emulators (otherwise text would just get colored).

Returns the value.
sourceraw docstring

?sgr-strclj/s

(?sgr-str s)
source

configclj/s

source

debug-config?clj/s

source

debug-tagging?clj/s

(debug-tagging?)
source

debug-theme?clj/s

source

disable-truecolor-debug-messageclj/s

(disable-truecolor-debug-message v)
source

enable-truecolor-debug-messageclj/s

(enable-truecolor-debug-message v)
source

fallback-themeclj/s

source

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

source

formatting-meta-levelclj/s

(formatting-meta-level)
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 path class] :as m})
source

kv->css2clj/s

(kv->css2 [k v])
source

kv->sgrclj/s

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

let-bindings?clj/s

source

line-height-cssclj/s

(line-height-css)
source

m->sgrclj/s

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

map-valsclj/s

(map-vals f m)
source

margin-inline-startclj/s

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-configclj/s

(merged-config)
source

merged-themeclj/s

source

merged-theme*clj/s

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

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

source

metadata-tokenclj/s

(metadata-token)
source

node?cljs

source

source

rainbow-levelclj/s

source

sanitize-style-mapclj/s

(sanitize-style-map m)
source

serialize-style-mapsclj/s

(serialize-style-maps merged)
source

stylesclj/s

source

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

source

underline-style-codes-by-styleclj/s

source

user-config-edn*clj/s

source

user-config-edn*-dynamicclj/s

(user-config-edn*-dynamic)
source

user-config-edn-dynamicclj/s

(user-config-edn-dynamic)
source

valid-user-themeclj/s

(valid-user-theme theme*)
source

validate-option-from-user-config-ednclj/s

(validate-option-from-user-config-edn k v {:keys [spec default]})
source

validate-option-from-user-config-edn-dynamicclj/s

(validate-option-from-user-config-edn-dynamic k
                                              v
                                              {:keys [spec default]}
                                              user-config-edn*)
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