2023-04-05

(sph lang plcss)

s-expression language that compiles to css.

part of sph-lib

library description

can also be used inline with other scheme code.

plcss: prefixed-list-css.

syntax

  css-style :: properties-key/value ...

  for css properties without selectors. use case: inline-styles in xml attributes

module name

(sph lang plcss)

exported bindings

syntax: css rules ...
syntax: css-style properties ...
procedure: plcss->css exprs port ->
(rule ...) port ->
procedure: plcss->css-string exprs ->
(rule ...) -> string
procedure: plcss-element-style->css-string a ->
variable: sph-lang-plcss-description