CSS / SCSS / Less
Auto detection identifies common SCSS and Less markers; you can override the syntax explicitly for ambiguous files.
Format CSS, SCSS and Less locally with token-level preservation, nesting-aware layout, custom-property protection, duplicate-declaration auditing and a fail-closed semantic guard.
Token preservation, duplicate declarations, protected regions and formatting determinism.
Export or import the exact style rules as JSON.
Auto detection identifies common SCSS and Less markers; you can override the syntax explicitly for ambiguous files.
Nested rules, @media, @supports, @container, @layer, keyframes and functional selectors remain token-preserved.
The value of --token: declarations is preserved internally because whitespace can matter after var() substitution.
Wrap generated or fragile regions in /* ofp-format-off */ and /* ofp-format-on */ to keep them byte-for-byte.
Duplicate declarations are surfaced for review without automatically reordering or deleting anything that could change the cascade.
Format many stylesheets and export one ZIP with a JSON manifest of guard results and detected languages.