Skip to content

Interface: IProfileCssCompileOptions ​

Defined in: profileCss.ts:54

Properties ​

PropertyTypeDescriptionDefined in
allowAnimations?booleanDrop animations, transitions and keyframes, for viewers who asked for less motion.profileCss.ts:61
lenient?booleanDrop invalid rules and declarations and keep the rest, as browsers do. Without it, any problem fails the whole stylesheet, which is what someone editing their CSS wants to hear about.profileCss.ts:69
maxBytes?numberRefuse CSS longer than this many UTF-8 bytes.profileCss.ts:63
scopestringIdentifies the element the CSS applies to: selectors are prefixed with [data-profile-scope="<scope>"]. Lowercase letters, digits and hyphens.profileCss.ts:59

Released under the GNU Affero General Public License v3.0.