Documentation / @finchart/tools / DRAWING_STYLE_SPEC
Variable: DRAWING_STYLE_SPEC
constDRAWING_STYLE_SPEC:object
Defined in: tools/src/tools.ts:321
The CSS variables a drawing owns. A public export — a consumer needs to be able to read the defaults here, without opening the source (in line with core's DEFAULT_*_STYLE). Keeps the angle brackets inside backticks — outside them, the API-doc generator reads them as an HTML tag and the build breaks.
Type Declaration
color
readonlycolor:object
color.css
readonlycss:"--chart-drawing"="--chart-drawing"
color.fallback
readonlyfallback:"#6366f1"="#6366f1"
dashArray
readonlydashArray:object
dashArray.css
readonlycss:"--chart-drawing-dash"="--chart-drawing-dash"
dashArray.fallback
readonlyfallback:""=""
width
readonlywidth:object
width.css
readonlycss:"--chart-drawing-width"="--chart-drawing-width"
width.fallback
readonlyfallback:1.5=1.5