Const
CSS stylesheet renderer of global at-rules.
It renders at-rules that should stay at the top level:
@namespace
@import
At-rule parameters are taken from root CSS rule properties and treated as following.
@import:url property value is treated as media query and appended after stylesheet URL. I.e.
@import:url
{ "@import:path/to/included.css": "screen"} Copy
{ "@import:path/to/included.css": "screen"}
becomes
@import url(path/to/included.css) screen; Copy
@import url(path/to/included.css) screen;
@namespace property value is treated as default namespace URL. I.e.
{ "@namespace": "http://www.w3.org/1999/xhtml"} Copy
{ "@namespace": "http://www.w3.org/1999/xhtml"}
@namespace url(http://www.w3.org/1999/xhtml); Copy
@namespace url(http://www.w3.org/1999/xhtml);
@namespace:prefix property value is treated as namespace URL with the given prefix. I.e
@namespace:prefix
{ "@namespace:svg": "http://www.w3.org/2000/svg"} Copy
{ "@namespace:svg": "http://www.w3.org/2000/svg"}
@namespace svg url(http://www.w3.org/2000/svg); Copy
@namespace svg url(http://www.w3.org/2000/svg);
Enabled by default in produceStyle function.
Generated using TypeDoc
CSS stylesheet renderer of global at-rules.
It renders at-rules that should stay at the top level:
@namespace
@import
At-rule parameters are taken from root CSS rule properties and treated as following.
@import:url
property value is treated as media query and appended after stylesheet URL. I.e.becomes
@namespace
property value is treated as default namespace URL. I.e.becomes
@namespace:prefix
property value is treated as namespace URL with the given prefix. I.ebecomes
Enabled by default in produceStyle function.