Skip to content

pantoken-root / formats/css/src / scopedSchemeCss

Mahi: scopedSchemeCss() ​

scopedSchemeCss(scheme): string

Beta

Ahu tae pouri (huri).

Ko color-scheme he rawa tuku iho noa, nō reira kotahi anake te ture kua tautuhia ki te āhuatanga scope (rānei tōna hoa kāwai) e whakatau ana i ia tohu light-dark() kei raro i a ia. Kāore e hiahiatia kia whakaitihia ngā tohu: he rua rau pea ngā bait tēnei pepa, ehara i te ~87kb ka pau mā tētahi ripanga whakakapi ia-tohu.

Ngā Tawhā ​

scheme ​

Scheme

Whakahokia ​

string