OPEN_GRID API - v1.6.0
    Preparing search index...

    Function assertTypographyOnly

    • assertTypographyOnly — 타이포 델타가 색/형태/밀도/질감 토큰을 담지 않는지 검사(4축 대칭).

      assertColorOnly(ThemeMetaRegistry)·assertFormOnly(SkinRegistry)의 세 번째 대칭항이다. 각 축은 자기 이름공간만 낸다는 불변식 1 을 타이포 방향으로도 기계강제한다.

      assertTypographyOnly — rejects color/form/density/texture tokens in a typography delta.

      The third symmetric counterpart to assertColorOnly and assertFormOnly: invariant 1 (each axis emits only its own namespace) is now mechanically enforced in the typography direction too.

      assertTypographyOnly — タイポグラフィのデルタが色/形状/密度/質感のトークンを含まないかを検査します (4軸の対称)。

      assertColorOnly(ThemeMetaRegistry)・assertFormOnly(SkinRegistry)に続く3つめの対称項です。 各軸は自分の名前空間だけを出すという不変条件1を、タイポグラフィの方向でも機械的に強制します。

      assertTypographyOnly — 检查排版增量是否含有颜色/形状/密度/质感的令牌(4轴的对称)。

      它是 assertColorOnly(ThemeMetaRegistry)、assertFormOnly(SkinRegistry)之后的第三个对称项。 把「每个轴只发出自己的命名空间」这条不变式1,在排版方向上也机械强制。

      Parameters

      • id: string

        타이포 프리셋 id

        Typography preset id

        タイポグラフィプリセット id

        排版预设 id

      • delta: TokenDelta

        검사할 타이포 델타

        Typography delta to validate

        検査するタイポグラフィのデルタ

        要检查的排版增量

      Returns void

      이름공간 밖 토큰이 있으면 Error

      Throws if a token outside the namespace is present

      名前空間の外のトークンがあれば Error

      有命名空间之外的令牌时抛出 Error

      assertTypographyOnly('my-typo', { '--og-font-size': '12px' }); // throws — --og-font-size 는 density 소유