Skip to content

pantoken-root / formats/components/src / focusOutlineCss

関数: focusOutlineCss() ​

focusOutlineCss(options?): string

ベータ

focus-outline ブロックを構築します: --instui-focus-outline-* トークン定義とリングルールを含みます。 base.css に組み込まれており(そのためフォーカス可能要素は箱出しでリングを得ます)、他のレイヤー化された 出力(例: Pendo レンダラー)からは selector/tokenSelector オプション経由で再利用可能です。

パラメーター ​

options? ​

selector — フォーカス可能なセレクター; tokenSelector — トークン定義が配置される場所 (デフォルト :where(:root)).

selector? ​

string

tokenSelector? ​

string

戻り値 ​

string

CSS文字列。