Skip to content

Documentation / @finchart/core / StyleReader

Type Alias: StyleReader

StyleReader = (name) => string

Defined in: packages/core/src/render/style-reader.ts:8

스타일 키(--chart-*)를 원시 값 문자열로 바꾼다. 매체 중립 계약이다 — 코어는 값이 어디서 오는지 모른다. CSS는 @finchart/dom의 한 구현 (cssReader, 계산된 스타일)일 뿐이고, JS 테마 객체·서버 설정 등 (name) => string이면 무엇이든 로더가 된다. 해석은 항상 그리는 쪽 (plot/series)이 하고 렌더러는 결과만 받는다.

Parameters

name

string

Returns

string